Class SensitiveCustomerPaymentAccountEndpoint
- java.lang.Object
-
- com.broadleafcommerce.customer.web.endpoint.SensitiveCustomerPaymentAccountEndpoint
-
@FrameworkRestController @FrameworkMapping("/payment-accounts") @DataRouteByExample(Customer.class) public class SensitiveCustomerPaymentAccountEndpoint extends Object
-
-
Constructor Summary
Constructors Constructor Description SensitiveCustomerPaymentAccountEndpoint(PaymentAccountService<PaymentAccount> paymentAccountService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PaymentAccountService<PaymentAccount>
getPaymentAccountService()
PaymentAccount
readPaymentAccount(String paymentAccountId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
-
-
-
Field Detail
-
BASE_URI
public static final String BASE_URI
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SensitiveCustomerPaymentAccountEndpoint
public SensitiveCustomerPaymentAccountEndpoint(PaymentAccountService<PaymentAccount> paymentAccountService)
-
-
Method Detail
-
readPaymentAccount
@Policy(permissionRoots="SENSITIVE_CUSTOMER_PAYMENT_ACCOUNT") @FrameworkGetMapping("/{paymentAccountId}") public PaymentAccount readPaymentAccount(@PathVariable("paymentAccountId") String paymentAccountId, @ContextOperation(READ) com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
-
getPaymentAccountService
protected PaymentAccountService<PaymentAccount> getPaymentAccountService()
-
-