BTAmericanExpressRewardsBalance

Objective-C

@interface BTAmericanExpressRewardsBalance : NSObject

Swift

class BTAmericanExpressRewardsBalance : NSObject

Contains information about an American Express rewards balance.

  • Optional. An error code when there was an issue fetching the rewards balance

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSString *errorCode;

    Swift

    var errorCode: String? { get set }
  • Optional. An error message when there was an issue fetching the rewards balance

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSString *errorMessage;

    Swift

    var errorMessage: String? { get set }
  • Optional. The conversion rate associated with the rewards balance

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSString *conversionRate;

    Swift

    var conversionRate: String? { get set }
  • Optional. The currency amount associated with the rewards balance

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSString *currencyAmount;

    Swift

    var currencyAmount: String? { get set }
  • Optional. The currency ISO code associated with the rewards balance

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSString *currencyIsoCode;

    Swift

    var currencyIsoCode: String? { get set }
  • Optional. The request ID used when fetching the rewards balance

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSString *requestID;

    Swift

    var requestID: String? { get set }
  • Optional. The rewards amount associated with the rewards balance

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSString *rewardsAmount;

    Swift

    var rewardsAmount: String? { get set }
  • Optional. The rewards unit associated with the rewards balance

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSString *rewardsUnit;

    Swift

    var rewardsUnit: String? { get set }
  • Initialize with JSON from Braintree

    Declaration

    Objective-C

    - (nonnull instancetype)initWithJSON:(nonnull BTJSON *)json;

    Swift

    init(json: BTJSON)