Shopify SDK for Unity
|
A container for all the information required to checkout items and pay. More...
Public Member Functions | |
Checkout (Dictionary< string, object > dataJSON) | |
Accepts deserialized json data. Will further parse passed in data. More... | |
List< AppliedGiftCard > | appliedGiftCards () |
The gift cards used on the checkout. More... | |
AvailableShippingRates | availableShippingRates () |
The available shipping rates for this Checkout. Should only be used when checkout requiresShipping is true and the shipping address is valid. More... | |
DateTime? | completedAt () |
The date and time when the checkout was completed. More... | |
DateTime? | createdAt () |
The date and time when the checkout was created. More... | |
CurrencyCode | currencyCode () |
The currency code for the Checkout. More... | |
List< Attribute > | customAttributes () |
A list of extra information that is added to the checkout. More... | |
Customer | customer () |
The customer associated with the checkout. More... | |
DiscountApplicationConnection | discountApplications (string alias=null) |
Discounts that have been applied on the checkout. More... | |
string | email () |
The email attached to this checkout. More... | |
string | id () |
Globally unique identifier. More... | |
CheckoutLineItemConnection | lineItems (string alias=null) |
A list of line item objects, each one containing information about an item in the checkout. More... | |
MoneyV2 | lineItemsSubtotalPrice () |
The sum of all the prices of all the items in the checkout. Duties, taxes, shipping and discounts excluded. More... | |
string | note () |
The note associated with the checkout. More... | |
Order | order () |
The resulting order from a paid checkout. More... | |
string | orderStatusUrl () |
The Order Status Page for this Checkout, null when checkout is not completed. More... | |
decimal | paymentDue () |
The amount left to be paid. This is equal to the cost of the line items, taxes and shipping minus discounts and gift cards. More... | |
MoneyV2 | paymentDueV2 () |
The amount left to be paid. This is equal to the cost of the line items, duties, taxes and shipping minus discounts and gift cards. More... | |
bool | ready () |
Whether or not the Checkout is ready and can be completed. Checkouts may have asynchronous operations that can take time to finish. If you want to complete a checkout or ensure all the fields are populated and up to date, polling is required until the value is true. More... | |
bool | requiresShipping () |
States whether or not the fulfillment requires shipping. More... | |
MailingAddress | shippingAddress () |
The shipping address to where the line items will be shipped. More... | |
List< DiscountAllocation > | shippingDiscountAllocations () |
The discounts that have been allocated onto the shipping line by discount applications. More... | |
ShippingRate | shippingLine () |
Once a shipping rate is selected by the customer it is transitioned to a shipping_line object. More... | |
decimal | subtotalPrice () |
Price of the checkout before shipping and taxes. More... | |
MoneyV2 | subtotalPriceV2 () |
Price of the checkout before duties, shipping and taxes. More... | |
bool | taxExempt () |
Specifies if the Checkout is tax exempt. More... | |
bool | taxesIncluded () |
Specifies if taxes are included in the line item and shipping line prices. More... | |
decimal | totalPrice () |
The sum of all the prices of all the items in the checkout, taxes and discounts included. More... | |
MoneyV2 | totalPriceV2 () |
The sum of all the prices of all the items in the checkout, duties, taxes and discounts included. More... | |
decimal | totalTax () |
The sum of all the taxes applied to the line items and shipping lines in the checkout. More... | |
MoneyV2 | totalTaxV2 () |
The sum of all the taxes applied to the line items and shipping lines in the checkout. More... | |
DateTime? | updatedAt () |
The date and time when the checkout was last updated. More... | |
string | webUrl () |
The url pointing to the checkout accessible from the web. More... | |
object | Clone () |
Additional Inherited Members | |
Protected Member Functions inherited from Shopify.Unity.SDK.AbstractResponse | |
T | Get< T > (string field, string alias=null) |
Protected Attributes inherited from Shopify.Unity.SDK.AbstractResponse | |
Dictionary< string, object > | Data |
Properties inherited from Shopify.Unity.SDK.AbstractResponse | |
Dictionary< string, object > | DataJSON [get, protected set] |
A container for all the information required to checkout items and pay.
|
inline |
Accepts deserialized json data. Will further parse passed in data.
dataJSON | Deserialized JSON data for Checkout |
|
inline |
The gift cards used on the checkout.
|
inline |
The available shipping rates for this Checkout. Should only be used when checkout requiresShipping
is true
and the shipping address is valid.
|
inline |
The date and time when the checkout was completed.
|
inline |
The date and time when the checkout was created.
|
inline |
The currency code for the Checkout.
|
inline |
A list of extra information that is added to the checkout.
|
inline |
The customer associated with the checkout.
customer
field on the query root to retrieve it.
|
inline |
Discounts that have been applied on the checkout.
alias | If the original field queried was queried using an alias, then pass the matching string. |
|
inline |
The email attached to this checkout.
|
inline |
Globally unique identifier.
Implements Shopify.Unity.Node.
|
inline |
A list of line item objects, each one containing information about an item in the checkout.
alias | If the original field queried was queried using an alias, then pass the matching string. |
|
inline |
The sum of all the prices of all the items in the checkout. Duties, taxes, shipping and discounts excluded.
|
inline |
The note associated with the checkout.
|
inline |
The resulting order from a paid checkout.
|
inline |
|
inline |
The amount left to be paid. This is equal to the cost of the line items, taxes and shipping minus discounts and gift cards.
paymentDueV2
instead
|
inline |
The amount left to be paid. This is equal to the cost of the line items, duties, taxes and shipping minus discounts and gift cards.
|
inline |
Whether or not the Checkout is ready and can be completed. Checkouts may have asynchronous operations that can take time to finish. If you want to complete a checkout or ensure all the fields are populated and up to date, polling is required until the value is true.
|
inline |
States whether or not the fulfillment requires shipping.
|
inline |
The shipping address to where the line items will be shipped.
|
inline |
The discounts that have been allocated onto the shipping line by discount applications.
|
inline |
Once a shipping rate is selected by the customer it is transitioned to a shipping_line
object.
|
inline |
Price of the checkout before shipping and taxes.
subtotalPriceV2
instead
|
inline |
Price of the checkout before duties, shipping and taxes.
|
inline |
Specifies if taxes are included in the line item and shipping line prices.
|
inline |
Specifies if the Checkout is tax exempt.
|
inline |
The sum of all the prices of all the items in the checkout, taxes and discounts included.
totalPriceV2
instead
|
inline |
The sum of all the prices of all the items in the checkout, duties, taxes and discounts included.
|
inline |
The sum of all the taxes applied to the line items and shipping lines in the checkout.
totalTaxV2
instead
|
inline |
The sum of all the taxes applied to the line items and shipping lines in the checkout.
|
inline |
The date and time when the checkout was last updated.
|
inline |
The url pointing to the checkout accessible from the web.