public class SingleCodeCouponResource
extends <any>
| Constructor and Description |
|---|
SingleCodeCouponResource()
Generated constructor - for generic creation.
|
| Modifier and Type | Method and Description |
|---|---|
Response |
deleteSingleCodeCoupon()
Generated HTTP method for covering DELETE requests.
|
AbstractYResource |
getHMCHistoryEntryResource(String resourceKey)
Generated getter for sub resource of type
HMCHistoryEntryResource for current root resource |
AbstractYResource |
getLinkResource(String resourceKey)
Generated getter for sub resource of type
LinkResource for current root resource |
Response |
getSingleCodeCoupon()
Generated HTTP method for covering GET requests.
|
SingleCodeCouponModel |
getSingleCodeCouponModel()
Convenience method which just delegates to
#getResourceValue() |
Response |
putSingleCodeCoupon(SingleCodeCouponDTO dto)
Generated HTTP method for covering PUT requests.
|
protected SingleCodeCouponModel |
readResource(String resourceId)
Gets the
SingleCodeCouponModel resource which is addressed by current resource request. |
void |
setSingleCodeCouponModel(SingleCodeCouponModel value)
Convenience method which just delegates to
#setResourceValue(SingleCodeCouponModel) |
public SingleCodeCouponResource()
public Response deleteSingleCodeCoupon()
Responsepublic AbstractYResource getHMCHistoryEntryResource(String resourceKey)
HMCHistoryEntryResource for current root resourcepublic AbstractYResource getLinkResource(String resourceKey)
LinkResource for current root resourcepublic Response getSingleCodeCoupon()
Responsepublic SingleCodeCouponModel getSingleCodeCouponModel()
#getResourceValue()public Response putSingleCodeCoupon(SingleCodeCouponDTO dto)
Responseprotected SingleCodeCouponModel readResource(String resourceId) throws Exception
SingleCodeCouponModel resource which is addressed by current resource request.Exceptionde.hybris.platform.webservices.AbstractYResource#readResource(String)public void setSingleCodeCouponModel(SingleCodeCouponModel value)
#setResourceValue(SingleCodeCouponModel)Copyright © 2017 SAP SE. All Rights Reserved.