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

Details about the gift card used on the checkout. More...

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

Public Member Functions

 AppliedGiftCard (Dictionary< string, object > dataJSON)
 Accepts deserialized json data. Will further parse passed in data. More...
 
decimal amountUsed ()
 The amount that was taken from the gift card by applying it. More...
 
MoneyV2 amountUsedV2 ()
 The amount that was taken from the gift card by applying it. More...
 
decimal balance ()
 The amount left on the gift card. More...
 
MoneyV2 balanceV2 ()
 The amount left on the gift card. More...
 
string id ()
 Globally unique identifier. More...
 
string lastCharacters ()
 The last characters of the gift card. More...
 
MoneyV2 presentmentAmountUsed ()
 The amount that was applied to the checkout in its currency. 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

Details about the gift card used on the checkout.

Constructor & Destructor Documentation

◆ AppliedGiftCard()

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

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

Parameters
dataJSONDeserialized JSON data for AppliedGiftCard

Member Function Documentation

◆ amountUsed()

decimal Shopify.Unity.AppliedGiftCard.amountUsed ( )
inline

The amount that was taken from the gift card by applying it.

Deprecated:
Use amountUsedV2 instead

◆ amountUsedV2()

MoneyV2 Shopify.Unity.AppliedGiftCard.amountUsedV2 ( )
inline

The amount that was taken from the gift card by applying it.

◆ balance()

decimal Shopify.Unity.AppliedGiftCard.balance ( )
inline

The amount left on the gift card.

Deprecated:
Use balanceV2 instead

◆ balanceV2()

MoneyV2 Shopify.Unity.AppliedGiftCard.balanceV2 ( )
inline

The amount left on the gift card.

◆ id()

string Shopify.Unity.AppliedGiftCard.id ( )
inline

Globally unique identifier.

Implements Shopify.Unity.Node.

◆ lastCharacters()

string Shopify.Unity.AppliedGiftCard.lastCharacters ( )
inline

The last characters of the gift card.

◆ presentmentAmountUsed()

MoneyV2 Shopify.Unity.AppliedGiftCard.presentmentAmountUsed ( )
inline

The amount that was applied to the checkout in its currency.


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