Class PaymentTransactionServiceProperties
java.lang.Object
com.broadleafcommerce.paymenttransaction.service.PaymentTransactionServiceProperties
@ConfigurationProperties("broadleaf.paymenttransaction.service")
public class PaymentTransactionServiceProperties
extends Object
-
Constructor Summary
-
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 allow anonymous customers to read the payments with theCUSTOMER_MUTABILITY_BLOCKED
restriction.boolean
Declares whether the owning entity's payments should all be archived when the anonymous payment TTL has expired for any one of the owning entity's payments.boolean
Whether or not to expire payments for anonymous users that have exceeded thegetAnonymousPaymentTtl()
duration.void
setAnonymousCustomerCanReadImmutablePayments
(boolean anonymousCustomerCanReadImmutablePayments) Whether or not to allow anonymous customers to read the payments with theCUSTOMER_MUTABILITY_BLOCKED
restriction.void
setAnonymousPaymentTtl
(Duration anonymousPaymentTtl) The amount of time payments for anonymous users should be considered valid.void
setAnonymousPaymentTtlArchiveAllOwningEntityPayments
(boolean anonymousPaymentTtlArchiveAllOwningEntityPayments) Declares whether the owning entity's payments should all be archived when the anonymous payment TTL has expired for any one of the owning entity's payments.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. -
isAnonymousCustomerCanReadImmutablePayments
public boolean isAnonymousCustomerCanReadImmutablePayments()Whether or not to allow anonymous customers to read the payments with theCUSTOMER_MUTABILITY_BLOCKED
restriction. Defaults to false. -
isAnonymousPaymentTtlArchiveAllOwningEntityPayments
public boolean isAnonymousPaymentTtlArchiveAllOwningEntityPayments()Declares whether the owning entity's payments should all be archived when the anonymous payment TTL has expired for any one of the owning entity's payments. This additional archival is done to keep the lifecycle of the owning entity's payments in sync for UX purposes. This is done with the assumption that the owning entity's payments are associated to the same anonymous user (generally a very safe assumption). -
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. -
setAnonymousCustomerCanReadImmutablePayments
public void setAnonymousCustomerCanReadImmutablePayments(boolean anonymousCustomerCanReadImmutablePayments) Whether or not to allow anonymous customers to read the payments with theCUSTOMER_MUTABILITY_BLOCKED
restriction. Defaults to false. -
setAnonymousPaymentTtlArchiveAllOwningEntityPayments
public void setAnonymousPaymentTtlArchiveAllOwningEntityPayments(boolean anonymousPaymentTtlArchiveAllOwningEntityPayments) Declares whether the owning entity's payments should all be archived when the anonymous payment TTL has expired for any one of the owning entity's payments. This additional archival is done to keep the lifecycle of the owning entity's payments in sync for UX purposes. This is done with the assumption that the owning entity's payments are associated to the same anonymous user (generally a very safe assumption).
-