Shopify SDK for Unity
Public Member Functions | Properties | List of all members
Shopify.Unity.CartState Class Reference

Internal state class for a Cart. More...

Public Member Functions

 CartState (ShopifyClient client)
 
void Reset ()
 
decimal Subtotal ()
 
void SetShippingLine (string shippingRateHandle, CompletionCallback callback)
 
void SetEmailAddress (string email, CompletionCallback callback)
 
void SetShippingAddress (MailingAddressInput mailingAddressInput, CompletionCallback callback)
 
void SetFinalCheckoutFields (string email, ShippingFields? shippingFields, CompletionCallback callback)
 
void CheckoutSave (CompletionCallback callback)
 
void CheckoutWithTokenizedPaymentV2 (TokenizedPaymentInputV2 tokenizedPaymentInputV2, CompletionCallback callback)
 

Properties

CartLineItems LineItems [get]
 
List< CheckoutUserErrorUserErrors [get]
 
bool IsSaved [get]
 
bool IsCreated [get]
 
Checkout CurrentCheckout [get]
 

Detailed Description

Internal state class for a Cart.


The documentation for this class was generated from the following file: