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.

Property Summary 

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.

Constructor Summary 

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

Method Summary 

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.

Methods inherited from class Object 

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

Property Details 

addressLine1 

addressLine1: String (read-only)

Returns the address line 1.


addressLine2 

addressLine2: String (read-only)

Returns the address line 2.


adminArea1 

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 

adminArea2: String (read-only)

Returns the address city, town, or village.


countryCode 

countryCode: String (read-only)

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


fullName 

fullName: String (read-only)

Returns the address full name.


postalCode 

postalCode: String (read-only)

Returns the address postal code.


Method Details 

getAddressLine1() 

getAddressLine1(): String

Returns the address line 1.

Returns:

  • address line 1

getAddressLine2() 

getAddressLine2(): String

Returns the address line 2.

Returns:

  • address line 2

getAdminArea1() 

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() 

getAdminArea2(): String

Returns the address city, town, or village.

Returns:

  • address city, town, or village

getCountryCode() 

getCountryCode(): String

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

Returns:

  • address country code

getFullName() 

getFullName(): String

Returns the address full name.

Returns:

  • address full name

getPostalCode() 

getPostalCode(): String

Returns the address postal code.

Returns:

  • address postal code

DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!