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

com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultInboundDeliveryV2Service 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.math.BigDecimal;
import java.time.LocalDateTime;

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

import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.inbounddeliveryv2.ConfirmPutawayAllItemsFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.inbounddeliveryv2.ConfirmPutawayOneItemFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.inbounddeliveryv2.InbDeliveryDocFlow;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.inbounddeliveryv2.InbDeliveryDocFlowByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.inbounddeliveryv2.InbDeliveryDocFlowUpdateFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.inbounddeliveryv2.InbDeliveryHeader;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.inbounddeliveryv2.InbDeliveryHeaderByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.inbounddeliveryv2.InbDeliveryHeaderCreateFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.inbounddeliveryv2.InbDeliveryHeaderDeleteFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.inbounddeliveryv2.InbDeliveryHeaderFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.inbounddeliveryv2.InbDeliveryHeaderUpdateFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.inbounddeliveryv2.InbDeliveryItem;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.inbounddeliveryv2.InbDeliveryItemByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.inbounddeliveryv2.InbDeliveryItemDeleteFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.inbounddeliveryv2.InbDeliveryItemFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.inbounddeliveryv2.InbDeliveryItemUpdateFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.inbounddeliveryv2.InbDeliveryPartnerByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.inbounddeliveryv2.InbDeliverySerialNmbr;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.inbounddeliveryv2.InbDeliverySerialNmbrByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.inbounddeliveryv2.InbDeliverySerialNmbrCreateFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.inbounddeliveryv2.MaintenanceItemObjList;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.inbounddeliveryv2.MaintenanceItemObjListByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.inbounddeliveryv2.MaintenanceItemObjListCreateFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.inbounddeliveryv2.MaintenanceItemObjListDeleteFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.inbounddeliveryv2.MaintenanceItemObjListFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.inbounddeliveryv2.MaintenanceItemObjListUpdateFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.inbounddeliveryv2.PostGoodsReceiptFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.inbounddeliveryv2.PutawayAllItemsFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.inbounddeliveryv2.PutawayOneItemFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.inbounddeliveryv2.PutawayOneItemWithBaseQuantityFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.inbounddeliveryv2.PutawayOneItemWithSalesQuantityFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.inbounddeliveryv2.ReverseGoodsReceiptFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.inbounddeliveryv2.SetPutawayQuantityWithBaseQuantityFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.inbounddeliveryv2.batch.DefaultInboundDeliveryV2ServiceBatch;

/**
 * 

* This service enables you to read, create, update, and delete inbound deliveries in an API call. It can be consumed in * Fiori apps and on other user interfaces. *

*

* Business * Documentation *

*

* Reference: SAP * API Business Hub *

*

Details:

* * * * * * * * * * * * * * * * * * * * * * * * * *
OData Service:API_INBOUND_DELIVERY_SRV_0002
API Version:2
Communication Scenario:Delivery Processing Integration (SAP_COM_0106)
Scope Items:Delivery Processing without Order Reference (1MI), * Sell from Stock (BD9), * Free of Charge Delivery (BDA), * Accelerated Customer Returns (BKP), * Procurement of Direct Materials (J45)
Authentication Methods:Basic, x509
Business Object:InboundDelivery
* */ @Named( "com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultInboundDeliveryV2Service" ) public class DefaultInboundDeliveryV2Service implements InboundDeliveryV2Service { @Nonnull private final String servicePath; /** * Creates a service using {@link InboundDeliveryV2Service#DEFAULT_SERVICE_PATH} to send the requests. * */ public DefaultInboundDeliveryV2Service() { servicePath = InboundDeliveryV2Service.DEFAULT_SERVICE_PATH; } /** * Creates a service using the provided service path to send the requests. *

* Used by the fluent {@link #withServicePath(String)} method. * */ private DefaultInboundDeliveryV2Service( @Nonnull final String servicePath ) { this.servicePath = servicePath; } @Override @Nonnull public DefaultInboundDeliveryV2Service withServicePath( @Nonnull final String servicePath ) { return new DefaultInboundDeliveryV2Service(servicePath); } /** * {@inheritDoc} * */ @Override @Nonnull public DefaultInboundDeliveryV2ServiceBatch batch() { return new DefaultInboundDeliveryV2ServiceBatch(this); } @Override @Nonnull public MaintenanceItemObjListFluentHelper getAllMaintenanceItemObjList() { return new MaintenanceItemObjListFluentHelper(servicePath); } @Override @Nonnull public MaintenanceItemObjListByKeyFluentHelper getMaintenanceItemObjListByKey( final Integer maintenanceItemObject, final Long maintenanceItemObjectList ) { return new MaintenanceItemObjListByKeyFluentHelper( servicePath, maintenanceItemObject, maintenanceItemObjectList); } @Override @Nonnull public MaintenanceItemObjListCreateFluentHelper createMaintenanceItemObjList( @Nonnull final MaintenanceItemObjList maintenanceItemObjList ) { return new MaintenanceItemObjListCreateFluentHelper(servicePath, maintenanceItemObjList); } @Override @Nonnull public MaintenanceItemObjListUpdateFluentHelper updateMaintenanceItemObjList( @Nonnull final MaintenanceItemObjList maintenanceItemObjList ) { return new MaintenanceItemObjListUpdateFluentHelper(servicePath, maintenanceItemObjList); } @Override @Nonnull public MaintenanceItemObjListDeleteFluentHelper deleteMaintenanceItemObjList( @Nonnull final MaintenanceItemObjList maintenanceItemObjList ) { return new MaintenanceItemObjListDeleteFluentHelper(servicePath, maintenanceItemObjList); } @Override @Nonnull public InbDeliveryDocFlowByKeyFluentHelper getInbDeliveryDocFlowByKey( final String precedingDocument, final String precedingDocumentItem, final String subsequentDocumentCategory ) { return new InbDeliveryDocFlowByKeyFluentHelper( servicePath, precedingDocument, precedingDocumentItem, subsequentDocumentCategory); } @Override @Nonnull public InbDeliveryDocFlowUpdateFluentHelper updateInbDeliveryDocFlow( @Nonnull final InbDeliveryDocFlow inbDeliveryDocFlow ) { return new InbDeliveryDocFlowUpdateFluentHelper(servicePath, inbDeliveryDocFlow); } @Override @Nonnull public InbDeliveryHeaderFluentHelper getAllInbDeliveryHeader() { return new InbDeliveryHeaderFluentHelper(servicePath); } @Override @Nonnull public InbDeliveryHeaderByKeyFluentHelper getInbDeliveryHeaderByKey( final String deliveryDocument ) { return new InbDeliveryHeaderByKeyFluentHelper(servicePath, deliveryDocument); } @Override @Nonnull public InbDeliveryHeaderCreateFluentHelper createInbDeliveryHeader( @Nonnull final InbDeliveryHeader inbDeliveryHeader ) { return new InbDeliveryHeaderCreateFluentHelper(servicePath, inbDeliveryHeader); } @Override @Nonnull public InbDeliveryHeaderUpdateFluentHelper updateInbDeliveryHeader( @Nonnull final InbDeliveryHeader inbDeliveryHeader ) { return new InbDeliveryHeaderUpdateFluentHelper(servicePath, inbDeliveryHeader); } @Override @Nonnull public InbDeliveryHeaderDeleteFluentHelper deleteInbDeliveryHeader( @Nonnull final InbDeliveryHeader inbDeliveryHeader ) { return new InbDeliveryHeaderDeleteFluentHelper(servicePath, inbDeliveryHeader); } @Override @Nonnull public InbDeliveryItemFluentHelper getAllInbDeliveryItem() { return new InbDeliveryItemFluentHelper(servicePath); } @Override @Nonnull public InbDeliveryItemByKeyFluentHelper getInbDeliveryItemByKey( final String deliveryDocument, final String deliveryDocumentItem ) { return new InbDeliveryItemByKeyFluentHelper(servicePath, deliveryDocument, deliveryDocumentItem); } @Override @Nonnull public InbDeliveryItemUpdateFluentHelper updateInbDeliveryItem( @Nonnull final InbDeliveryItem inbDeliveryItem ) { return new InbDeliveryItemUpdateFluentHelper(servicePath, inbDeliveryItem); } @Override @Nonnull public InbDeliveryItemDeleteFluentHelper deleteInbDeliveryItem( @Nonnull final InbDeliveryItem inbDeliveryItem ) { return new InbDeliveryItemDeleteFluentHelper(servicePath, inbDeliveryItem); } @Override @Nonnull public InbDeliveryPartnerByKeyFluentHelper getInbDeliveryPartnerByKey( final String partnerFunction, final String sDDocument ) { return new InbDeliveryPartnerByKeyFluentHelper(servicePath, partnerFunction, sDDocument); } @Override @Nonnull public InbDeliverySerialNmbrByKeyFluentHelper getInbDeliverySerialNmbrByKey( final Long maintenanceItemObjectList ) { return new InbDeliverySerialNmbrByKeyFluentHelper(servicePath, maintenanceItemObjectList); } @Override @Nonnull public InbDeliverySerialNmbrCreateFluentHelper createInbDeliverySerialNmbr( @Nonnull final InbDeliverySerialNmbr inbDeliverySerialNmbr ) { return new InbDeliverySerialNmbrCreateFluentHelper(servicePath, inbDeliverySerialNmbr); } @Override @Nonnull public ConfirmPutawayAllItemsFluentHelper confirmPutawayAllItems( final String deliveryDocument ) { return new ConfirmPutawayAllItemsFluentHelper(servicePath, deliveryDocument); } @Override @Nonnull public ConfirmPutawayOneItemFluentHelper confirmPutawayOneItem( final String deliveryDocument, final String deliveryDocumentItem ) { return new ConfirmPutawayOneItemFluentHelper(servicePath, deliveryDocument, deliveryDocumentItem); } @Override @Nonnull public PostGoodsReceiptFluentHelper postGoodsReceipt( final String deliveryDocument ) { return new PostGoodsReceiptFluentHelper(servicePath, deliveryDocument); } @Override @Nonnull public PutawayAllItemsFluentHelper putawayAllItems( final String deliveryDocument ) { return new PutawayAllItemsFluentHelper(servicePath, deliveryDocument); } @Override @Nonnull public PutawayOneItemFluentHelper putawayOneItem( final String deliveryDocument, final String deliveryDocumentItem ) { return new PutawayOneItemFluentHelper(servicePath, deliveryDocument, deliveryDocumentItem); } @Override @Nonnull public ReverseGoodsReceiptFluentHelper reverseGoodsReceipt( final String deliveryDocument, final LocalDateTime actualGoodsMovementDate ) { return new ReverseGoodsReceiptFluentHelper(servicePath, deliveryDocument, actualGoodsMovementDate); } @Override @Nonnull public SetPutawayQuantityWithBaseQuantityFluentHelper setPutawayQuantityWithBaseQuantity( final BigDecimal actualDeliveredQtyInBaseUnit, final String baseUnit, final String deliveryDocument, final String deliveryDocumentItem ) { return new SetPutawayQuantityWithBaseQuantityFluentHelper( servicePath, actualDeliveredQtyInBaseUnit, baseUnit, deliveryDocument, deliveryDocumentItem); } @Override @Nonnull public PutawayOneItemWithBaseQuantityFluentHelper putawayOneItemWithBaseQuantity( final BigDecimal actualDeliveredQtyInBaseUnit, final String baseUnit, final String deliveryDocument, final String deliveryDocumentItem ) { return new PutawayOneItemWithBaseQuantityFluentHelper( servicePath, actualDeliveredQtyInBaseUnit, baseUnit, deliveryDocument, deliveryDocumentItem); } @Override @Nonnull public PutawayOneItemWithSalesQuantityFluentHelper putawayOneItemWithSalesQuantity( final BigDecimal actualDeliveryQuantity, final String deliveryDocument, final String deliveryDocumentItem, final String deliveryQuantityUnit ) { return new PutawayOneItemWithSalesQuantityFluentHelper( servicePath, actualDeliveryQuantity, deliveryDocument, deliveryDocumentItem, deliveryQuantityUnit); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy