Class PaymentTransactionServiceProperties
java.lang.Object
com.broadleafcommerce.paymenttransaction.service.PaymentTransactionServiceProperties
@ConfigurationProperties("broadleaf.paymenttransaction.service")
public class PaymentTransactionServiceProperties
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe amount of time payments for anonymous users should be considered valid.The amount of time that a payment lock is held, before it expires.boolean
Whether or not to expire payments for anonymous users that have exceeded thegetAnonymousPaymentTtl()
duration.void
setAnonymousPaymentTtl
(Duration anonymousPaymentTtl) The amount of time payments for anonymous users should be considered valid.void
setAnonymousPaymentTtlEnabled
(boolean anonymousPaymentTtlEnabled) Whether or not to expire payments for anonymous users that have exceeded thegetAnonymousPaymentTtl()
duration.void
setPaymentLockTtl
(Duration paymentLockTtl) The amount of time that a payment lock is held, before it expires.
-
Constructor Details
-
PaymentTransactionServiceProperties
public PaymentTransactionServiceProperties()
-
-
Method Details
-
getPaymentLockTtl
The amount of time that a payment lock is held, before it expires. -
isAnonymousPaymentTtlEnabled
public boolean isAnonymousPaymentTtlEnabled()Whether or not to expire payments for anonymous users that have exceeded thegetAnonymousPaymentTtl()
duration. -
getAnonymousPaymentTtl
The amount of time payments for anonymous users should be considered valid. -
setPaymentLockTtl
The amount of time that a payment lock is held, before it expires. -
setAnonymousPaymentTtlEnabled
public void setAnonymousPaymentTtlEnabled(boolean anonymousPaymentTtlEnabled) Whether or not to expire payments for anonymous users that have exceeded thegetAnonymousPaymentTtl()
duration. -
setAnonymousPaymentTtl
The amount of time payments for anonymous users should be considered valid.
-