Class DeclareInvoiceFluentHelper
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic<FluentHelperT,ObjectT,ResultT>
com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperFunction<FluentHelperT,ObjectT,ResultT>
com.sap.cloud.sdk.datamodel.odata.helper.SingleValuedFluentHelperFunction<DeclareInvoiceFluentHelper,OperationMessage,OperationMessage>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.incomingvatinvoicechina.DeclareInvoiceFluentHelper
- All Implemented Interfaces:
FluentHelperExecutable<Object>
public class DeclareInvoiceFluentHelper
extends SingleValuedFluentHelperFunction<DeclareInvoiceFluentHelper,OperationMessage,OperationMessage>
Fluent helper for the declareInvoice OData function import.
-
Field Summary
Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic
csrfTokenRetriever, entityCollection -
Constructor Summary
ConstructorsConstructorDescriptionDeclareInvoiceFluentHelper(String servicePath, UUID cN_TaxInvcUUID, String declnMonth, String declnYear) Creates a fluent helper object that will execute the declareInvoice OData function import with the provided parameters. -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.http.client.methods.HttpUriRequestcreateRequest(URI uri) executeRequest(HttpDestinationProperties destination) Execute this function import.protected Class<OperationMessage>protected Stringprotected com.google.gson.JsonElementrefineJsonResponse(com.google.gson.JsonElement jsonElement) Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperFunction
executeMultiple, executeSingle, getCsrfTokenRetriever, toRequest, withCsrfToken, withoutCsrfTokenMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic
getHeaders, getParametersForRequestOnly, getServicePath, getThis, withHeader, withHeaders, withQueryParameter
-
Constructor Details
-
DeclareInvoiceFluentHelper
public DeclareInvoiceFluentHelper(@Nonnull String servicePath, @Nonnull UUID cN_TaxInvcUUID, @Nonnull String declnMonth, @Nonnull String declnYear) Creates a fluent helper object that will execute the declareInvoice OData function import with the provided parameters. To perform execution, call theexecuteRequestmethod on the fluent helper object.- Parameters:
servicePath- Service path to be used to call the functions against.declnMonth- Constraints: Not nullable, Maximum length: 2Original parameter name from the Odata EDM: DeclnMonth
cN_TaxInvcUUID- UUIDConstraints: none
Original parameter name from the Odata EDM: CN_TaxInvcUUID
declnYear- Constraints: Not nullable, Maximum length: 4Original parameter name from the Odata EDM: DeclnYear
-
-
Method Details
-
getEntityClass
- Specified by:
getEntityClassin classFluentHelperBasic<DeclareInvoiceFluentHelper,OperationMessage, OperationMessage>
-
getFunctionName
- Specified by:
getFunctionNamein classFluentHelperFunction<DeclareInvoiceFluentHelper,OperationMessage, OperationMessage>
-
refineJsonResponse
@Nullable protected com.google.gson.JsonElement refineJsonResponse(@Nullable com.google.gson.JsonElement jsonElement) - Overrides:
refineJsonResponsein classFluentHelperFunction<DeclareInvoiceFluentHelper,OperationMessage, OperationMessage>
-
getParameters
- Specified by:
getParametersin classFluentHelperFunction<DeclareInvoiceFluentHelper,OperationMessage, OperationMessage>
-
createRequest
- Specified by:
createRequestin classFluentHelperFunction<DeclareInvoiceFluentHelper,OperationMessage, OperationMessage>
-
executeRequest
Execute this function import.- Specified by:
executeRequestin interfaceFluentHelperExecutable<Object>- Specified by:
executeRequestin classFluentHelperBasic<DeclareInvoiceFluentHelper,OperationMessage, OperationMessage>
-