Specifies the fields required to complete a checkout with a Shopify vaulted credit card payment.
More...
|
const string | amountFieldKey = "amount" |
|
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.
◆ CreditCardPaymentInput() [1/2]
Shopify.Unity.CreditCardPaymentInput.CreditCardPaymentInput |
( |
decimal |
amount, |
|
|
string |
idempotencyKey, |
|
|
MailingAddressInput |
billingAddress, |
|
|
string |
vaultId, |
|
|
bool? |
test = null |
|
) |
| |
|
inline |
- Parameters
-
amount | The amount 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 . |
◆ CreditCardPaymentInput() [2/2]
Shopify.Unity.CreditCardPaymentInput.CreditCardPaymentInput |
( |
Dictionary< string, object > |
dataJSON | ) |
|
|
inline |
- Parameters
-
amount | The amount 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 . |
◆ amount
decimal Shopify.Unity.CreditCardPaymentInput.amount |
|
getset |
The amount of the payment.
◆ billingAddress
The billing address for the payment.
◆ idempotencyKey
string Shopify.Unity.CreditCardPaymentInput.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.
◆ test
bool? Shopify.Unity.CreditCardPaymentInput.test |
|
getset |
Executes the payment in test mode if possible. Defaults to false
.
◆ vaultId
string Shopify.Unity.CreditCardPaymentInput.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/CreditCardPaymentInput.cs