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.

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".

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

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".

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

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".


getMerchantAccount(): SalesforcePaymentsMerchantAccount

Returns the merchant account configured for this payment method.

Returns:

  • merchant account

getPaymentMethodType(): String

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

Returns:

  • payment method type

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