|
Shopify SDK for Unity
|
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< CheckoutUserError > | UserErrors [get] |
| bool | IsSaved [get] |
| bool | IsCreated [get] |
| Checkout | CurrentCheckout [get] |
Internal state class for a Cart.