Class DefaultBillingDocumentService
- All Implemented Interfaces:
BatchService<BillingDocumentServiceBatch>,BillingDocumentService
Consumers of this inbound service can read and cancel billing documents inside your system by sending OData requests. In addition, they can request entire billing documents in PDF format. The service makes billing document data available through its header, item, business partner, and pricing element entities..
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_BILLING_DOCUMENT_SRV |
| API Version: | 1.1.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Billing Integration(SAP_COM_0120), Excise Tax Integration(SAP_COM_0568) |
| Scope Items: | External Billing(1Z6), External Billing(OZ6), Enablement of SAP Excise Tax Management(4LO) |
| Authentication Methods: | x509 |
| Business Object: | Billing Document |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odata.services.BillingDocumentService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingBillingDocumentService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Deprecated.Creates a fluent helper for the Cancel OData function import.Deprecated.Fetch multipleBillingDocumententities.Deprecated.Fetch multipleBillingDocumentItementities.Deprecated.Fetch multipleBillingDocumentItemPartnerentities.Deprecated.Fetch multipleBillingDocumentItemPrcgElmntentities.Deprecated.Fetch multipleBillingDocumentItemTextentities.Deprecated.Fetch multipleBillingDocumentPartnerentities.Deprecated.Fetch multipleBillingDocumentPrcgElmntentities.Deprecated.Fetch multipleBillingDocumentTextentities.getBillingDocumentByKey(String billingDocument) Deprecated.Fetch a singleBillingDocumententity using key fields.getBillingDocumentItemByKey(String billingDocument, String billingDocumentItem) Deprecated.Fetch a singleBillingDocumentItementity using key fields.getBillingDocumentItemPartnerByKey(String billingDocument, String billingDocumentItem, String partnerFunction) Deprecated.Fetch a singleBillingDocumentItemPartnerentity using key fields.getBillingDocumentItemPrcgElmntByKey(String billingDocument, String billingDocumentItem, String pricingProcedureStep, String pricingProcedureCounter) Deprecated.Fetch a singleBillingDocumentItemPrcgElmntentity using key fields.getBillingDocumentItemTextByKey(String billingDocument, String billingDocumentItem, String language, String longTextID) Deprecated.Fetch a singleBillingDocumentItemTextentity using key fields.getBillingDocumentPartnerByKey(String billingDocument, String partnerFunction) Deprecated.Fetch a singleBillingDocumentPartnerentity using key fields.getBillingDocumentPrcgElmntByKey(String billingDocument, String pricingProcedureStep, String pricingProcedureCounter) Deprecated.Fetch a singleBillingDocumentPrcgElmntentity using key fields.getBillingDocumentTextByKey(String billingDocument, String language, String longTextID) Deprecated.Fetch a singleBillingDocumentTextentity using key fields.Deprecated.Creates a fluent helper for the GetPDF OData function import.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.
-
Constructor Details
-
DefaultBillingDocumentService
public DefaultBillingDocumentService()Deprecated.Creates a service usingBillingDocumentService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:BillingDocumentServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceBillingDocumentService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.- Specified by:
batchin interfaceBatchService<BillingDocumentServiceBatch>
-
getAllBillingDocument
Deprecated.Description copied from interface:BillingDocumentServiceFetch multipleBillingDocumententities.- Specified by:
getAllBillingDocumentin interfaceBillingDocumentService- Returns:
- A fluent helper to fetch multiple
BillingDocumententities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getBillingDocumentByKey
Deprecated.Description copied from interface:BillingDocumentServiceFetch a singleBillingDocumententity using key fields.- Specified by:
getBillingDocumentByKeyin interfaceBillingDocumentService- Parameters:
billingDocument- Billing DocumentConstraints: Not nullable, Maximum length: 10
- Returns:
- A fluent helper to fetch a single
BillingDocumententity 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 theexecutemethod on the fluent helper object.
-
getAllBillingDocumentItem
Deprecated.Description copied from interface:BillingDocumentServiceFetch multipleBillingDocumentItementities.- Specified by:
getAllBillingDocumentItemin interfaceBillingDocumentService- Returns:
- A fluent helper to fetch multiple
BillingDocumentItementities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getBillingDocumentItemByKey
@Nonnull public BillingDocumentItemByKeyFluentHelper getBillingDocumentItemByKey(String billingDocument, String billingDocumentItem) Deprecated.Description copied from interface:BillingDocumentServiceFetch a singleBillingDocumentItementity using key fields.- Specified by:
getBillingDocumentItemByKeyin interfaceBillingDocumentService- Parameters:
billingDocument- Billing DocumentConstraints: Not nullable, Maximum length: 10
billingDocumentItem- Billing ItemConstraints: Not nullable, Maximum length: 6
- Returns:
- A fluent helper to fetch a single
BillingDocumentItementity 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 theexecutemethod on the fluent helper object.
-
getAllBillingDocumentItemPartner
Deprecated.Description copied from interface:BillingDocumentServiceFetch multipleBillingDocumentItemPartnerentities.- Specified by:
getAllBillingDocumentItemPartnerin interfaceBillingDocumentService- Returns:
- A fluent helper to fetch multiple
BillingDocumentItemPartnerentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getBillingDocumentItemPartnerByKey
@Nonnull public BillingDocumentItemPartnerByKeyFluentHelper getBillingDocumentItemPartnerByKey(String billingDocument, String billingDocumentItem, String partnerFunction) Deprecated.Description copied from interface:BillingDocumentServiceFetch a singleBillingDocumentItemPartnerentity using key fields.- Specified by:
getBillingDocumentItemPartnerByKeyin interfaceBillingDocumentService- Parameters:
billingDocument- Billing DocumentConstraints: Not nullable, Maximum length: 10
billingDocumentItem- Billing ItemConstraints: Not nullable, Maximum length: 6
partnerFunction- Partner FunctionConstraints: Not nullable, Maximum length: 2
- Returns:
- A fluent helper to fetch a single
BillingDocumentItemPartnerentity 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 theexecutemethod on the fluent helper object.
-
getAllBillingDocumentItemPrcgElmnt
Deprecated.Description copied from interface:BillingDocumentServiceFetch multipleBillingDocumentItemPrcgElmntentities.- Specified by:
getAllBillingDocumentItemPrcgElmntin interfaceBillingDocumentService- Returns:
- A fluent helper to fetch multiple
BillingDocumentItemPrcgElmntentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getBillingDocumentItemPrcgElmntByKey
@Nonnull public BillingDocumentItemPrcgElmntByKeyFluentHelper getBillingDocumentItemPrcgElmntByKey(String billingDocument, String billingDocumentItem, String pricingProcedureStep, String pricingProcedureCounter) Deprecated.Description copied from interface:BillingDocumentServiceFetch a singleBillingDocumentItemPrcgElmntentity using key fields.- Specified by:
getBillingDocumentItemPrcgElmntByKeyin interfaceBillingDocumentService- Parameters:
billingDocument- Billing DocumentConstraints: Not nullable, Maximum length: 10
billingDocumentItem- Billing ItemConstraints: Not nullable, Maximum length: 6
pricingProcedureStep- Step NumberConstraints: Not nullable, Maximum length: 3
pricingProcedureCounter- Condition CounterConstraints: Not nullable, Maximum length: 3
- Returns:
- A fluent helper to fetch a single
BillingDocumentItemPrcgElmntentity 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 theexecutemethod on the fluent helper object.
-
getAllBillingDocumentItemText
Deprecated.Description copied from interface:BillingDocumentServiceFetch multipleBillingDocumentItemTextentities.- Specified by:
getAllBillingDocumentItemTextin interfaceBillingDocumentService- Returns:
- A fluent helper to fetch multiple
BillingDocumentItemTextentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getBillingDocumentItemTextByKey
@Nonnull public BillingDocumentItemTextByKeyFluentHelper getBillingDocumentItemTextByKey(String billingDocument, String billingDocumentItem, String language, String longTextID) Deprecated.Description copied from interface:BillingDocumentServiceFetch a singleBillingDocumentItemTextentity using key fields.- Specified by:
getBillingDocumentItemTextByKeyin interfaceBillingDocumentService- Parameters:
billingDocument- Billing DocumentConstraints: Not nullable, Maximum length: 10
billingDocumentItem- Billing ItemConstraints: Not nullable, Maximum length: 6
language- Language KeyConstraints: Not nullable, Maximum length: 2
longTextID- Text IDConstraints: Not nullable, Maximum length: 4
- Returns:
- A fluent helper to fetch a single
BillingDocumentItemTextentity 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 theexecutemethod on the fluent helper object.
-
getAllBillingDocumentPartner
Deprecated.Description copied from interface:BillingDocumentServiceFetch multipleBillingDocumentPartnerentities.- Specified by:
getAllBillingDocumentPartnerin interfaceBillingDocumentService- Returns:
- A fluent helper to fetch multiple
BillingDocumentPartnerentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getBillingDocumentPartnerByKey
@Nonnull public BillingDocumentPartnerByKeyFluentHelper getBillingDocumentPartnerByKey(String billingDocument, String partnerFunction) Deprecated.Description copied from interface:BillingDocumentServiceFetch a singleBillingDocumentPartnerentity using key fields.- Specified by:
getBillingDocumentPartnerByKeyin interfaceBillingDocumentService- Parameters:
billingDocument- Billing DocumentConstraints: Not nullable, Maximum length: 10
partnerFunction- Partner FunctionConstraints: Not nullable, Maximum length: 2
- Returns:
- A fluent helper to fetch a single
BillingDocumentPartnerentity 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 theexecutemethod on the fluent helper object.
-
getAllBillingDocumentPrcgElmnt
Deprecated.Description copied from interface:BillingDocumentServiceFetch multipleBillingDocumentPrcgElmntentities.- Specified by:
getAllBillingDocumentPrcgElmntin interfaceBillingDocumentService- Returns:
- A fluent helper to fetch multiple
BillingDocumentPrcgElmntentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getBillingDocumentPrcgElmntByKey
@Nonnull public BillingDocumentPrcgElmntByKeyFluentHelper getBillingDocumentPrcgElmntByKey(String billingDocument, String pricingProcedureStep, String pricingProcedureCounter) Deprecated.Description copied from interface:BillingDocumentServiceFetch a singleBillingDocumentPrcgElmntentity using key fields.- Specified by:
getBillingDocumentPrcgElmntByKeyin interfaceBillingDocumentService- Parameters:
billingDocument- Billing DocumentConstraints: Not nullable, Maximum length: 10
pricingProcedureStep- Step NumberConstraints: Not nullable, Maximum length: 3
pricingProcedureCounter- Condition CounterConstraints: Not nullable, Maximum length: 3
- Returns:
- A fluent helper to fetch a single
BillingDocumentPrcgElmntentity 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 theexecutemethod on the fluent helper object.
-
getAllBillingDocumentText
Deprecated.Description copied from interface:BillingDocumentServiceFetch multipleBillingDocumentTextentities.- Specified by:
getAllBillingDocumentTextin interfaceBillingDocumentService- Returns:
- A fluent helper to fetch multiple
BillingDocumentTextentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getBillingDocumentTextByKey
@Nonnull public BillingDocumentTextByKeyFluentHelper getBillingDocumentTextByKey(String billingDocument, String language, String longTextID) Deprecated.Description copied from interface:BillingDocumentServiceFetch a singleBillingDocumentTextentity using key fields.- Specified by:
getBillingDocumentTextByKeyin interfaceBillingDocumentService- Parameters:
billingDocument- Billing DocumentConstraints: Not nullable, Maximum length: 10
language- Language KeyConstraints: Not nullable, Maximum length: 2
longTextID- Text IDConstraints: Not nullable, Maximum length: 4
- Returns:
- A fluent helper to fetch a single
BillingDocumentTextentity 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 theexecutemethod on the fluent helper object.
-
cancel
Deprecated.Description copied from interface:BillingDocumentServiceCreates a fluent helper for the Cancel OData function import.
- Specified by:
cancelin interfaceBillingDocumentService- Parameters:
billingDocument- Constraints: Not nullable, Maximum length: 11000Original parameter name from the Odata EDM: BillingDocument
- Returns:
- A fluent helper object that will execute the Cancel OData function import with the provided
parameters. To perform execution, call the
executemethod on the fluent helper object.
-
getPDF
Deprecated.Description copied from interface:BillingDocumentServiceCreates a fluent helper for the GetPDF OData function import.
- Specified by:
getPDFin interfaceBillingDocumentService- Parameters:
billingDocument- Constraints: Not nullable, Maximum length: 11000Original parameter name from the Odata EDM: BillingDocument
- Returns:
- A fluent helper object that will execute the GetPDF OData function import with the provided
parameters. To perform execution, call the
executemethod on the fluent helper object.
-