Shopify SDK for Unity
Public Member Functions | List of all members
Shopify.Unity.Payment Class Reference

A payment applied to a checkout. More...

Inheritance diagram for Shopify.Unity.Payment:
Shopify.Unity.SDK.AbstractResponse Shopify.Unity.Node

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
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]
 

Detailed Description

A payment applied to a checkout.

Constructor & Destructor Documentation

◆ Payment()

Shopify.Unity.Payment.Payment ( Dictionary< string, object >  dataJSON)
inline

Accepts deserialized json data. Will further parse passed in data.

Parameters
dataJSONDeserialized JSON data for Payment

Member Function Documentation

◆ amount()

decimal Shopify.Unity.Payment.amount ( )
inline

The amount of the payment.

Deprecated:
Use amountV2 instead

◆ amountV2()

MoneyV2 Shopify.Unity.Payment.amountV2 ( )
inline

The amount of the payment.

◆ billingAddress()

MailingAddress Shopify.Unity.Payment.billingAddress ( )
inline

The billing address for the payment.

◆ checkout()

Checkout Shopify.Unity.Payment.checkout ( )
inline

The checkout to which the payment belongs.

◆ creditCard()

CreditCard Shopify.Unity.Payment.creditCard ( )
inline

The credit card used for the payment in the case of direct payments.

◆ errorMessage()

string Shopify.Unity.Payment.errorMessage ( )
inline

A message describing a processing error during asynchronous processing.

◆ id()

string Shopify.Unity.Payment.id ( )
inline

Globally unique identifier.

Implements Shopify.Unity.Node.

◆ idempotencyKey()

string Shopify.Unity.Payment.idempotencyKey ( )
inline

A client-side generated token to identify a payment and perform idempotent operations.

◆ nextActionUrl()

string Shopify.Unity.Payment.nextActionUrl ( )
inline

The URL where the customer needs to be redirected so they can complete the 3D Secure payment flow.

◆ ready()

bool Shopify.Unity.Payment.ready ( )
inline

Whether or not the payment is still processing asynchronously.

◆ test()

bool Shopify.Unity.Payment.test ( )
inline

A flag to indicate if the payment is to be done in test mode for gateways that support it.

◆ transaction()

Transaction Shopify.Unity.Payment.transaction ( )
inline

The actual transaction recorded by Shopify after having processed the payment with the gateway.


The documentation for this class was generated from the following file: