Class CheckoutComPaymentModificationService
java.lang.Object
com.broadleafcommerce.payment.service.gateway.CheckoutComPaymentModificationService
- All Implemented Interfaces:
com.broadleafcommerce.paymentgateway.service.PaymentGatewayPaymentModificationService
,com.broadleafcommerce.paymentgateway.service.PaymentGatewayTypeAware
public class CheckoutComPaymentModificationService
extends Object
implements com.broadleafcommerce.paymentgateway.service.PaymentGatewayPaymentModificationService
The default implementation to exchange the Apple Pay token for a reference token that can be used
later to request a payment.
- Author:
- Dima Myroniuk (dmyroniuk)
-
Constructor Summary
ConstructorDescriptionCheckoutComPaymentModificationService
(ExchangeWalletTokenService exchangePaymentTokenService, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescriptionprotected ExchangeWalletTokenService
protected com.fasterxml.jackson.databind.ObjectMapper
modifyPaymentMethodProperties
(@NonNull com.broadleafcommerce.paymentgateway.domain.PaymentInfo paymentInfo, String applicationId, String tenantId) modifyPaymentMethodProperties
(@NonNull Map<String, String> paymentMethodProperties, String applicationId, String tenantId) protected com.checkout.tokens.ApplePayTokenData
parseApplePayTokenData
(String token)
-
Constructor Details
-
CheckoutComPaymentModificationService
public CheckoutComPaymentModificationService(ExchangeWalletTokenService exchangePaymentTokenService, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
modifyPaymentMethodProperties
public Map<String,String> modifyPaymentMethodProperties(@NonNull @NonNull Map<String, String> paymentMethodProperties, @Nullable String applicationId, @Nullable String tenantId) - Specified by:
modifyPaymentMethodProperties
in interfacecom.broadleafcommerce.paymentgateway.service.PaymentGatewayPaymentModificationService
-
modifyPaymentMethodProperties
public Map<String,String> modifyPaymentMethodProperties(@NonNull @NonNull com.broadleafcommerce.paymentgateway.domain.PaymentInfo paymentInfo, @Nullable String applicationId, @Nullable String tenantId) - Specified by:
modifyPaymentMethodProperties
in interfacecom.broadleafcommerce.paymentgateway.service.PaymentGatewayPaymentModificationService
-
parseApplePayTokenData
-
getCallbackUrlKeys
- Specified by:
getCallbackUrlKeys
in interfacecom.broadleafcommerce.paymentgateway.service.PaymentGatewayPaymentModificationService
-
getGatewayType
- Specified by:
getGatewayType
in interfacecom.broadleafcommerce.paymentgateway.service.PaymentGatewayTypeAware
-
getExchangePaymentTokenService
-
getObjectMapper
protected com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
-