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) booleanisReadAnonymousOrdersEnabled(String applicationId, String tenantId) voidsetFailureTypesByErrorCode(Map<String, String> failureTypesByErrorCode) Map of failure types identified by their Tabby response reason code.voidsetMerchantCode(String merchantCode) The merchant code.voidsetPublicKey(String publicKey) The Tabby public key for your Tabby SDK.voidsetReadAnonymousOrdersEnabled(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.voidsetSecretKey(String secretKey) The Tabby private key for your Tabby SDK.voidsetWebhookSignature(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-Signatureheader 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.
-