ShippingAddress

protocol ShippingAddress : PortableAddress

A protocol that defines the properties needed to describe a Shipping Address. It inherits all the properties defined in the PortableAddress protocol, and adds other properties such as the owner’s full name and some shipping-related flags.

  • A unique identifier for this address.

    Declaration

    Swift

    var addressID: String? { get }
  • A text displaying the full address.

    Declaration

    Swift

    var fullAddress: String { get }
  • The full name of the address owner.

    Declaration

    Swift

    var fullName: String? { get }
  • Is this the buyer’s default address?

    Declaration

    Swift

    var isDefault: Bool { get }
  • Is this address currently disabled?

    Declaration

    Swift

    var isDisabled: Bool { get }
  • Is this address invalid?

    Declaration

    Swift

    var isInvalid: Bool { get }
  • Is this the buyer’s primary address?

    Declaration

    Swift

    var isPrimary: Bool { get }
  • Is this address currently selected?

    Declaration

    Swift

    var isSelected: Bool { get }