public class PromotionVoucherResource
extends <any>
| Constructor and Description |
|---|
PromotionVoucherResource()
Generated constructor - for generic creation.
|
| Modifier and Type | Method and Description |
|---|---|
Response |
deletePromotionVoucher()
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 |
getPromotionVoucher()
Generated HTTP method for covering GET requests.
|
PromotionVoucherModel |
getPromotionVoucherModel()
Convenience method which just delegates to
#getResourceValue() |
Response |
putPromotionVoucher(PromotionVoucherDTO dto)
Generated HTTP method for covering PUT requests.
|
protected PromotionVoucherModel |
readResource(String resourceId)
Gets the
PromotionVoucherModel resource which is addressed by current resource request. |
void |
setPromotionVoucherModel(PromotionVoucherModel value)
Convenience method which just delegates to
#setResourceValue(PromotionVoucherModel) |
public PromotionVoucherResource()
public Response deletePromotionVoucher()
Responsepublic AbstractYResource getHMCHistoryEntryResource(String resourceKey)
HMCHistoryEntryResource for current root resourcepublic AbstractYResource getLinkResource(String resourceKey)
LinkResource for current root resourcepublic Response getPromotionVoucher()
Responsepublic PromotionVoucherModel getPromotionVoucherModel()
#getResourceValue()public Response putPromotionVoucher(PromotionVoucherDTO dto)
Responseprotected PromotionVoucherModel readResource(String resourceId) throws Exception
PromotionVoucherModel resource which is addressed by current resource request.Exceptionde.hybris.platform.webservices.AbstractYResource#readResource(String)public void setPromotionVoucherModel(PromotionVoucherModel value)
#setResourceValue(PromotionVoucherModel)Copyright © 2017 SAP SE. All Rights Reserved.