Specifies the fields required to complete a checkout with a Shopify vaulted credit card payment.
More...
|
const string | paymentAmountFieldKey = "paymentAmount" |
|
const string | idempotencyKeyFieldKey = "idempotencyKey" |
|
const string | billingAddressFieldKey = "billingAddress" |
|
const string | vaultIdFieldKey = "vaultId" |
|
const string | testFieldKey = "test" |
|
|
void | Set (string key, object value) |
|
object | Get (string key) |
|
Specifies the fields required to complete a checkout with a Shopify vaulted credit card payment.
◆ CreditCardPaymentInputV2() [1/2]
Shopify.Unity.CreditCardPaymentInputV2.CreditCardPaymentInputV2 |
( |
MoneyInput |
paymentAmount, |
|
|
string |
idempotencyKey, |
|
|
MailingAddressInput |
billingAddress, |
|
|
string |
vaultId, |
|
|
bool? |
test = 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. |
vaultId | The ID returned by Shopify's Card Vault. |
test | Executes the payment in test mode if possible. Defaults to false . |
◆ CreditCardPaymentInputV2() [2/2]
Shopify.Unity.CreditCardPaymentInputV2.CreditCardPaymentInputV2 |
( |
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. |
vaultId | The ID returned by Shopify's Card Vault. |
test | Executes the payment in test mode if possible. Defaults to false . |
◆ billingAddress
The billing address for the payment.
◆ idempotencyKey
string Shopify.Unity.CreditCardPaymentInputV2.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.
◆ paymentAmount
MoneyInput Shopify.Unity.CreditCardPaymentInputV2.paymentAmount |
|
getset |
The amount and currency of the payment.
◆ test
bool? Shopify.Unity.CreditCardPaymentInputV2.test |
|
getset |
Executes the payment in test mode if possible. Defaults to false
.
◆ vaultId
string Shopify.Unity.CreditCardPaymentInputV2.vaultId |
|
getset |
The ID returned by Shopify's Card Vault.
The documentation for this class was generated from the following file:
- Assets/Shopify/Unity/Generated/CreditCardPaymentInputV2.cs