Class PaymentDetailsController


@Controller @RequestMapping("/{baseSiteId}/users/{userId}/paymentdetails") public class PaymentDetailsController extends BaseCommerceController
  • Constructor Details

    • PaymentDetailsController

      public PaymentDetailsController()
  • Method Details

    • getPaymentDetailsList

      @Secured({"ROLE_CUSTOMERGROUP","ROLE_TRUSTED_CLIENT","ROLE_CUSTOMERMANAGERGROUP"}) @RequestMapping(method=GET) @ResponseBody public PaymentDetailsListWsDTO getPaymentDetailsList(@RequestParam(defaultValue="false") boolean saved, @RequestParam(defaultValue="DEFAULT") String fields)
    • getPaymentDetails

      @Secured({"ROLE_CUSTOMERGROUP","ROLE_TRUSTED_CLIENT","ROLE_CUSTOMERMANAGERGROUP"}) @RequestMapping(value="/{paymentDetailsId}", method=GET) @ResponseBody public PaymentDetailsWsDTO getPaymentDetails(@PathVariable String paymentDetailsId, @RequestParam(defaultValue="DEFAULT") String fields)
    • getPaymentInfo

      public CCPaymentInfoData getPaymentInfo(String paymentDetailsId)
    • removePaymentDetails

      @Secured({"ROLE_CUSTOMERGROUP","ROLE_TRUSTED_CLIENT","ROLE_CUSTOMERMANAGERGROUP"}) @RequestMapping(value="/{paymentDetailsId}", method=DELETE) @ResponseStatus(OK) public void removePaymentDetails(@PathVariable String paymentDetailsId)
    • updatePaymentDetails

      @Deprecated(since="2005", forRemoval=true) @Secured({"ROLE_CUSTOMERGROUP","ROLE_TRUSTED_CLIENT","ROLE_CUSTOMERMANAGERGROUP"}) @RequestMapping(value="/{paymentDetailsId}", method=PATCH) @ResponseStatus(OK) public void updatePaymentDetails(@PathVariable String paymentDetailsId, javax.servlet.http.HttpServletRequest request)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • updatePaymentDetails

      @Secured({"ROLE_CUSTOMERGROUP","ROLE_TRUSTED_CLIENT","ROLE_CUSTOMERMANAGERGROUP"}) @RequestMapping(value="/{paymentDetailsId}", method=PATCH, consumes={"application/json","application/xml"}) @ResponseStatus(OK) public void updatePaymentDetails(@PathVariable String paymentDetailsId, @RequestBody PaymentDetailsWsDTO paymentDetails)
    • replacePaymentDetails

      @Deprecated(since="2005", forRemoval=true) @Secured({"ROLE_CUSTOMERGROUP","ROLE_TRUSTED_CLIENT","ROLE_CUSTOMERMANAGERGROUP"}) @RequestMapping(value="/{paymentDetailsId}", method=PUT) @ResponseStatus(OK) public void replacePaymentDetails(@PathVariable String paymentDetailsId, javax.servlet.http.HttpServletRequest request)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • replacePaymentDetails

      @Secured({"ROLE_CUSTOMERGROUP","ROLE_TRUSTED_CLIENT","ROLE_CUSTOMERMANAGERGROUP"}) @RequestMapping(value="/{paymentDetailsId}", method=PUT, consumes={"application/json","application/xml"}) @ResponseStatus(OK) public void replacePaymentDetails(@PathVariable String paymentDetailsId, @RequestBody PaymentDetailsWsDTO paymentDetails)