Class PaymentTransactionServiceProperties

java.lang.Object
com.broadleafcommerce.paymenttransaction.service.PaymentTransactionServiceProperties

@ConfigurationProperties("broadleaf.paymenttransaction.service") public class PaymentTransactionServiceProperties extends Object
  • Constructor Details

    • PaymentTransactionServiceProperties

      public PaymentTransactionServiceProperties()
  • Method Details

    • getPaymentLockTtl

      public Duration 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 the getAnonymousPaymentTtl() duration.
    • getAnonymousPaymentTtl

      public 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 the CUSTOMER_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

      public void setPaymentLockTtl(Duration paymentLockTtl)
      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 the getAnonymousPaymentTtl() duration.
    • setAnonymousPaymentTtl

      public void setAnonymousPaymentTtl(Duration anonymousPaymentTtl)
      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 the CUSTOMER_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).