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

An object representing exchange of money for a product or service. More...

Inheritance diagram for Shopify.Unity.Transaction:
Shopify.Unity.SDK.AbstractResponse

Public Member Functions

 Transaction (Dictionary< string, object > dataJSON)
 Accepts deserialized json data. Will further parse passed in data. More...
 
decimal amount ()
 The amount of money that the transaction was for. More...
 
MoneyV2 amountV2 ()
 The amount of money that the transaction was for. More...
 
TransactionKind kind ()
 The kind of the transaction. More...
 
TransactionStatus status ()
 The status of the transaction. More...
 
TransactionStatusstatusV2 ()
 The status of the transaction. More...
 
bool test ()
 Whether the transaction was done in test mode or not. 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

An object representing exchange of money for a product or service.

Constructor & Destructor Documentation

◆ Transaction()

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

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

Parameters
dataJSONDeserialized JSON data for Transaction

Member Function Documentation

◆ amount()

decimal Shopify.Unity.Transaction.amount ( )
inline

The amount of money that the transaction was for.

Deprecated:
Use amountV2 instead

◆ amountV2()

MoneyV2 Shopify.Unity.Transaction.amountV2 ( )
inline

The amount of money that the transaction was for.

◆ kind()

TransactionKind Shopify.Unity.Transaction.kind ( )
inline

The kind of the transaction.

◆ status()

TransactionStatus Shopify.Unity.Transaction.status ( )
inline

The status of the transaction.

Deprecated:
Use statusV2 instead

◆ statusV2()

TransactionStatus? Shopify.Unity.Transaction.statusV2 ( )
inline

The status of the transaction.

◆ test()

bool Shopify.Unity.Transaction.test ( )
inline

Whether the transaction was done in test mode or not.


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