Class PaymentDetailsController
java.lang.Object
de.hybris.platform.ycommercewebservices.v2.controller.BaseController
de.hybris.platform.ycommercewebservices.v2.controller.BaseCommerceController
de.hybris.platform.ycommercewebservices.v2.controller.PaymentDetailsController
@Controller
@RequestMapping("/{baseSiteId}/users/{userId}/paymentdetails")
public class PaymentDetailsController
extends BaseCommerceController
-
Field Summary
Fields inherited from class de.hybris.platform.ycommercewebservices.v2.controller.BaseCommerceController
API_COMPATIBILITY_B2C_CHANNELS, ENTRYFields inherited from class de.hybris.platform.ycommercewebservices.v2.controller.BaseController
BASIC_FIELD_SET, DEFAULT_CURRENT_PAGE, DEFAULT_FIELD_SET, DEFAULT_PAGE_SIZE, HEADER_TOTAL_COUNT, INVALID_REQUEST_BODY_ERROR_MESSAGE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPaymentDetails(String paymentDetailsId, String fields) getPaymentDetailsList(boolean saved, String fields) getPaymentInfo(String paymentDetailsId) voidremovePaymentDetails(String paymentDetailsId) voidreplacePaymentDetails(String paymentDetailsId, PaymentDetailsWsDTO paymentDetails) voidreplacePaymentDetails(String paymentDetailsId, javax.servlet.http.HttpServletRequest request) Deprecated, for removal: This API element is subject to removal in a future version.since 2005.voidupdatePaymentDetails(String paymentDetailsId, PaymentDetailsWsDTO paymentDetails) voidupdatePaymentDetails(String paymentDetailsId, javax.servlet.http.HttpServletRequest request) Deprecated, for removal: This API element is subject to removal in a future version.since 2005.Methods inherited from class de.hybris.platform.ycommercewebservices.v2.controller.BaseCommerceController
addPaymentDetailsInternal, applyVoucherForCartInternal, createAddressInternal, createAddressInternal, getAddressDTOValidator, getAddressValidator, getCartFacade, getCartVoucherValidator, getCcPaymentInfoValidator, getCheckoutFacade, getDeliveryAddressValidator, getHttpRequestAddressDataPopulator, getHttpRequestPaymentInfoPopulator, getPaymentDetailsDTOValidator, getSessionCart, getUserFacade, getVoucherFacade, setAddressDTOValidator, setAddressValidator, setCartDeliveryAddressInternal, setCartDeliveryModeInternal, setCartFacade, setCcPaymentInfoValidator, setCheckoutFacade, setDeliveryAddressValidator, setHttpRequestAddressDataPopulator, setHttpRequestPaymentInfoPopulator, setPaymentDetailsDTOValidator, setPaymentDetailsInternal, setUserFacade, setVoucherFacade, validateCartForPlaceOrder, validateStatusesEnumValueMethods inherited from class de.hybris.platform.ycommercewebservices.v2.controller.BaseController
addPaginationField, getDataMapper, handleDuplicateUidException, handleErrorInternal, handleHttpMessageNotReadableException, handleModelNotFoundException, logParam, logParam, logValue, sanitize, setDataMapper, setTotalCountHeader, setTotalCountHeader, validate
-
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
-
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.since 2005. Please useupdatePaymentDetails(String, PaymentDetailsWsDTO)instead. -
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.since 2005. Please usereplacePaymentDetails(String, PaymentDetailsWsDTO)instead. -
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)
-