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

com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultSalesQuotationService 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 javax.annotation.Nonnull;
import javax.inject.Named;

import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.salesquotation.SalesQuotation;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.salesquotation.SalesQuotationByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.salesquotation.SalesQuotationCreateFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.salesquotation.SalesQuotationDeleteFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.salesquotation.SalesQuotationFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.salesquotation.SalesQuotationItem;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.salesquotation.SalesQuotationItemByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.salesquotation.SalesQuotationItemCreateFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.salesquotation.SalesQuotationItemDeleteFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.salesquotation.SalesQuotationItemFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.salesquotation.SalesQuotationItemPartner;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.salesquotation.SalesQuotationItemPartnerByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.salesquotation.SalesQuotationItemPartnerDeleteFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.salesquotation.SalesQuotationItemPartnerFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.salesquotation.SalesQuotationItemPartnerUpdateFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.salesquotation.SalesQuotationItemPrcgElmnt;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.salesquotation.SalesQuotationItemPrcgElmntByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.salesquotation.SalesQuotationItemPrcgElmntDeleteFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.salesquotation.SalesQuotationItemPrcgElmntFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.salesquotation.SalesQuotationItemPrcgElmntUpdateFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.salesquotation.SalesQuotationItemUpdateFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.salesquotation.SalesQuotationPartner;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.salesquotation.SalesQuotationPartnerByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.salesquotation.SalesQuotationPartnerDeleteFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.salesquotation.SalesQuotationPartnerFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.salesquotation.SalesQuotationPartnerUpdateFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.salesquotation.SalesQuotationPrcgElmnt;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.salesquotation.SalesQuotationPrcgElmntByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.salesquotation.SalesQuotationPrcgElmntDeleteFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.salesquotation.SalesQuotationPrcgElmntFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.salesquotation.SalesQuotationPrcgElmntUpdateFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.salesquotation.SalesQuotationUpdateFluentHelper;

/**
 * 

* You can use this service to integrate external applications with sales quotation processing in SAP S/4HANA Cloud. In * every API call, you can make use of the following operations: - You can retrieve sales quotations. Apply any of the * filters provided or retrieve all existing data. - You can create sales quotations. Note that you must use “deep * insert” requests (a header plus the following entities: header partner, header pricing element, item, item partner, * and item pricing element). You cannot create entities without including any related entities. - For existing sales * quotations, you can create new items. Note that you must use “deep insert” requests (with the following entities: * item partner and item pricing element). You cannot create entities without including any related entities. - For * existing sales quotations, you can update the header, header partner, header pricing element, item, item partner, and * item pricing element. - For existing sales quotations, you can delete the header, header partner, header pricing * element, item, item partner, and item pricing element.. *

*

* Business * Documentation *

*

* Reference: SAP * API Business Hub *

*

Details:

* * * * * * * * * * * * * * * * * * * * * * * * * *
OData Service:API_SALES_QUOTATION_SRV
API Version:1
Communication Scenario:Sales Quotation Integration (SAP_COM_0118)
Scope Items:Sales Quotation (BDG)
Authentication Methods:Basic, x509
Business Object:SalesQuotation
* */ @Named( "com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultSalesQuotationService" ) public class DefaultSalesQuotationService implements SalesQuotationService { @Nonnull private final String servicePath; /** * Creates a service using {@link SalesQuotationService#DEFAULT_SERVICE_PATH} to send the requests. * */ public DefaultSalesQuotationService() { servicePath = SalesQuotationService.DEFAULT_SERVICE_PATH; } /** * Creates a service using the provided service path to send the requests. *

* Used by the fluent {@link #withServicePath(String)} method. * */ private DefaultSalesQuotationService( @Nonnull final String servicePath ) { this.servicePath = servicePath; } @Override @Nonnull public DefaultSalesQuotationService withServicePath( @Nonnull final String servicePath ) { return new DefaultSalesQuotationService(servicePath); } @Override @Nonnull public SalesQuotationFluentHelper getAllSalesQuotation() { return new SalesQuotationFluentHelper(servicePath); } @Override @Nonnull public SalesQuotationByKeyFluentHelper getSalesQuotationByKey( final String salesQuotation ) { return new SalesQuotationByKeyFluentHelper(servicePath, salesQuotation); } @Override @Nonnull public SalesQuotationCreateFluentHelper createSalesQuotation( @Nonnull final SalesQuotation salesQuotation ) { return new SalesQuotationCreateFluentHelper(servicePath, salesQuotation); } @Override @Nonnull public SalesQuotationUpdateFluentHelper updateSalesQuotation( @Nonnull final SalesQuotation salesQuotation ) { return new SalesQuotationUpdateFluentHelper(servicePath, salesQuotation); } @Override @Nonnull public SalesQuotationDeleteFluentHelper deleteSalesQuotation( @Nonnull final SalesQuotation salesQuotation ) { return new SalesQuotationDeleteFluentHelper(servicePath, salesQuotation); } @Override @Nonnull public SalesQuotationItemFluentHelper getAllSalesQuotationItem() { return new SalesQuotationItemFluentHelper(servicePath); } @Override @Nonnull public SalesQuotationItemByKeyFluentHelper getSalesQuotationItemByKey( final String salesQuotation, final String salesQuotationItem ) { return new SalesQuotationItemByKeyFluentHelper(servicePath, salesQuotation, salesQuotationItem); } @Override @Nonnull public SalesQuotationItemCreateFluentHelper createSalesQuotationItem( @Nonnull final SalesQuotationItem salesQuotationItem ) { return new SalesQuotationItemCreateFluentHelper(servicePath, salesQuotationItem); } @Override @Nonnull public SalesQuotationItemUpdateFluentHelper updateSalesQuotationItem( @Nonnull final SalesQuotationItem salesQuotationItem ) { return new SalesQuotationItemUpdateFluentHelper(servicePath, salesQuotationItem); } @Override @Nonnull public SalesQuotationItemDeleteFluentHelper deleteSalesQuotationItem( @Nonnull final SalesQuotationItem salesQuotationItem ) { return new SalesQuotationItemDeleteFluentHelper(servicePath, salesQuotationItem); } @Override @Nonnull public SalesQuotationItemPartnerFluentHelper getAllSalesQuotationItemPartner() { return new SalesQuotationItemPartnerFluentHelper(servicePath); } @Override @Nonnull public SalesQuotationItemPartnerByKeyFluentHelper getSalesQuotationItemPartnerByKey( final String salesQuotation, final String salesQuotationItem, final String partnerFunction ) { return new SalesQuotationItemPartnerByKeyFluentHelper( servicePath, salesQuotation, salesQuotationItem, partnerFunction); } @Override @Nonnull public SalesQuotationItemPartnerUpdateFluentHelper updateSalesQuotationItemPartner( @Nonnull final SalesQuotationItemPartner salesQuotationItemPartner ) { return new SalesQuotationItemPartnerUpdateFluentHelper(servicePath, salesQuotationItemPartner); } @Override @Nonnull public SalesQuotationItemPartnerDeleteFluentHelper deleteSalesQuotationItemPartner( @Nonnull final SalesQuotationItemPartner salesQuotationItemPartner ) { return new SalesQuotationItemPartnerDeleteFluentHelper(servicePath, salesQuotationItemPartner); } @Override @Nonnull public SalesQuotationItemPrcgElmntFluentHelper getAllSalesQuotationItemPrcgElmnt() { return new SalesQuotationItemPrcgElmntFluentHelper(servicePath); } @Override @Nonnull public SalesQuotationItemPrcgElmntByKeyFluentHelper getSalesQuotationItemPrcgElmntByKey( final String salesQuotation, final String salesQuotationItem, final String pricingProcedureStep, final String pricingProcedureCounter ) { return new SalesQuotationItemPrcgElmntByKeyFluentHelper( servicePath, salesQuotation, salesQuotationItem, pricingProcedureStep, pricingProcedureCounter); } @Override @Nonnull public SalesQuotationItemPrcgElmntUpdateFluentHelper updateSalesQuotationItemPrcgElmnt( @Nonnull final SalesQuotationItemPrcgElmnt salesQuotationItemPrcgElmnt ) { return new SalesQuotationItemPrcgElmntUpdateFluentHelper(servicePath, salesQuotationItemPrcgElmnt); } @Override @Nonnull public SalesQuotationItemPrcgElmntDeleteFluentHelper deleteSalesQuotationItemPrcgElmnt( @Nonnull final SalesQuotationItemPrcgElmnt salesQuotationItemPrcgElmnt ) { return new SalesQuotationItemPrcgElmntDeleteFluentHelper(servicePath, salesQuotationItemPrcgElmnt); } @Override @Nonnull public SalesQuotationPartnerFluentHelper getAllSalesQuotationPartner() { return new SalesQuotationPartnerFluentHelper(servicePath); } @Override @Nonnull public SalesQuotationPartnerByKeyFluentHelper getSalesQuotationPartnerByKey( final String salesQuotation, final String partnerFunction ) { return new SalesQuotationPartnerByKeyFluentHelper(servicePath, salesQuotation, partnerFunction); } @Override @Nonnull public SalesQuotationPartnerUpdateFluentHelper updateSalesQuotationPartner( @Nonnull final SalesQuotationPartner salesQuotationPartner ) { return new SalesQuotationPartnerUpdateFluentHelper(servicePath, salesQuotationPartner); } @Override @Nonnull public SalesQuotationPartnerDeleteFluentHelper deleteSalesQuotationPartner( @Nonnull final SalesQuotationPartner salesQuotationPartner ) { return new SalesQuotationPartnerDeleteFluentHelper(servicePath, salesQuotationPartner); } @Override @Nonnull public SalesQuotationPrcgElmntFluentHelper getAllSalesQuotationPrcgElmnt() { return new SalesQuotationPrcgElmntFluentHelper(servicePath); } @Override @Nonnull public SalesQuotationPrcgElmntByKeyFluentHelper getSalesQuotationPrcgElmntByKey( final String salesQuotation, final String pricingProcedureStep, final String pricingProcedureCounter ) { return new SalesQuotationPrcgElmntByKeyFluentHelper( servicePath, salesQuotation, pricingProcedureStep, pricingProcedureCounter); } @Override @Nonnull public SalesQuotationPrcgElmntUpdateFluentHelper updateSalesQuotationPrcgElmnt( @Nonnull final SalesQuotationPrcgElmnt salesQuotationPrcgElmnt ) { return new SalesQuotationPrcgElmntUpdateFluentHelper(servicePath, salesQuotationPrcgElmnt); } @Override @Nonnull public SalesQuotationPrcgElmntDeleteFluentHelper deleteSalesQuotationPrcgElmnt( @Nonnull final SalesQuotationPrcgElmnt salesQuotationPrcgElmnt ) { return new SalesQuotationPrcgElmntDeleteFluentHelper(servicePath, salesQuotationPrcgElmnt); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy