| Modifier and Type | Method and Description |
|---|---|
SingleCodeCouponWsDTO |
CouponservicesController.createSingleCodeCouponWsDTO(SingleCodeCouponWsDTO couponWsDTO)
Method to create a new single-code coupon object given in POST body parameter
Example : URL : http://localhost:9001/couponwebservices/couponservices/v2/singlecodecoupon Method : POST Header : Content-Type=application/json POST body parameter :{ "couponId" : "TEST_COUPON1", "name":"test_coupon", "maxRedemptionsPerCustomer":"2", "maxTotalRedemptions":"10" } |
SingleCodeCouponWsDTO |
CouponservicesController.getSingleCodeCoupon(java.lang.String couponId,
java.lang.String fields)
Request to get a single-code coupon with given couponId
|
| Modifier and Type | Method and Description |
|---|---|
protected CouponWsFacades<SingleCodeCouponWsDTO> |
CouponservicesController.getSingleCodeCouponWsFacades() |
protected CouponWsFacades<SingleCodeCouponWsDTO> |
CouponservicesV2Controller.getSingleCodeCouponWsFacades() |
| Modifier and Type | Method and Description |
|---|---|
SingleCodeCouponWsDTO |
CouponservicesController.createSingleCodeCouponWsDTO(SingleCodeCouponWsDTO couponWsDTO)
Method to create a new single-code coupon object given in POST body parameter
Example : URL : http://localhost:9001/couponwebservices/couponservices/v2/singlecodecoupon Method : POST Header : Content-Type=application/json POST body parameter :{ "couponId" : "TEST_COUPON1", "name":"test_coupon", "maxRedemptionsPerCustomer":"2", "maxTotalRedemptions":"10" } |
void |
CouponservicesController.updateSingleCodeCouponWsDTO(SingleCodeCouponWsDTO couponWsDTO)
Method to update a single-code coupon object given in PUT body parameter
Example : URL : http://localhost:9001/couponwebservices/couponservices/v2/singlecodecoupon/update Method : PUT Header : Content-Type=application/json PUT body parameter :{ "couponId" : "TEST_COUPON1", "name":"test_coupon", "maxRedemptionsPerCustomer":"2", "maxTotalRedemptions":"10" } |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Optional<SingleCodeCouponWsDTO> |
DefaultSingleCodeCouponWsFacades.convert(AbstractCouponModel couponModel) |
protected Converter<SingleCodeCouponModel,SingleCodeCouponWsDTO> |
DefaultSingleCodeCouponWsFacades.getSingleCodeCouponWsDTOConverter() |
| Modifier and Type | Method and Description |
|---|---|
protected SingleCodeCouponModel |
DefaultSingleCodeCouponWsFacades.createCouponModel(SingleCodeCouponWsDTO couponDto) |
protected SingleCodeCouponModel |
DefaultSingleCodeCouponWsFacades.updateCouponModel(SingleCodeCouponWsDTO couponDto) |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultSingleCodeCouponWsFacades.setSingleCodeCouponWsDTOConverter(Converter<SingleCodeCouponModel,SingleCodeCouponWsDTO> singleCodeCouponWsDTOConverter) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
SingleCodeCouponWsPopulator.convertSingleCodeCoupon(SingleCodeCouponModel source,
SingleCodeCouponWsDTO target) |
void |
SingleCodeCouponWsPopulator.populate(SingleCodeCouponModel source,
SingleCodeCouponWsDTO target) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Class<SingleCodeCouponWsDTO> |
SingleCodeCouponWsDTOValidator.getSupportingClass() |
Copyright © 2018 SAP SE. All Rights Reserved.