OPPBillingAddress

@interface OPPBillingAddress : NSObject

Class to hold billing address of the customer.

  • The country of the billing address.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *country;

    Swift

    var country: String? { get }
  • The county, state or region of the billing address.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *state;

    Swift

    var state: String? { get }
  • The city of the billing address.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *city;

    Swift

    var city: String? { get }
  • The postal code or zip code of the billing address.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *postCode;

    Swift

    var postCode: String? { get }
  • The door number, floor, building number, building name, and/or street name of the billing address. Mandatory for 3D Secure v2.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *street1;

    Swift

    var street1: String? { get }
  • The adjoining road or locality (if required) of the billing address. The combination of street1 and street2 can’t contain numbers only, it should also include characters.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *street2;

    Swift

    var street2: String? { get }
  • A flag that specifies if country is required. Default is YES.

    Declaration

    Objective-C

    @property (nonatomic, readonly, getter=isCountryRequired) BOOL countryRequired;

    Swift

    var isCountryRequired: Bool { get }
  • A flag that specifies if state is required. Default is YES.

    Declaration

    Objective-C

    @property (nonatomic, readonly, getter=isStateRequired) BOOL stateRequired;

    Swift

    var isStateRequired: Bool { get }
  • A flag that specifies if city is required. Default is YES.

    Declaration

    Objective-C

    @property (nonatomic, readonly, getter=isCityRequired) BOOL cityRequired;

    Swift

    var isCityRequired: Bool { get }
  • A flag that specifies if post code is required. Default is YES.

    Declaration

    Objective-C

    @property (nonatomic, readonly, getter=isPostCodeRequired) BOOL postCodeRequired;

    Swift

    var isPostCodeRequired: Bool { get }
  • A flag that specifies if street1 is required. Default is YES.

    Declaration

    Objective-C

    @property (nonatomic, readonly, getter=isStreet1Required) BOOL street1Required;

    Swift

    var isStreet1Required: Bool { get }
  • A flag that specifies if street1 is required. Default is YES.

    Declaration

    Objective-C

    @property (nonatomic, readonly, getter=isStreet2Required) BOOL street2Required;

    Swift

    var isStreet2Required: Bool { get }