Shopify SDK for Unity
Public Member Functions | Static Public Attributes | Properties | List of all members
Shopify.Unity.MoneyInput Class Reference

Specifies the fields for a monetary value with currency. More...

Inheritance diagram for Shopify.Unity.MoneyInput:
Shopify.Unity.SDK.InputBase

Public Member Functions

 MoneyInput (decimal amount, CurrencyCode currencyCode)
 
 MoneyInput (Dictionary< string, object > dataJSON)
 
- Public Member Functions inherited from Shopify.Unity.SDK.InputBase
override string ToString ()
 Returns a string representing a GraphQL input object. More...
 

Static Public Attributes

const string amountFieldKey = "amount"
 
const string currencyCodeFieldKey = "currencyCode"
 

Properties

decimal amount [get, set]
 Decimal money amount. More...
 
CurrencyCode currencyCode [get, set]
 Currency of the money. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Shopify.Unity.SDK.InputBase
void Set (string key, object value)
 
object Get (string key)
 

Detailed Description

Specifies the fields for a monetary value with currency.

Constructor & Destructor Documentation

◆ MoneyInput() [1/2]

Shopify.Unity.MoneyInput.MoneyInput ( decimal  amount,
CurrencyCode  currencyCode 
)
inline
Parameters
amountDecimal money amount.
currencyCodeCurrency of the money.

◆ MoneyInput() [2/2]

Shopify.Unity.MoneyInput.MoneyInput ( Dictionary< string, object >  dataJSON)
inline
Parameters
amountDecimal money amount.
currencyCodeCurrency of the money.

Property Documentation

◆ amount

decimal Shopify.Unity.MoneyInput.amount
getset

Decimal money amount.

◆ currencyCode

CurrencyCode Shopify.Unity.MoneyInput.currencyCode
getset

Currency of the money.


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