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