Class SalesforcePaymentsMerchantAccountPaymentMethod

Contains information about a payment method to be presented to a payer, as configured for a Salesforce Payments merchant account. See Salesforce Payments documentation for how to gain access and configure it for use on your sites.

Property Summary 

PropertyDescription
merchantAccount: SalesforcePaymentsMerchantAccount (read-only)Returns the merchant account configured for this payment method.
paymentMethodType: String (read-only)Returns the constant indicating the type of payment method to be presented, such as SalesforcePaymentMethod.TYPE_CARD.
paymentModes: Collection (read-only)Returns a collection containing the payment modes for which this payment method is to be presented, such as "Express".

Constructor Summary 

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

Method Summary 

MethodDescription
getMerchantAccount()Returns the merchant account configured for this payment method.
getPaymentMethodType()Returns the constant indicating the type of payment method to be presented, such as SalesforcePaymentMethod.TYPE_CARD.
getPaymentModes()Returns a collection containing the payment modes for which this payment method is to be presented, such as "Express".

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 

merchantAccount 

merchantAccount: SalesforcePaymentsMerchantAccount (read-only)

Returns the merchant account configured for this payment method.


paymentMethodType 

paymentMethodType: String (read-only)

Returns the constant indicating the type of payment method to be presented, such as SalesforcePaymentMethod.TYPE_CARD.


paymentModes 

paymentModes: Collection (read-only)

Returns a collection containing the payment modes for which this payment method is to be presented, such as "Express".


Method Details 

getMerchantAccount() 

getMerchantAccount(): SalesforcePaymentsMerchantAccount

Returns the merchant account configured for this payment method.

Returns:

  • merchant account

getPaymentMethodType() 

getPaymentMethodType(): String

Returns the constant indicating the type of payment method to be presented, such as SalesforcePaymentMethod.TYPE_CARD.

Returns:

  • payment method type

getPaymentModes() 

getPaymentModes(): Collection

Returns a collection containing the payment modes for which this payment method is to be presented, such as "Express".

Returns:

  • collection of payment modes

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