ShippingChangeAddress

@objc(PPCShippingChangeAddress)
@objcMembers
final class ShippingChangeAddress
extension ShippingChangeAddress : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSObjectProtocol

Undocumented

  • The ID of the shipping address

    Declaration

    Swift

    var addressID: String? { get }
  • The highest level sub-division in a country, which is usually a province, state, or ISO-3166-2 subdivision. Format for postal delivery. For example, CA and not California. Value, by country, is:

    • UK: A county.
    • US: A state.
    • Canada: A province.
    • Japan: A prefecture.
    • Switzerland: A kanton.

    Declaration

    Swift

    var adminArea1: String? { get }
  • The city, town, or village. Smaller than adminArea1.

    Declaration

    Swift

    var adminArea2: String? { get }
  • Undocumented

    Declaration

    Swift

    @available(*, deprecated, renamed: "adminArea2")
    var city: String? { get }
  • Undocumented

    Declaration

    Swift

    @available(*, deprecated, renamed: "countryCode")
    var country: String? { get }
  • The two-character ISO 3166-1 code that identifies the country or region. For more information, refer to: https://developer.paypal.com/api/rest/reference/country-codes/

    Declaration

    Swift

    var countryCode: String? { get }
  • Undocumented

    Declaration

    Swift

    init(addressID: String? = nil, adminArea1: String? = nil, adminArea2: String? = nil, postalCode: String? = nil, countryCode: String? = nil)
  • Undocumented

    Declaration

    Swift

    @available(*, deprecated, renamed: "init(addressID:adminArea1:adminArea2:postalCode:countryCode:﹚")
    init(addressID: String? = nil, fullName: String? = nil, city: String? = nil, state: String? = nil, postalCode: String? = nil, country: String? = nil)
  • The postal code, which is the zip code or equivalent. Typically required for countries with a postal code or an equivalent.

    Declaration

    Swift

    var postalCode: String? { get }
  • Undocumented

    Declaration

    Swift

    @available(*, deprecated, renamed: "adminArea1")
    var state: String? { get }