Specifies the fields required to complete a checkout with a tokenized payment.
More...
|
|
const string | paymentAmountFieldKey = "paymentAmount" |
| |
|
const string | idempotencyKeyFieldKey = "idempotencyKey" |
| |
|
const string | billingAddressFieldKey = "billingAddress" |
| |
|
const string | paymentDataFieldKey = "paymentData" |
| |
|
const string | testFieldKey = "test" |
| |
|
const string | identifierFieldKey = "identifier" |
| |
|
const string | typeFieldKey = "type" |
| |
|
| MoneyInput | paymentAmount [get, set] |
| | The amount and currency of the payment. More...
|
| |
| string | idempotencyKey [get, set] |
| | A unique client generated key used to avoid duplicate charges. When a duplicate payment is found, the original is returned instead of creating a new one. More...
|
| |
| MailingAddressInput | billingAddress [get, set] |
| | The billing address for the payment. More...
|
| |
| string | paymentData [get, set] |
| | A simple string or JSON containing the required payment data for the tokenized payment. More...
|
| |
| bool? | test [get, set] |
| | Whether to execute the payment in test mode, if possible. Test mode is not supported in production stores. Defaults to false. More...
|
| |
| string | identifier [get, set] |
| | Public Hash Key used for AndroidPay payments only. More...
|
| |
| string | type [get, set] |
| | The type of payment token. More...
|
| |
|
|
void | Set (string key, object value) |
| |
|
object | Get (string key) |
| |
Specifies the fields required to complete a checkout with a tokenized payment.
◆ TokenizedPaymentInputV2() [1/2]
| Shopify.Unity.TokenizedPaymentInputV2.TokenizedPaymentInputV2 |
( |
MoneyInput |
paymentAmount, |
|
|
string |
idempotencyKey, |
|
|
MailingAddressInput |
billingAddress, |
|
|
string |
paymentData, |
|
|
string |
type, |
|
|
bool? |
test = null, |
|
|
string |
identifier = null |
|
) |
| |
|
inline |
- Parameters
-
| paymentAmount | The amount and currency of the payment. |
| idempotencyKey | A unique client generated key used to avoid duplicate charges. When a duplicate payment is found, the original is returned instead of creating a new one. |
| billingAddress | The billing address for the payment. |
| paymentData | A simple string or JSON containing the required payment data for the tokenized payment. |
| test | Whether to execute the payment in test mode, if possible. Test mode is not supported in production stores. Defaults to false. |
| identifier | Public Hash Key used for AndroidPay payments only. |
| type | The type of payment token. |
◆ TokenizedPaymentInputV2() [2/2]
| Shopify.Unity.TokenizedPaymentInputV2.TokenizedPaymentInputV2 |
( |
Dictionary< string, object > |
dataJSON | ) |
|
|
inline |
- Parameters
-
| paymentAmount | The amount and currency of the payment. |
| idempotencyKey | A unique client generated key used to avoid duplicate charges. When a duplicate payment is found, the original is returned instead of creating a new one. |
| billingAddress | The billing address for the payment. |
| paymentData | A simple string or JSON containing the required payment data for the tokenized payment. |
| test | Whether to execute the payment in test mode, if possible. Test mode is not supported in production stores. Defaults to false. |
| identifier | Public Hash Key used for AndroidPay payments only. |
| type | The type of payment token. |
◆ billingAddress
The billing address for the payment.
◆ idempotencyKey
| string Shopify.Unity.TokenizedPaymentInputV2.idempotencyKey |
|
getset |
A unique client generated key used to avoid duplicate charges. When a duplicate payment is found, the original is returned instead of creating a new one.
◆ identifier
| string Shopify.Unity.TokenizedPaymentInputV2.identifier |
|
getset |
Public Hash Key used for AndroidPay payments only.
◆ paymentAmount
| MoneyInput Shopify.Unity.TokenizedPaymentInputV2.paymentAmount |
|
getset |
The amount and currency of the payment.
◆ paymentData
| string Shopify.Unity.TokenizedPaymentInputV2.paymentData |
|
getset |
A simple string or JSON containing the required payment data for the tokenized payment.
◆ test
| bool? Shopify.Unity.TokenizedPaymentInputV2.test |
|
getset |
Whether to execute the payment in test mode, if possible. Test mode is not supported in production stores. Defaults to false.
◆ type
| string Shopify.Unity.TokenizedPaymentInputV2.type |
|
getset |
The type of payment token.
The documentation for this class was generated from the following file:
- Assets/Shopify/Unity/Generated/TokenizedPaymentInputV2.cs