Models
-
Represents an amount of money.
See moreDeclaration
Objective-C
@interface SQRDMoney : NSObject <NSCopying>
Swift
class SQRDMoney : NSObject, NSCopying
-
A list of currencies in ISO 4217 format.
Each numeric value corresponds to the ISO 4217 numeric code for that currency except
See more.unknown
and.automatic
.Declaration
Objective-C
enum SQRDCurrencyCode {}
-
Get the corresponding ISO 4217 currency code from a SQRDCurrencyCode.
Declaration
Objective-C
extern NSString *_Nonnull SQRDCurrencyCodeGetISOCurrencyCode( SQRDCurrencyCode currencyCode)
Parameters
currencyCode
A currency code. @returns The corresponding ISO 4217 currency code if
currencyCode
is not.unknown
or.automatic
. -
Make a SQRDCurrencyCode from an ISO 4217 currency code.
Declaration
Objective-C
extern SQRDCurrencyCode SQRDCurrencyCodeMake(NSString *_Nonnull ISOCurrencyCode)
Parameters
ISOCurrencyCode
An ISO 4217 currency code. @returns The corresponding SQRDCurrencyCode if
ISOCurrencyCode
is a valid ISO currency code; otherwise.unknown
.
-
Represents a Square location.
See moreDeclaration
Objective-C
@interface SQRDLocation : NSObject <NSCopying>
Swift
class SQRDLocation : NSObject, NSCopying
-
Represents the details related to a card payment.
See moreDeclaration
Objective-C
@interface SQRDTenderCardDetails : NSObject <NSCopying>
Swift
class SQRDTenderCardDetails : NSObject, NSCopying
-
The entry method used to provide a card’s details.
See moreDeclaration
Objective-C
enum SQRDTenderCardDetailsEntryMethod {}
Swift
enum SQRDTenderCardDetailsEntryMethod : Int
-
Represents the details related to a cash payment.
See moreDeclaration
Objective-C
@interface SQRDTenderCashDetails : NSObject <NSCopying>
Swift
class SQRDTenderCashDetails : NSObject, NSCopying
-
Represents the non-confidential details of a payment card.
See moreDeclaration
Objective-C
@interface SQRDCard : NSObject <NSCopying>
Swift
class SQRDCard : NSObject, NSCopying
-
Indicates a card’s brand, such as Visa.
See moreDeclaration
Objective-C
enum SQRDCardBrand {}
Swift
enum SQRDCardBrand : Int