Class AdyenStoredPaymentMethodsEndpoint
java.lang.Object
com.broadleafcommerce.adyen.web.endpoint.AdyenStoredPaymentMethodsEndpoint
@FrameworkRestController
@FrameworkMapping("/adyen/saved-payment-methods")
public class AdyenStoredPaymentMethodsEndpoint
extends Object
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionprotected AdyenStoredPaymentMethodService
getSavedMethods
(CustomerRef customerRef, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) void
removeStoredPaymentMethod
(CustomerRef customerRef, String paymentId, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
-
Field Details
-
BASE_URI
- See Also:
-
-
Constructor Details
-
AdyenStoredPaymentMethodsEndpoint
-
-
Method Details
-
getSavedMethods
@FrameworkGetMapping @Policy(permissionRoots="ADYEN_SAVED_PAYMENT_METHODS") public List<AdyenStoredPaymentMethod> getSavedMethods(CustomerRef customerRef, @ContextOperation(READ) com.broadleafcommerce.data.tracking.core.context.ContextInfo context) -
removeStoredPaymentMethod
@FrameworkDeleteMapping("/{paymentId}") @Policy(permissionRoots="ADYEN_SAVED_PAYMENT_METHODS") public void removeStoredPaymentMethod(CustomerRef customerRef, @PathVariable String paymentId, @ContextOperation(DELETE) com.broadleafcommerce.data.tracking.core.context.ContextInfo context) -
getAdyenService
-