public class ProductPromotionsResource
extends <any>
| Constructor and Description |
|---|
ProductPromotionsResource()
Generated constructor - for generic creation.
|
| Modifier and Type | Method and Description |
|---|---|
Response |
getAllProductPromotions()
Generated HTTP method for covering GET requests.
|
AbstractYResource |
getProductPromotionResource(String resourceKey)
Generated getter for sub resource of type
ProductPromotionResource for current root resource |
Collection<ProductPromotionModel> |
getProductPromotionsCollection()
Convenience method which just delegates to
#getResourceValue() |
Response |
postProductPromotion(ProductPromotionDTO dto)
Generated HTTP method for covering POST requests.
|
void |
setProductPromotionsCollection(Collection<ProductPromotionModel> value)
Convenience method which just delegates to
#setResourceValue(Collection) |
public ProductPromotionsResource()
public Response getAllProductPromotions()
Responsepublic AbstractYResource getProductPromotionResource(String resourceKey)
ProductPromotionResource for current root resourcepublic Collection<ProductPromotionModel> getProductPromotionsCollection()
#getResourceValue()public Response postProductPromotion(ProductPromotionDTO dto)
Responsepublic void setProductPromotionsCollection(Collection<ProductPromotionModel> value)
#setResourceValue(Collection)Copyright © 2017 SAP SE. All Rights Reserved.