@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultGoldenTaxInterfaceCustomerTypeService") public class DefaultGoldenTaxInterfaceCustomerTypeService extends Object implements GoldenTaxInterfaceCustomerTypeService
This service contains the customer type information for GTI. It is used to update the customer type so that the corresponding invoice types can be issued for customers. .
Reference: SAP API Business Hub
OData Service: | API_GTI_UPDATE_CUSTOMER_TYPE_SRV |
API Version: | 1 |
Communication Scenario: | Customer Type Integration (SAP_COM_0730) |
Scope Items: | Accounts Receivable (J59) |
Authentication Methods: | Basic, x509 |
Business Object: | CN_ValueAddedTaxInvoice |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultGoldenTaxInterfaceCustomerTypeService()
Creates a service using
GoldenTaxInterfaceCustomerTypeService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
DefaultGoldenTaxInterfaceCustomerTypeServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
GTICustomerFluentHelper |
getAllGTICustomer()
Fetch multiple
GTICustomer entities. |
GTICustomerByKeyFluentHelper |
getGTICustomerByKey(String customer)
Fetch a single
GTICustomer entity using key fields. |
UpdateGTICustomerFluentHelper |
updateGTICustomerType(String customer,
String customerType)
Creates a fluent helper for the UpdateGTICustomerType OData function import.
|
DefaultGoldenTaxInterfaceCustomerTypeService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultGoldenTaxInterfaceCustomerTypeService()
GoldenTaxInterfaceCustomerTypeService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultGoldenTaxInterfaceCustomerTypeService withServicePath(@Nonnull String servicePath)
GoldenTaxInterfaceCustomerTypeService
withServicePath
in interface GoldenTaxInterfaceCustomerTypeService
servicePath
- Service path that will override the default.@Nonnull public DefaultGoldenTaxInterfaceCustomerTypeServiceBatch batch()
batch
in interface BatchService<GoldenTaxInterfaceCustomerTypeServiceBatch>
@Nonnull public GTICustomerFluentHelper getAllGTICustomer()
GoldenTaxInterfaceCustomerTypeService
GTICustomer
entities.getAllGTICustomer
in interface GoldenTaxInterfaceCustomerTypeService
GTICustomer
entities. This fluent helper allows methods which modify the underlying query to be called
before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public GTICustomerByKeyFluentHelper getGTICustomerByKey(String customer)
GoldenTaxInterfaceCustomerTypeService
GTICustomer
entity using key fields.getGTICustomerByKey
in interface GoldenTaxInterfaceCustomerTypeService
customer
- Gives an alphanumeric key, which clearly identifies the customer or vendor in the SAP system.
Constraints: Not nullable, Maximum length: 10
GTICustomer
entity using key fields. This fluent helper allows methods which modify the underlying query
to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public UpdateGTICustomerFluentHelper updateGTICustomerType(@Nonnull String customer, @Nonnull String customerType)
GoldenTaxInterfaceCustomerTypeService
Creates a fluent helper for the UpdateGTICustomerType OData function import.
updateGTICustomerType
in interface GoldenTaxInterfaceCustomerTypeService
customer
- Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: Customer
customerType
- Constraints: Not nullable, Maximum length: 1
Original parameter name from the Odata EDM: CustomerType
execute
method on the fluent helper object.Copyright © 2021 SAP SE. All rights reserved.