Class CartOperationCheckoutProperties
- java.lang.Object
-
- com.broadleafcommerce.cartoperation.properties.DiscriminatedProperties<CartOperationCheckoutProperties>
-
- com.broadleafcommerce.cartoperation.service.checkout.CartOperationCheckoutProperties
-
@ConfigurationProperties("broadleaf.cartoperation.service.checkout") public class CartOperationCheckoutProperties extends DiscriminatedProperties<CartOperationCheckoutProperties>
-
-
Constructor Summary
Constructors Constructor Description CartOperationCheckoutProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCheckoutTransactionTypeByGateway(String gateway, String applicationId, String tenantId)
String
getTransactionRetrievalStrategyFor3ds(String gateway, String applicationId, String tenantId)
boolean
isCheckoutTransactionExternalByGateway(String gateway, String applicationId, String tenantId)
void
setCheckoutTransactionExternal(Map<String,Boolean> checkoutTransactionExternal)
Whether the checkout transaction occurs externally such as for transparent redirect.void
setCheckoutTransactionTypes(Map<String,String> checkoutTransactionTypes)
Set theTransactionType
that should be performed during checkout.void
setTransactionRetrievalStrategyFor3ds(Map<String,String> transactionRetrievalStrategyFor3ds)
When we fetch the checkout transaction for 3DS transactions during the checkout workflow.-
Methods inherited from class com.broadleafcommerce.cartoperation.properties.DiscriminatedProperties
getApplication, getField, getTenant, setApplication, setTenant
-
-
-
-
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)
-
getTransactionRetrievalStrategyFor3ds
public String getTransactionRetrievalStrategyFor3ds(String gateway, @Nullable String applicationId, @Nullable String tenantId)
-
setCheckoutTransactionTypes
public void setCheckoutTransactionTypes(Map<String,String> checkoutTransactionTypes)
Set theTransactionType
that should be performed during checkout. Typically, this will beDefaultTransactionTypes.AUTHORIZE_AND_CAPTURE
orDefaultTransactionTypes.AUTHORIZE
. Map is keyed by payment gateway name.
-
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.
-
setTransactionRetrievalStrategyFor3ds
public void setTransactionRetrievalStrategyFor3ds(Map<String,String> transactionRetrievalStrategyFor3ds)
When we fetch the checkout transaction for 3DS transactions during the checkout workflow.- See Also:
TransactionRetrievalStrategies
-
-