Class CartOperationCheckoutProperties

    • Constructor Detail

      • CartOperationCheckoutProperties

        public CartOperationCheckoutProperties()
    • Method Detail

      • getCheckoutTransactionTypeByGateway

        public String getCheckoutTransactionTypeByGateway​(String gateway,
                                                          @Nullable
                                                          String applicationId,
                                                          @Nullable
                                                          String tenantId)
      • isCheckoutTransactionExternalByGateway

        public boolean isCheckoutTransactionExternalByGateway​(String gateway,
                                                              @Nullable
                                                              String applicationId,
                                                              @Nullable
                                                              String tenantId)
      • isCheckoutLookup3DSTransactionsEnabled

        public boolean isCheckoutLookup3DSTransactionsEnabled​(String gateway)
      • getPaymentGatewayPriorities

        public List<String> getPaymentGatewayPriorities​(@Nullable
                                                        String applicationId,
                                                        @Nullable
                                                        String tenantId)
        Gets the value of paymentGatewayPriorities based on the given application and tenant id.
        Parameters:
        applicationId - the current context's application id
        tenantId - the current context's tenant id
        Returns:
        the value of paymentGatewayPriorities based on the given application and tenant id
      • setCheckoutTransactionExternal

        public void setCheckoutTransactionExternal​(Map<String,​Boolean> checkoutTransactionExternal)
        Whether the checkout transaction occurs externally such as for transparent redirect. Otherwise, the transaction is created in Broadleaf during the checkout workflow. The system can use this when validating payments to make sure that they have been executed in the external service. Map is keyed by payment gateway name.
      • setCheckoutLookup3dsTransactionsEnabled

        public void setCheckoutLookup3dsTransactionsEnabled​(Map<String,​Boolean> checkoutLookup3dsTransactionsEnabled)
        Whether or not to lookup the results of pending 3DS transactions during the checkout workflow.
      • setPaymentGatewayPriorities

        public void setPaymentGatewayPriorities​(List<String> paymentGatewayPriorities)
        A list of PaymentGatewayTypes defining the order by which payments will be processed during checkout.
      • setCheckoutPaymentMethodOptions

        public void setCheckoutPaymentMethodOptions​(List<CheckoutPaymentMethodOption> checkoutPaymentMethodOptions)
        A list of configured payment methods that are available during checkout.
      • setCheckoutPaymentMethodValidationEnabled

        public void setCheckoutPaymentMethodValidationEnabled​(boolean checkoutPaymentMethodValidationEnabled)
        Whether or not to validate payment methods during checkout activity workflow
      • isCheckoutPaymentMethodValidationEnabled

        public boolean isCheckoutPaymentMethodValidationEnabled()
        Whether or not to validate payment methods during checkout activity workflow