Shopify SDK for Unity
|
A payment applied to a checkout. More...
Public Member Functions | |
Payment (Dictionary< string, object > dataJSON) | |
Accepts deserialized json data. Will further parse passed in data. More... | |
decimal | amount () |
The amount of the payment. More... | |
MoneyV2 | amountV2 () |
The amount of the payment. More... | |
MailingAddress | billingAddress () |
The billing address for the payment. More... | |
Checkout | checkout () |
The checkout to which the payment belongs. More... | |
CreditCard | creditCard () |
The credit card used for the payment in the case of direct payments. More... | |
string | errorMessage () |
A message describing a processing error during asynchronous processing. More... | |
string | id () |
Globally unique identifier. More... | |
string | idempotencyKey () |
A client-side generated token to identify a payment and perform idempotent operations. More... | |
string | nextActionUrl () |
The URL where the customer needs to be redirected so they can complete the 3D Secure payment flow. More... | |
bool | ready () |
Whether or not the payment is still processing asynchronously. More... | |
bool | test () |
A flag to indicate if the payment is to be done in test mode for gateways that support it. More... | |
Transaction | transaction () |
The actual transaction recorded by Shopify after having processed the payment with the gateway. 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 payment applied to a checkout.
|
inline |
Accepts deserialized json data. Will further parse passed in data.
dataJSON | Deserialized JSON data for Payment |
|
inline |
The amount of the payment.
amountV2
instead
|
inline |
The amount of the payment.
|
inline |
The billing address for the payment.
|
inline |
The checkout to which the payment belongs.
|
inline |
The credit card used for the payment in the case of direct payments.
|
inline |
A message describing a processing error during asynchronous processing.
|
inline |
Globally unique identifier.
Implements Shopify.Unity.Node.
|
inline |
A client-side generated token to identify a payment and perform idempotent operations.
|
inline |
The URL where the customer needs to be redirected so they can complete the 3D Secure payment flow.
|
inline |
Whether or not the payment is still processing asynchronously.
|
inline |
A flag to indicate if the payment is to be done in test mode for gateways that support it.
|
inline |
The actual transaction recorded by Shopify after having processed the payment with the gateway.