| 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/singlecodecoupon Method : POST Header : Content-Type=application/json POST body parameter :{ "couponId" : "TEST_COUPON1", "name":"test_coupon", "maxRedemptionsPerCustomer":"2", "maxTotalRedemptions":"10" } |
SingleCodeCouponWsDTO |
CouponservicesController.getSingleCodeCoupon(String couponId,
String fields)
Request to get a single-code coupon with given couponId
|
| Modifier and Type | Method and Description |
|---|---|
protected CouponWsFacades<SingleCodeCouponWsDTO> |
CouponservicesController.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/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/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 |
|---|---|
List<SingleCodeCouponWsDTO> |
SingleCodeCouponsSearchPageWsDTO.getCoupons() |
| Modifier and Type | Method and Description |
|---|---|
void |
SingleCodeCouponsSearchPageWsDTO.setCoupons(List<SingleCodeCouponWsDTO> coupons) |
| Modifier and Type | Method and Description |
|---|---|
protected 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 Class<SingleCodeCouponWsDTO> |
SingleCodeCouponWsDTOValidator.getSupportingClass() |
Copyright © 2017 SAP SE. All Rights Reserved.