Class SalesforcePayPalOrderPayer

<!-- prettier-ignore-start -->

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

Property Summary

Property Description
emailAddress: String (read-only) Returns the payer's email address.
givenName: String (read-only) Returns the payer's given name.
phone: String (read-only) Returns the payer's national phone number.
surname: String (read-only) Returns the payer's surname.

Constructor Summary

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

Method Summary

Method Description
getEmailAddress() Returns the payer's email address.
getGivenName() Returns the payer's given name.
getPhone() Returns the payer's national phone number.
getSurname() Returns the payer's surname.

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

emailAddress

  • emailAddress: String (read-only)
    • : Returns the payer's email address.

givenName

  • givenName: String (read-only)
    • : Returns the payer's given name.

phone

  • phone: String (read-only)
    • : Returns the payer's national phone number.

surname

  • surname: String (read-only)
    • : Returns the payer's surname.

Method Details

getEmailAddress()

  • getEmailAddress(): String
    • : Returns the payer's email address.

      Returns:

      • payer's email address

getGivenName()

  • getGivenName(): String
    • : Returns the payer's given name.

      Returns:

      • payer's given name

getPhone()

  • getPhone(): String
    • : Returns the payer's national phone number.

      Returns:

      • payer's national phone number

getSurname()

  • getSurname(): String
    • : Returns the payer's surname.

      Returns:

      • payer's surname

<!-- prettier-ignore-end -->