All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultLineItemOfTreasuryPostingJournalEntryService Maven / Gradle / Ivy

/*
 * Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
 */

package com.sap.cloud.sdk.s4hana.datamodel.odata.services;

import java.util.UUID;

import javax.annotation.Nonnull;
import javax.inject.Named;

import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.lineitemoftreasurypostingjournalentry.TrsyPostgJrnlEntrItmByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.lineitemoftreasurypostingjournalentry.TrsyPostgJrnlEntrItmFluentHelper;

/**
 * 

* This inbound service enables you to read line items belonging to treasury posting journal entries. This gives you * detailed information about the posted and reversed flows of financial transactions and treasury positions. It is * based on the OData protocol and can be consumed in Fiori apps and on other user interfaces. *

*

* Business * Documentation *

*

* Reference: SAP * API Business Hub *

*

Details:

* * * * * * * * * * * * * * * * * * * * * *
OData Service:API_TRSYPOSTGJRNLENTRITM_SRV
API Version:1
Communication Scenario:Treasury Posting Journal Integration (SAP_COM_0333)
Scope Items:Market Data for Treasury and Risk Management (1XN)
Authentication Methods:Basic, x509, OAuth2
* */ @Named( "com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultLineItemOfTreasuryPostingJournalEntryService" ) public class DefaultLineItemOfTreasuryPostingJournalEntryService implements LineItemOfTreasuryPostingJournalEntryService { @Nonnull private final String servicePath; /** * Creates a service using {@link LineItemOfTreasuryPostingJournalEntryService#DEFAULT_SERVICE_PATH} to send the * requests. * */ public DefaultLineItemOfTreasuryPostingJournalEntryService() { servicePath = LineItemOfTreasuryPostingJournalEntryService.DEFAULT_SERVICE_PATH; } /** * Creates a service using the provided service path to send the requests. *

* Used by the fluent {@link #withServicePath(String)} method. * */ private DefaultLineItemOfTreasuryPostingJournalEntryService( @Nonnull final String servicePath ) { this.servicePath = servicePath; } @Override @Nonnull public DefaultLineItemOfTreasuryPostingJournalEntryService withServicePath( @Nonnull final String servicePath ) { return new DefaultLineItemOfTreasuryPostingJournalEntryService(servicePath); } @Override @Nonnull public TrsyPostgJrnlEntrItmFluentHelper getAllTrsyPostgJrnlEntrItm() { return new TrsyPostgJrnlEntrItmFluentHelper(servicePath); } @Override @Nonnull public TrsyPostgJrnlEntrItmByKeyFluentHelper getTrsyPostgJrnlEntrItmByKey( final UUID trsyAccountingDocumentUUID, final String accountingDocumentItemRef, final UUID trsyPositionContextUUID ) { return new TrsyPostgJrnlEntrItmByKeyFluentHelper( servicePath, trsyAccountingDocumentUUID, accountingDocumentItemRef, trsyPositionContextUUID); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy