Specifies the fields required to create a checkout.
More...
|
const string | emailFieldKey = "email" |
|
const string | lineItemsFieldKey = "lineItems" |
|
const string | shippingAddressFieldKey = "shippingAddress" |
|
const string | noteFieldKey = "note" |
|
const string | customAttributesFieldKey = "customAttributes" |
|
const string | allowPartialAddressesFieldKey = "allowPartialAddresses" |
|
const string | presentmentCurrencyCodeFieldKey = "presentmentCurrencyCode" |
|
|
string | email [get, set] |
| The email with which the customer wants to checkout. More...
|
|
List< CheckoutLineItemInput > | lineItems [get, set] |
| A list of line item objects, each one containing information about an item in the checkout. More...
|
|
MailingAddressInput | shippingAddress [get, set] |
| The shipping address to where the line items will be shipped. More...
|
|
string | note [get, set] |
| The text of an optional note that a shop owner can attach to the checkout. More...
|
|
List< AttributeInput > | customAttributes [get, set] |
| A list of extra information that is added to the checkout. More...
|
|
bool? | allowPartialAddresses [get, set] |
| Allows setting partial addresses on a Checkout, skipping the full validation of attributes. The required attributes are city, province, and country. Full validation of addresses is still done at complete time. More...
|
|
CurrencyCode?? | presentmentCurrencyCode [get, set] |
| The three-letter currency code of one of the shop's enabled presentment currencies. Including this field creates a checkout in the specified currency. By default, new checkouts are created in the shop's primary currency. More...
|
|
|
void | Set (string key, object value) |
|
object | Get (string key) |
|
Specifies the fields required to create a checkout.
◆ CheckoutCreateInput() [1/2]
- Parameters
-
email | The email with which the customer wants to checkout. |
lineItems | A list of line item objects, each one containing information about an item in the checkout. |
shippingAddress | The shipping address to where the line items will be shipped. |
note | The text of an optional note that a shop owner can attach to the checkout. |
customAttributes | A list of extra information that is added to the checkout. |
allowPartialAddresses | Allows setting partial addresses on a Checkout, skipping the full validation of attributes. The required attributes are city, province, and country. Full validation of addresses is still done at complete time. |
presentmentCurrencyCode | The three-letter currency code of one of the shop's enabled presentment currencies. Including this field creates a checkout in the specified currency. By default, new checkouts are created in the shop's primary currency. |
◆ CheckoutCreateInput() [2/2]
Shopify.Unity.CheckoutCreateInput.CheckoutCreateInput |
( |
Dictionary< string, object > |
dataJSON | ) |
|
|
inline |
- Parameters
-
email | The email with which the customer wants to checkout. |
lineItems | A list of line item objects, each one containing information about an item in the checkout. |
shippingAddress | The shipping address to where the line items will be shipped. |
note | The text of an optional note that a shop owner can attach to the checkout. |
customAttributes | A list of extra information that is added to the checkout. |
allowPartialAddresses | Allows setting partial addresses on a Checkout, skipping the full validation of attributes. The required attributes are city, province, and country. Full validation of addresses is still done at complete time. |
presentmentCurrencyCode | The three-letter currency code of one of the shop's enabled presentment currencies. Including this field creates a checkout in the specified currency. By default, new checkouts are created in the shop's primary currency. |
◆ allowPartialAddresses
bool? Shopify.Unity.CheckoutCreateInput.allowPartialAddresses |
|
getset |
Allows setting partial addresses on a Checkout, skipping the full validation of attributes. The required attributes are city, province, and country. Full validation of addresses is still done at complete time.
◆ customAttributes
List<AttributeInput> Shopify.Unity.CheckoutCreateInput.customAttributes |
|
getset |
A list of extra information that is added to the checkout.
◆ email
string Shopify.Unity.CheckoutCreateInput.email |
|
getset |
The email with which the customer wants to checkout.
◆ lineItems
A list of line item objects, each one containing information about an item in the checkout.
◆ note
string Shopify.Unity.CheckoutCreateInput.note |
|
getset |
The text of an optional note that a shop owner can attach to the checkout.
◆ presentmentCurrencyCode
CurrencyCode?? Shopify.Unity.CheckoutCreateInput.presentmentCurrencyCode |
|
getset |
The three-letter currency code of one of the shop's enabled presentment currencies. Including this field creates a checkout in the specified currency. By default, new checkouts are created in the shop's primary currency.
◆ shippingAddress
The shipping address to where the line items will be shipped.
The documentation for this class was generated from the following file:
- Assets/Shopify/Unity/Generated/CheckoutCreateInput.cs