Share via


ICartCollection Interface

Definition

Encapsulates a customer cart behavior.

public interface ICartCollection : Microsoft.Store.PartnerCenter.GenericOperations.IEntityCreateOperations<Microsoft.Store.PartnerCenter.Models.Carts.Cart,Microsoft.Store.PartnerCenter.Models.Carts.Cart>, Microsoft.Store.PartnerCenter.GenericOperations.IEntityCreateOperations<Microsoft.Store.PartnerCenter.Models.Carts.Cart>, Microsoft.Store.PartnerCenter.GenericOperations.IEntitySelector<Microsoft.Store.PartnerCenter.Carts.ICart>, Microsoft.Store.PartnerCenter.IPartnerComponent, Microsoft.Store.PartnerCenter.IPartnerComponent<string>
type ICartCollection = interface
    interface IPartnerComponent
    interface IPartnerComponent<string>
    interface IEntityCreateOperations<Cart>
    interface IEntityCreateOperations<Cart, Cart>
    interface IEntitySelector<ICart>
Public Interface ICartCollection
Implements IEntityCreateOperations(Of Cart), IEntityCreateOperations(Of Cart, Cart), IEntitySelector(Of ICart), IPartnerComponent, IPartnerComponent(Of String)
Implements

Properties

Context

Gets the component context object.

(Inherited from IPartnerComponent<TContext>)
Item[String]

Gets a specific cart behavior.

Partner

Gets a reference to the partner operations instance that generated this component.

(Inherited from IPartnerComponent<TContext>)

Methods

ById(String)

Obtains a specific cart behavior.

Create(Cart)

Creates a new cart for customer

Create(T)

Creates a new entity.

(Inherited from IEntityCreateOperations<T,T1>)
CreateAsync(Cart)

Asynchronously creates a new cart.

CreateAsync(T)

Asynchronously creates a new entity.

(Inherited from IEntityCreateOperations<T,T1>)

Applies to