Class TabbyConfigurationProperties
java.lang.Object
com.broadleafcommerce.paymentgateway.properties.DiscriminatedProperties<TabbyConfigurationProperties>
com.broadleafcommerce.tabby.service.TabbyConfigurationProperties
@ConfigurationProperties("broadleaf.tabby")
public class TabbyConfigurationProperties
extends com.broadleafcommerce.paymentgateway.properties.DiscriminatedProperties<TabbyConfigurationProperties>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFailureType
(String errorCode) getMerchantCode
(String applicationId, String tenantId) getPublicKey
(String applicationId, String tenantId) getSecretKey
(String applicationId, String tenantId) getWebhookSignature
(String applicationId, String tenantId) boolean
isReadAnonymousOrdersEnabled
(String applicationId, String tenantId) void
setFailureTypesByErrorCode
(Map<String, String> failureTypesByErrorCode) Map of failure types identified by their Tabby response reason code.void
setMerchantCode
(String merchantCode) The merchant code.void
setPublicKey
(String publicKey) The Tabby public key for your Tabby SDK.void
setReadAnonymousOrdersEnabled
(boolean readAnonymousOrdersEnabled) Iftrue
, then theTabbyPayment.getOrderHistory()
andTabbyPayment.getBuyerHistory()
will be populated for the anonymous customers using Broadleaf-provided order history data identified by the email address.void
setSecretKey
(String secretKey) The Tabby private key for your Tabby SDK.void
setWebhookSignature
(String webhookSignature) The random string to sign the webhook request.Methods inherited from class com.broadleafcommerce.paymentgateway.properties.DiscriminatedProperties
getApplication, getField, getTenant, setApplication, setTenant
-
Constructor Details
-
TabbyConfigurationProperties
public TabbyConfigurationProperties()
-
-
Method Details
-
getPublicKey
-
getSecretKey
-
getMerchantCode
-
getWebhookSignature
-
isReadAnonymousOrdersEnabled
-
getFailureType
-
setPublicKey
The Tabby public key for your Tabby SDK. -
setSecretKey
The Tabby private key for your Tabby SDK. -
setWebhookSignature
The random string to sign the webhook request. This is aX-Webhook-Signature
header value that should be specified when registering the webhook. -
setMerchantCode
The merchant code. -
setReadAnonymousOrdersEnabled
public void setReadAnonymousOrdersEnabled(boolean readAnonymousOrdersEnabled) Iftrue
, then theTabbyPayment.getOrderHistory()
andTabbyPayment.getBuyerHistory()
will be populated for the anonymous customers using Broadleaf-provided order history data identified by the email address. Iffalse
, then theTabbyPayment.getOrderHistory()
list will be empty & theTabbyBuyerHistory.getLoyaltyLevel()
will be 0. Defaults tofalse
. -
setFailureTypesByErrorCode
Map of failure types identified by their Tabby response reason code.
-