SQIPMoney

@interface SQIPMoney : NSObject

Value that will charge the card payment source ID with amount in the specified SQIPCurrency

  • The amount of money in the smallest denomination of the currency. For example, when currencyCode is .usd, the amount is in cents.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger amount;
  • The currency code.

    Declaration

    Objective-C

    @property (nonatomic, readonly) SQIPCurrency currency;
  • Creates a new money object.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithAmount:(NSInteger)amount
                                  currency:(SQIPCurrency)currency;

    Parameters

    amount

    Amount of money that will be charged (i.e 100 in USD will be $1.00)

    currency

    The currency the payment source ID will be charged in.