public class CostCenterCreateFluentHelper extends FluentHelperCreate<CostCenterCreateFluentHelper,CostCenter>
CostCenter
entity and save it to the S/4HANA system.
To perform execution, call the execute
method on the fluent helper object.
Constructor and Description |
---|
CostCenterCreateFluentHelper(String servicePath,
CostCenter entity)
Deprecated.
Use the constructor
CostCenterCreateFluentHelper(String, CostCenter,String) instead. |
CostCenterCreateFluentHelper(String servicePath,
CostCenter entity,
String entityCollection)
Creates a fluent helper object that will create a
CostCenter entity on the
OData endpoint. |
Modifier and Type | Method and Description |
---|---|
protected CostCenter |
getEntity()
Getter for the VDM representation of the entity to be created.
|
asChildOf, execute, executeRequest, getEntityClass, getQueryBuilder, toQuery, toRequest, withErrorHandler
and, cachingMetadata, getHeaders, getHeadersForRequestAndImplicitRequests, getHeadersForRequestOnly, getParametersForRequestOnly, getServicePath, getThis, getVersionIdentifier, isCachingMetadata, onRequestAndImplicitRequests, onRequestOnly, withHeader, withHeaders, withoutCachingMetadata, withQueryParameter
@Deprecated public CostCenterCreateFluentHelper(@Nonnull String servicePath, @Nonnull CostCenter entity)
CostCenterCreateFluentHelper(String, CostCenter,String)
instead.CostCenter
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 CostCenter to create.public CostCenterCreateFluentHelper(@Nonnull String servicePath, @Nonnull CostCenter entity, @Nonnull String entityCollection)
CostCenter
entity on the
OData endpoint. To perform execution, call the execute
method on the fluent helper object.entityCollection
- Entity Collection to direct the create requests to.servicePath
- The service path to direct the create requests to.entity
- The CostCenter to create.@Nonnull protected CostCenter getEntity()
FluentHelperCreate
getEntity
in class FluentHelperCreate<CostCenterCreateFluentHelper,CostCenter>
FluentHelperCreate.executeRequest(HttpDestinationProperties)
method.Copyright © 2021 SAP SE. All rights reserved.