Class PurchaseContractCreateFluentHelper
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic<FluentHelperT,EntityT,ModificationResponse<EntityT>>
com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperModification<FluentHelperT,EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperCreate<PurchaseContractCreateFluentHelper,PurchaseContract>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.purchasecontract.PurchaseContractCreateFluentHelper
- All Implemented Interfaces:
FluentHelperExecutable<Object>
public class PurchaseContractCreateFluentHelper
extends FluentHelperCreate<PurchaseContractCreateFluentHelper,PurchaseContract>
Fluent helper to create a new
PurchaseContract entity
and save it to the S/4HANA system.
To perform execution, call the executeRequest method on the fluent helper object.
-
Field Summary
Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic
csrfTokenRetriever, entityCollection -
Constructor Summary
ConstructorsConstructorDescriptionPurchaseContractCreateFluentHelper(String servicePath, PurchaseContract entity, String entityCollection) Creates a fluent helper object that will create aPurchaseContractentity on the OData endpoint. -
Method Summary
Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperCreate
asChildOf, executeRequest, getEntityClass, toRequestMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperModification
withoutCsrfTokenMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic
getCsrfTokenRetriever, getHeaders, getParametersForRequestOnly, getServicePath, getThis, withHeader, withHeaders, withQueryParameter
-
Constructor Details
-
PurchaseContractCreateFluentHelper
public PurchaseContractCreateFluentHelper(@Nonnull String servicePath, @Nonnull PurchaseContract entity, @Nonnull String entityCollection) Creates a fluent helper object that will create aPurchaseContractentity on the OData endpoint. To perform execution, call theexecuteRequestmethod on the fluent helper object.- Parameters:
entityCollection- Entity Collection to direct the create requests to.servicePath- The service path to direct the create requests to.entity- The PurchaseContract to create.
-
-
Method Details
-
getEntity
- Specified by:
getEntityin classFluentHelperCreate<PurchaseContractCreateFluentHelper,PurchaseContract>
-