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 | Description |
|---|---|
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". |
This class does not have a constructor, so you cannot create it directly.
| Method | Description |
|---|---|
| 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. |
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
- accountId: String
(read-only) Returns the ID of the Salesforce Payments merchant account.
See Also:
- 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: 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: Boolean
(read-only) Returns
trueif the account takes live payments, orfalseif it takes test payments.
- vendor: String
(read-only) Returns the name of the gateway vendor, such as
"Stripe"or"Adyen".
- getAccountId(): String
Returns the ID of the Salesforce Payments merchant account.
Returns:
- merchant account ID
See Also:
- 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(): 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(): String
Returns the name of the gateway vendor, such as
"Stripe"or"Adyen".Returns:
- gateway vendor name
- isLive(): Boolean
Returns
trueif the account takes live payments, orfalseif it takes test payments.Returns:
trueif the account takes live payments