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
-
Field Summary
Fields inherited from class de.hybris.platform.coreairlinecommonsocc.controllers.AirlineBaseController
BASIC_FIELD_SET, DEFAULT_CURRENT_PAGE, DEFAULT_PAGE_SIZE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<PaymentDetailsWsDTO>getPaymentDetails(String paymentDetailsId) org.springframework.http.ResponseEntity<PaymentDetailsListWsDTO>protected CCPaymentInfoDatagetPaymentInfo(String paymentDetailsId) voidremovePaymentDetails(String paymentDetailsId) voidreplacePaymentDetails(String paymentDetailsId, PaymentDetailsWsDTO paymentDetails) voidupdateUserPaymentDetails(String paymentDetailsId, PaymentDetailsWsDTO paymentDetails) Methods inherited from class de.hybris.platform.coreairlinecommonsocc.controllers.AirlineBaseController
createPaginationData, getAbsoluteLocationURL, getDataMapper, getErrorCode, getErrorCodeResolver, handleAccessDeniedException, handleMissingRequestHeaderException, handleTravelModelNotFoundException, sanitize, validate, validate
-
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
-
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)
-