Class SalesforcePaymentsMerchantAccount

Contains information about a merchant account configured for use with Salesforce Payments. See Salesforce Payments documentation for how to gain access and configure it for use on your sites.

Property Summary 

PropertyDescription
accountId: String (read-only)Returns the ID of the Salesforce Payments merchant account.
accountType: String (read-only)Returns the type of the Salesforce Payments merchant account and environment, such as "STRIPE_TEST" or "ADYEN_LIVE".
config: Object (read-only)Returns an opaque configuration object containing gateway-specific information.
live: Boolean (read-only)Returns true if the account takes live payments, or false if it takes test payments.
vendor: String (read-only)Returns the name of the gateway vendor, such as "Stripe" or "Adyen".

Constructor Summary 

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

Method Summary 

MethodDescription
getAccountId()Returns the ID of the Salesforce Payments merchant account.
getAccountType()Returns the type of the Salesforce Payments merchant account and environment, such as "STRIPE_TEST" or "ADYEN_LIVE".
getConfig()Returns an opaque configuration object containing gateway-specific information.
getVendor()Returns the name of the gateway vendor, such as "Stripe" or "Adyen".
isLive()Returns true if the account takes live payments, or false if it takes test payments.

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 

accountId 

accountId: String (read-only)

Returns the ID of the Salesforce Payments merchant account.

See Also:


accountType 

accountType: String (read-only)

Returns the type of the Salesforce Payments merchant account and environment, such as "STRIPE_TEST" or "ADYEN_LIVE".

See Also:


config 

config: Object (read-only)

Returns an opaque configuration object containing gateway-specific information. Do not depend on the structure or contents of this object as they may change at any time.


live 

live: Boolean (read-only)

Returns true if the account takes live payments, or false if it takes test payments.


vendor 

vendor: String (read-only)

Returns the name of the gateway vendor, such as "Stripe" or "Adyen".


Method Details 

getAccountId() 

getAccountId(): String

Returns the ID of the Salesforce Payments merchant account.

Returns:

  • merchant account ID

See Also:


getAccountType() 

getAccountType(): String

Returns the type of the Salesforce Payments merchant account and environment, such as "STRIPE_TEST" or "ADYEN_LIVE".

Returns:

  • merchant account type

See Also:


getConfig() 

getConfig(): Object

Returns an opaque configuration object containing gateway-specific information. Do not depend on the structure or contents of this object as they may change at any time.

Returns:

  • opaque configuration object

getVendor() 

getVendor(): String

Returns the name of the gateway vendor, such as "Stripe" or "Adyen".

Returns:

  • gateway vendor name

isLive() 

isLive(): Boolean

Returns true if the account takes live payments, or false if it takes test payments.

Returns:

  • true if the account takes live payments

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