Class DefaultStripePaymentModificationService
java.lang.Object
com.broadleafcommerce.payment.service.gateway.DefaultStripePaymentModificationService
- All Implemented Interfaces:
StripePaymentModificationService
,com.broadleafcommerce.paymentgateway.service.PaymentGatewayPaymentModificationService
,com.broadleafcommerce.paymentgateway.service.PaymentGatewayTypeAware
public class DefaultStripePaymentModificationService
extends Object
implements StripePaymentModificationService
- Author:
- Divyank Chavan.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
getIpAddress
(@NonNull com.broadleafcommerce.paymentgateway.domain.PaymentInfo paymentInfo) protected String
getUserAgent
(@NonNull com.broadleafcommerce.paymentgateway.domain.PaymentInfo paymentInfo) modifyPaymentMethodProperties
(@NonNull com.broadleafcommerce.paymentgateway.domain.PaymentInfo paymentInfo, String applicationId, String tenantId) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.broadleafcommerce.paymentgateway.service.PaymentGatewayPaymentModificationService
modifyPaymentMethodProperties, updateGatewayPayment
-
Constructor Details
-
DefaultStripePaymentModificationService
public DefaultStripePaymentModificationService()
-
-
Method Details
-
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
-
getIpAddress
@Nullable protected String getIpAddress(@NonNull @NonNull com.broadleafcommerce.paymentgateway.domain.PaymentInfo paymentInfo) -
getUserAgent
@Nullable protected String getUserAgent(@NonNull @NonNull com.broadleafcommerce.paymentgateway.domain.PaymentInfo paymentInfo) -
getCallbackUrlKeys
- Specified by:
getCallbackUrlKeys
in interfacecom.broadleafcommerce.paymentgateway.service.PaymentGatewayPaymentModificationService
-
getGatewayType
- Specified by:
getGatewayType
in interfacecom.broadleafcommerce.paymentgateway.service.PaymentGatewayTypeAware
-