@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultBrazilBusinessPlaceService") public class DefaultBrazilBusinessPlaceService extends Object implements BrazilBusinessPlaceService
This service is based on the OData protocol and can be consumed in Brazilian integration scenarios. Once the business place and company code numbers have been informed, the system returns business place data such as address, tax jurisdiction, telephone, CNPJ number, and municipal tax number.
Reference: SAP API Business Hub
OData Service: | API_LOGBR_BUSINESS_PLACE_SRV |
API Version: | 1 |
Communication Scenario: | Logistics - Brazil Business Place Detail Integration (SAP_COM_0365) |
Authentication Methods: | Basic, x509 |
Business Object: | BR_NotaFiscal |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultBrazilBusinessPlaceService()
Creates a service using
BrazilBusinessPlaceService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
DefaultBrazilBusinessPlaceServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
BusinessPlaceByKeyFluentHelper |
getBusinessPlaceByKey(String branch,
String companyCode)
Fetch a single
BusinessPlace entity using key fields. |
DefaultBrazilBusinessPlaceService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultBrazilBusinessPlaceService()
BrazilBusinessPlaceService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultBrazilBusinessPlaceService withServicePath(@Nonnull String servicePath)
BrazilBusinessPlaceService
withServicePath
in interface BrazilBusinessPlaceService
servicePath
- Service path that will override the default.@Nonnull public DefaultBrazilBusinessPlaceServiceBatch batch()
batch
in interface BatchService<BrazilBusinessPlaceServiceBatch>
@Nonnull public BusinessPlaceByKeyFluentHelper getBusinessPlaceByKey(String branch, String companyCode)
BrazilBusinessPlaceService
BusinessPlace
entity using key fields.getBusinessPlaceByKey
in interface BrazilBusinessPlaceService
branch
- Specifies the business place.
Constraints: Not nullable, Maximum length: 4
companyCode
- The company code is an organizational unit within financial accounting.
Constraints: Not nullable, Maximum length: 4
BusinessPlace
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.Copyright © 2021 SAP SE. All rights reserved.