| Package | Description |
|---|---|
| de.hybris.platform.ycommercewebservices.v1.controller | |
| de.hybris.platform.ycommercewebservices.v2.controller |
| Modifier and Type | Method and Description |
|---|---|
CartData |
CartController.addPaymentInfo(HttpServletRequest request)
Web service for creating a credit card payment subscription.
Sample call: https://localhost:9002/rest/v1/mysite/cart/paymentinfo CCPaymentInfoData parameters need to be send as post body. Method uses dedicated populator - HttpRequestPaymentInfoPopulator - to populate the
CCPaymentInfoData from request parameters.Method uses dedicated validator - CCPaymentInfoValidator - to validate request parameters.This method requires authentication and is restricted for HTTPS channel.Method type : POST. |
OrderData |
CartController.oneStepCheckout(java.lang.String addressId,
java.lang.String addressIsocode,
java.lang.String deliveryMode,
java.lang.String voucherCode,
java.lang.String paymentInfoId,
java.lang.String securityCode,
HttpServletRequest request)
Web service for one-step checkout from current session cart.
Sample call: https://localhost:9002/rest/v1/mysite/cart/checkout This method requires authentication. Method type : POST.Method is restricted for HTTPS channel. |
CartData |
CartController.setPaymentDetails(java.lang.String id)
Web service for assigning given payment (by payment id) to the checkout cart.
Sample call: https://localhost:9002/rest/v1/mysite/cart/paymentinfo/1234 This method requires authentication and is restricted for HTTPS channel.Method type : PUT. |
| Modifier and Type | Method and Description |
|---|---|
PaymentDetailsWsDTO |
CartsController.addPaymentDetails(HttpServletRequest request,
java.lang.String fields) |
protected CartData |
BaseCommerceController.addPaymentDetailsInternal(HttpServletRequest request) |
void |
CartsController.setPaymentDetails(java.lang.String paymentDetailsId) |
protected CartData |
BaseCommerceController.setPaymentDetailsInternal(java.lang.String paymentDetailsId) |
Copyright © 2018 SAP SE. All Rights Reserved.