Class DefaultCheckoutComSavedPaymentMethodService
- java.lang.Object
-
- com.broadleafcommerce.payment.service.gateway.DefaultCheckoutComSavedPaymentMethodService
-
- All Implemented Interfaces:
CheckoutComSavedPaymentMethodService,com.broadleafcommerce.paymentgateway.service.PaymentGatewaySavedPaymentMethodService,com.broadleafcommerce.paymentgateway.service.PaymentGatewayTypeAware
public class DefaultCheckoutComSavedPaymentMethodService extends Object implements CheckoutComSavedPaymentMethodService
-
-
Constructor Summary
Constructors Constructor Description DefaultCheckoutComSavedPaymentMethodService(CheckoutConfigurationProperties properties, CheckoutApiInitService checkoutApiInitService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>exchangeSingleUseTokenIfApplicable(@NonNull Map<String,String> paymentMethodProperties, String tenantId, String applicationId)protected CheckoutApiInitServicegetCheckoutApiInitService()StringgetGatewayType()protected CheckoutConfigurationPropertiesgetProperties()
-
-
-
Constructor Detail
-
DefaultCheckoutComSavedPaymentMethodService
public DefaultCheckoutComSavedPaymentMethodService(CheckoutConfigurationProperties properties, CheckoutApiInitService checkoutApiInitService)
-
-
Method Detail
-
exchangeSingleUseTokenIfApplicable
public Map<String,String> exchangeSingleUseTokenIfApplicable(@NonNull @NonNull Map<String,String> paymentMethodProperties, @Nullable String tenantId, @Nullable String applicationId) throws com.broadleafcommerce.paymentgateway.service.exception.ExchangeSingleUseTokenException
- Specified by:
exchangeSingleUseTokenIfApplicablein interfacecom.broadleafcommerce.paymentgateway.service.PaymentGatewaySavedPaymentMethodService- Throws:
com.broadleafcommerce.paymentgateway.service.exception.ExchangeSingleUseTokenException
-
getGatewayType
public String getGatewayType()
- Specified by:
getGatewayTypein interfacecom.broadleafcommerce.paymentgateway.service.PaymentGatewayTypeAware
-
getProperties
protected CheckoutConfigurationProperties getProperties()
-
getCheckoutApiInitService
protected CheckoutApiInitService getCheckoutApiInitService()
-
-