Class PaymentCallbackTokenProperties
java.lang.Object
com.broadleafcommerce.paymentgateway.properties.DiscriminatedProperties<PaymentCallbackTokenProperties>
com.broadleafcommerce.paymentgateway.properties.PaymentCallbackTokenProperties
@ConfigurationProperties("broadleaf.payment.callback-token")
public class PaymentCallbackTokenProperties
extends DiscriminatedProperties<PaymentCallbackTokenProperties>
- Author:
- mariestandeven
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAllowedCharacters
(@NonNull String gatewayType, String applicationId, String tenantId) int
void
setAllowedCharacters
(Map<String, String> allowedCharacters) The character set to use when generating payment callback tokens identified byPaymentGatewayType.name()
.void
The length of a generated payment callback token identified byPaymentGatewayType.name()
.void
The duration in which a payment callback token is valid identified byPaymentGatewayType.name()
.Methods inherited from class com.broadleafcommerce.paymentgateway.properties.DiscriminatedProperties
getApplication, getField, getTenant, setApplication, setTenant
-
Constructor Details
-
PaymentCallbackTokenProperties
public PaymentCallbackTokenProperties()
-
-
Method Details
-
getAllowedCharacters
-
getLength
-
getTtl
-
setAllowedCharacters
The character set to use when generating payment callback tokens identified byPaymentGatewayType.name()
. Defaults to "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789". -
setLength
The length of a generated payment callback token identified byPaymentGatewayType.name()
. Defaults to 32. -
setTtl
The duration in which a payment callback token is valid identified byPaymentGatewayType.name()
. A negative or 0 value indicates that once a token is generated, it is valid forever (no expiration). Defaults to 60 minutes.
-