Class SalesforcePayPalOrderAddress

Salesforce Payments representation of a PayPal order address object. See Salesforce Payments documentation for how to gain access and configure it for use on your sites.

PropertyDescription
addressLine1: String (read-only)Returns the address line 1.
addressLine2: String (read-only)Returns the address line 2.
adminArea1: String (read-only)Returns the address highest level sub-division in a country, which is usually a province, state, or ISO-3166-2 subdivision.
adminArea2: String (read-only)Returns the address city, town, or village.
countryCode: String (read-only)Returns the address two-character ISO 3166-1 code that identifies the country or region.
fullName: String (read-only)Returns the address full name.
postalCode: String (read-only)Returns the address postal code.

This class does not have a constructor, so you cannot create it directly.

MethodDescription
getAddressLine1()Returns the address line 1.
getAddressLine2()Returns the address line 2.
getAdminArea1()Returns the address highest level sub-division in a country, which is usually a province, state, or ISO-3166-2 subdivision.
getAdminArea2()Returns the address city, town, or village.
getCountryCode()Returns the address two-character ISO 3166-1 code that identifies the country or region.
getFullName()Returns the address full name.
getPostalCode()Returns the address postal code.

assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values

addressLine1: String (read-only)

Returns the address line 1.


addressLine2: String (read-only)

Returns the address line 2.


adminArea1: String (read-only)

Returns the address highest level sub-division in a country, which is usually a province, state, or ISO-3166-2 subdivision.


adminArea2: String (read-only)

Returns the address city, town, or village.


countryCode: String (read-only)

Returns the address two-character ISO 3166-1 code that identifies the country or region.


fullName: String (read-only)

Returns the address full name.


postalCode: String (read-only)

Returns the address postal code.


getAddressLine1(): String

Returns the address line 1.

Returns:

  • address line 1

getAddressLine2(): String

Returns the address line 2.

Returns:

  • address line 2

getAdminArea1(): String

Returns the address highest level sub-division in a country, which is usually a province, state, or ISO-3166-2 subdivision.

Returns:

  • address highest level sub-division in a country, such as a state

getAdminArea2(): String

Returns the address city, town, or village.

Returns:

  • address city, town, or village

getCountryCode(): String

Returns the address two-character ISO 3166-1 code that identifies the country or region.

Returns:

  • address country code

getFullName(): String

Returns the address full name.

Returns:

  • address full name

getPostalCode(): String

Returns the address postal code.

Returns:

  • address postal code