public class ProductCreateFluentHelper extends FluentHelperCreate<ProductCreateFluentHelper,Product>
Constructor and Description |
---|
ProductCreateFluentHelper(String servicePath,
Product entity)
Creates a fluent helper object that will create a
Product entity on the OData
endpoint. |
Modifier and Type | Method and Description |
---|---|
protected Product |
getEntity()
Getter for the VDM representation of the entity to be created.
|
asChildOf, execute, getEntityClass, getQueryBuilder, toQuery, withErrorHandler
asResilientCommand, asResilientCommand, execute, getHeadersForRequestAndImplicitRequests, getHeadersForRequestOnly, getServicePath, getThis, getVersionIdentifier, withCustomHttpHeader, withCustomHttpHeaders
public ProductCreateFluentHelper(@Nonnull String servicePath, @Nonnull Product entity)
Product
entity on the OData
endpoint. To perform execution, call the execute
method on the fluent helper object.servicePath
- The service path to direct the create requests to.entity
- The Product to create.@Nonnull protected Product getEntity()
FluentHelperCreate
getEntity
in class FluentHelperCreate<ProductCreateFluentHelper,Product>
FluentHelperCreate.execute(ErpConfigContext)
method.Copyright © 2018 SAP SE. All rights reserved.