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

Credit card information used for a payment. More...

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

Public Member Functions

 CreditCard (Dictionary< string, object > dataJSON)
 Accepts deserialized json data. Will further parse passed in data. More...
 
string brand ()
 The brand of the credit card. More...
 
long? expiryMonth ()
 The expiry month of the credit card. More...
 
long? expiryYear ()
 The expiry year of the credit card. More...
 
string firstDigits ()
 The credit card's BIN number. More...
 
string firstName ()
 The first name of the card holder. More...
 
string lastDigits ()
 The last 4 digits of the credit card. More...
 
string lastName ()
 The last name of the card holder. More...
 
string maskedNumber ()
 The masked credit card number with only the last 4 digits displayed. 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

Credit card information used for a payment.

Constructor & Destructor Documentation

◆ CreditCard()

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

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

Parameters
dataJSONDeserialized JSON data for CreditCard

Member Function Documentation

◆ brand()

string Shopify.Unity.CreditCard.brand ( )
inline

The brand of the credit card.

◆ expiryMonth()

long? Shopify.Unity.CreditCard.expiryMonth ( )
inline

The expiry month of the credit card.

◆ expiryYear()

long? Shopify.Unity.CreditCard.expiryYear ( )
inline

The expiry year of the credit card.

◆ firstDigits()

string Shopify.Unity.CreditCard.firstDigits ( )
inline

The credit card's BIN number.

◆ firstName()

string Shopify.Unity.CreditCard.firstName ( )
inline

The first name of the card holder.

◆ lastDigits()

string Shopify.Unity.CreditCard.lastDigits ( )
inline

The last 4 digits of the credit card.

◆ lastName()

string Shopify.Unity.CreditCard.lastName ( )
inline

The last name of the card holder.

◆ maskedNumber()

string Shopify.Unity.CreditCard.maskedNumber ( )
inline

The masked credit card number with only the last 4 digits displayed.


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