OPPBillingAddress

@objc
public class OPPBillingAddress : NSObject, NSCopying

Class to hold billing address of the customer.

  • The country of the billing address.

    Declaration

    Swift

    @objc
    public internal(set) var country: String? { get }
  • The county, state or region of the billing address.

    Declaration

    Swift

    @objc
    public internal(set) var state: String? { get }
  • The city of the billing address.

    Declaration

    Swift

    @objc
    public internal(set) var city: String? { get }
  • The postal code or zip code of the billing address.

    Declaration

    Swift

    @objc
    public internal(set) 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

    Swift

    @objc
    public internal(set) 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

    Swift

    @objc
    public internal(set) var street2: String? { get }
  • A flag that specifies if country is required. Default is true.

    Declaration

    Swift

    @objc
    public internal(set) var isCountryRequired: Bool { get }
  • A flag that specifies if state is required. Default is true.

    Declaration

    Swift

    @objc
    public internal(set) var isStateRequired: Bool { get }
  • A flag that specifies if city is required. Default is true.

    Declaration

    Swift

    @objc
    public internal(set) var isCityRequired: Bool { get }
  • A flag that specifies if post code is required. Default is true.

    Declaration

    Swift

    @objc
    public internal(set) var isPostCodeRequired: Bool { get }
  • A flag that specifies if street1 is required. Default is true.

    Declaration

    Swift

    @objc
    public internal(set) var isStreet1Required: Bool { get }
  • A flag that specifies if street1 is required. Default is true.

    Declaration

    Swift

    @objc
    public internal(set) var isStreet2Required: Bool { get }