Class AirlinePaymentDetailsController

java.lang.Object
de.hybris.platform.coreairlinecommonsocc.controllers.AirlineBaseController
de.hybris.platform.coreairlinecommonsocc.controllers.AirlinePaymentDetailsController

@Controller @RequestMapping("/{baseSiteId}/users/{userId}/paymentdetails") public class AirlinePaymentDetailsController extends AirlineBaseController
Main Controller for PaymentDetails resource
  • Constructor Details

    • AirlinePaymentDetailsController

      public AirlinePaymentDetailsController()
  • Method Details

    • getPaymentDetailsList

      @Secured({"ROLE_CUSTOMERGROUP","ROLE_TRUSTED_CLIENT","ROLE_CUSTOMERMANAGERGROUP"}) @RequestMapping(method=GET) @ResponseBody public org.springframework.http.ResponseEntity<PaymentDetailsListWsDTO> getPaymentDetailsList()
    • getPaymentDetails

      @Secured({"ROLE_CUSTOMERGROUP","ROLE_TRUSTED_CLIENT","ROLE_CUSTOMERMANAGERGROUP"}) @RequestMapping(value="/{paymentDetailsId}", method=GET) @ResponseBody public org.springframework.http.ResponseEntity<PaymentDetailsWsDTO> getPaymentDetails(@PathVariable String paymentDetailsId)
    • updateUserPaymentDetails

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

      protected CCPaymentInfoData getPaymentInfo(String paymentDetailsId)
    • replacePaymentDetails

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

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