Class SensitivePaymentEndpoint
java.lang.Object
com.broadleafcommerce.paymenttransaction.web.endpoint.SensitivePaymentEndpoint
@FrameworkRestController
@FrameworkMapping("/sensitive-payments")
@DataRouteByKey("paymentTransaction")
@Deprecated(since="1.0.2",
forRemoval=true)
public class SensitivePaymentEndpoint
extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
since 1.0.2, in favor of using PaymentTransactionServices to manage saved payment
methods.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSensitivePaymentEndpoint
(PaymentService<Payment> paymentService) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionprotected PaymentService<Payment>
Deprecated, for removal: This API element is subject to removal in a future version.org.springframework.data.domain.Page<Payment>
readAllPaymentsForOwner
(com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String ownerType, String ownerId, org.springframework.data.domain.Pageable page) Deprecated, for removal: This API element is subject to removal in a future version.
-
Field Details
-
BASE_URI
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
-
Constructor Details
-
SensitivePaymentEndpoint
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
readAllPaymentsForOwner
@FrameworkGetMapping(params={"ownerType","ownerId"}) @Policy(permissionRoots="SENSITIVE_PAYMENT") public org.springframework.data.domain.Page<Payment> readAllPaymentsForOwner(@ContextOperation(READ) com.broadleafcommerce.data.tracking.core.context.ContextInfo context, @RequestParam String ownerType, @RequestParam String ownerId, @PageableDefault(size=50) org.springframework.data.domain.Pageable page) Deprecated, for removal: This API element is subject to removal in a future version. -
getPaymentService
Deprecated, for removal: This API element is subject to removal in a future version.
-