Partager via


ICart Interface

Definition

Encapsulates a customer cart behavior.

public interface ICart : Microsoft.Store.PartnerCenter.GenericOperations.IEntityGetOperations<Microsoft.Store.PartnerCenter.Models.Carts.Cart>, Microsoft.Store.PartnerCenter.GenericOperations.IEntityPutOperations<Microsoft.Store.PartnerCenter.Models.Carts.Cart>, Microsoft.Store.PartnerCenter.IPartnerComponent<Tuple<string,string>>
type ICart = interface
    interface IPartnerComponent<string * string>
    interface IEntityPutOperations<Cart>
    interface IEntityGetOperations<Cart>
Public Interface ICart
Implements IEntityGetOperations(Of Cart), IEntityPutOperations(Of Cart), IPartnerComponent(Of Tuple(Of String, String))
Implements

Properties

Context

Gets the component context object.

(Inherited from IPartnerComponent<TContext>)
Partner

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

(Inherited from IPartnerComponent<TContext>)

Methods

Checkout(String)

Checkouts the cart.

CheckoutAsync(String)

Asynchronously Checkouts the cart.

Get()

Retrieves an entity.

(Inherited from IEntityGetOperations<T>)
GetAsync()

Asynchronously retrieves an entity.

(Inherited from IEntityGetOperations<T>)
Put(T)

Updates an entity.

(Inherited from IEntityPutOperations<T>)
PutAsync(T)

Asynchronously updates an entity.

(Inherited from IEntityPutOperations<T>)

Applies to