Script: Class dw.extensions.SalesforcePaymentsSiteConfiguration

Class SalesforcePaymentsSiteConfiguration

  • Object
    • dw.extensions.payments.SalesforcePaymentsSiteConfiguration

Salesforce Payments representation of a payment site configuration object. See Salesforce Payments documentation for how to gain access and configure it for use on your sites.

A payment site configuration contains information about the configuration of the site such as whether the site is activated with Express Checkout, Multi-Step Checkout or both.

Properties

cardCaptureAutomatic : boolean Read Only

Returns true if the capture method is set to automatic for credit card Payment Intents created for this site, or false if the capture method is set to manual.

expressCheckoutEnabled : boolean Read Only

Returns true if Express Checkout is enabled for the site.

multiStepCheckoutEnabled : boolean Read Only

Returns true if Multi-Step Checkout is enabled for the site.

Constructor Summary

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

Method Summary

isCardCaptureAutomatic() : boolean

Returns true if the capture method is set to automatic for credit card Payment Intents created for this site, or false if the capture method is set to manual.

isExpressCheckoutEnabled() : boolean

Returns true if Express Checkout is enabled for the site.

isMultiStepCheckoutEnabled() : boolean

Returns true if Multi-Step Checkout is enabled for the site.

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

Method Detail

isCardCaptureAutomatic

isCardCaptureAutomatic() : boolean

Returns true if the capture method is set to automatic for credit card Payment Intents created for this site, or false if the capture method is set to manual.

Returns:

true if the credit card capture method is automatic, or false if it is manual

isExpressCheckoutEnabled

isExpressCheckoutEnabled() : boolean

Returns true if Express Checkout is enabled for the site.

Returns:

true if Express Checkout is enabled for the site, or false if not


isMultiStepCheckoutEnabled

isMultiStepCheckoutEnabled() : boolean

Returns true if Multi-Step Checkout is enabled for the site.

Returns:

true if Multi-Step Checkout is enabled for the site, or false if not