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

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • BASE_URI

      public static final String BASE_URI
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
  • Constructor Details

    • SensitivePaymentEndpoint

      public SensitivePaymentEndpoint(PaymentService<Payment> paymentService)
      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

      protected PaymentService<Payment> getPaymentService()
      Deprecated, for removal: This API element is subject to removal in a future version.