Class SalesforcePaymentsMerchantAccount
dw.extensions.payments
Class SalesforcePaymentsMerchantAccount
Object
dw.extensions.payments.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.
Properties
accountId  :  String  (Read Only)
The ID of the Salesforce Payments merchant account.
accountType  :  String  (Read Only)
The type of the Salesforce Payments merchant account and environment, such as "STRIPE_TEST" or "ADYEN_LIVE".
config  :  Object  (Read Only)
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 true if the account takes live payments, or false if it takes test payments.
vendor  :  String  (Read Only)
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
getAccountId() : String
Returns the ID of the Salesforce Payments merchant account.
getAccountType() : String
Returns the type of the Salesforce Payments merchant account and environment, such as "STRIPE_TEST" or "ADYEN_LIVE".
getConfig() : Object
Returns an opaque configuration object containing gateway-specific information.
getVendor() : String
Returns the name of the gateway vendor, such as "Stripe" or "Adyen".
isLive() : boolean
Returns true if the account takes live payments, or false if it takes test payments.
Method Detail
getAccountId
getAccountId() : String
Returns the ID of the Salesforce Payments merchant account.
Returns:
merchant account ID

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

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