Class DefaultPurchaseContractV2ServiceBatchChangeSet
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.batch.BatchChangeSetFluentHelperBasic<PurchaseContractV2ServiceBatch,PurchaseContractV2ServiceBatchChangeSet>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.purchasecontractv2.batch.DefaultPurchaseContractV2ServiceBatchChangeSet
- All Implemented Interfaces:
FluentHelperBatchChangeSet<PurchaseContractV2ServiceBatchChangeSet>,FluentHelperBatchEndChangeSet<PurchaseContractV2ServiceBatch>,PurchaseContractV2ServiceBatchChangeSet
public class DefaultPurchaseContractV2ServiceBatchChangeSet
extends BatchChangeSetFluentHelperBasic<PurchaseContractV2ServiceBatch,PurchaseContractV2ServiceBatchChangeSet>
implements PurchaseContractV2ServiceBatchChangeSet
Implementation of the
PurchaseContractV2ServiceBatchChangeSet interface, enabling you to combine multiple
operations into one changeset. For further information have a look into the
PurchaseContractV2Service.-
Method Summary
Modifier and TypeMethodDescriptioncreatePurchaseContract(PurchaseContract purchaseContract) Create a newPurchaseContractentity and save it to the S/4HANA system.createPurchaseContractItem(PurchaseContractItem purchaseContractItem) Create a newPurchaseContractItementity and save it to the S/4HANA system.createPurchaseContractItemNotes(PurchaseContractItemNotes purchaseContractItemNotes) Create a newPurchaseContractItemNotesentity and save it to the S/4HANA system.createPurchaseContractNotes(PurchaseContractNotes purchaseContractNotes) Create a newPurchaseContractNotesentity and save it to the S/4HANA system.createPurCtrAccount(PurCtrAccount purCtrAccount) Create a newPurCtrAccountentity and save it to the S/4HANA system.createPurCtrAddress(PurCtrAddress purCtrAddress) Create a newPurCtrAddressentity and save it to the S/4HANA system.createPurCtrPartners(PurCtrPartners purCtrPartners) Create a newPurCtrPartnersentity and save it to the S/4HANA system.getThis()updatePurchaseContract(PurchaseContract purchaseContract) Update an existingPurchaseContractentity and save it to the S/4HANA system.updatePurchaseContractItem(PurchaseContractItem purchaseContractItem) Update an existingPurchaseContractItementity and save it to the S/4HANA system.updatePurchaseContractItemNotes(PurchaseContractItemNotes purchaseContractItemNotes) Update an existingPurchaseContractItemNotesentity and save it to the S/4HANA system.updatePurchaseContractNotes(PurchaseContractNotes purchaseContractNotes) Update an existingPurchaseContractNotesentity and save it to the S/4HANA system.updatePurCtrAccount(PurCtrAccount purCtrAccount) Update an existingPurCtrAccountentity and save it to the S/4HANA system.updatePurCtrAddress(PurCtrAddress purCtrAddress) Update an existingPurCtrAddressentity and save it to the S/4HANA system.updatePurCtrPartners(PurCtrPartners purCtrPartners) Update an existingPurCtrPartnersentity and save it to the S/4HANA system.Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.batch.BatchChangeSetFluentHelperBasic
addFunctionImport, addRequest, addRequest, addRequest, addRequestCreate, addRequestDelete, addRequestUpdate, endChangeSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sap.cloud.sdk.datamodel.odata.helper.batch.FluentHelperBatchChangeSet
addFunctionImportMethods inherited from interface com.sap.cloud.sdk.datamodel.odata.helper.batch.FluentHelperBatchEndChangeSet
endChangeSet
-
Method Details
-
getThis
- Specified by:
getThisin classBatchChangeSetFluentHelperBasic<PurchaseContractV2ServiceBatch,PurchaseContractV2ServiceBatchChangeSet>
-
createPurCtrAccount
@Nonnull public PurchaseContractV2ServiceBatchChangeSet createPurCtrAccount(@Nonnull PurCtrAccount purCtrAccount) Description copied from interface:PurchaseContractV2ServiceBatchChangeSetCreate a newPurCtrAccountentity and save it to the S/4HANA system.- Specified by:
createPurCtrAccountin interfacePurchaseContractV2ServiceBatchChangeSet- Parameters:
purCtrAccount-PurCtrAccountentity object that will be created in the S/4HANA system.- Returns:
- This fluent helper to continue adding operations to the change set. To finalize the current change set
call
endChangeSeton the returned fluent helper object.
-
updatePurCtrAccount
@Nonnull public PurchaseContractV2ServiceBatchChangeSet updatePurCtrAccount(@Nonnull PurCtrAccount purCtrAccount) Description copied from interface:PurchaseContractV2ServiceBatchChangeSetUpdate an existingPurCtrAccountentity and save it to the S/4HANA system.- Specified by:
updatePurCtrAccountin interfacePurchaseContractV2ServiceBatchChangeSet- Parameters:
purCtrAccount-PurCtrAccountentity object that will be updated in the S/4HANA system.- Returns:
- This fluent helper to continue adding operations to the change set. To finalize the current change set
call
endChangeSeton the returned fluent helper object.
-
createPurCtrAddress
@Nonnull public PurchaseContractV2ServiceBatchChangeSet createPurCtrAddress(@Nonnull PurCtrAddress purCtrAddress) Description copied from interface:PurchaseContractV2ServiceBatchChangeSetCreate a newPurCtrAddressentity and save it to the S/4HANA system.- Specified by:
createPurCtrAddressin interfacePurchaseContractV2ServiceBatchChangeSet- Parameters:
purCtrAddress-PurCtrAddressentity object that will be created in the S/4HANA system.- Returns:
- This fluent helper to continue adding operations to the change set. To finalize the current change set
call
endChangeSeton the returned fluent helper object.
-
updatePurCtrAddress
@Nonnull public PurchaseContractV2ServiceBatchChangeSet updatePurCtrAddress(@Nonnull PurCtrAddress purCtrAddress) Description copied from interface:PurchaseContractV2ServiceBatchChangeSetUpdate an existingPurCtrAddressentity and save it to the S/4HANA system.- Specified by:
updatePurCtrAddressin interfacePurchaseContractV2ServiceBatchChangeSet- Parameters:
purCtrAddress-PurCtrAddressentity object that will be updated in the S/4HANA system.- Returns:
- This fluent helper to continue adding operations to the change set. To finalize the current change set
call
endChangeSeton the returned fluent helper object.
-
createPurchaseContractItemNotes
@Nonnull public PurchaseContractV2ServiceBatchChangeSet createPurchaseContractItemNotes(@Nonnull PurchaseContractItemNotes purchaseContractItemNotes) Description copied from interface:PurchaseContractV2ServiceBatchChangeSetCreate a newPurchaseContractItemNotesentity and save it to the S/4HANA system.- Specified by:
createPurchaseContractItemNotesin interfacePurchaseContractV2ServiceBatchChangeSet- Parameters:
purchaseContractItemNotes-PurchaseContractItemNotesentity object that will be created in the S/4HANA system.- Returns:
- This fluent helper to continue adding operations to the change set. To finalize the current change set
call
endChangeSeton the returned fluent helper object.
-
updatePurchaseContractItemNotes
@Nonnull public PurchaseContractV2ServiceBatchChangeSet updatePurchaseContractItemNotes(@Nonnull PurchaseContractItemNotes purchaseContractItemNotes) Description copied from interface:PurchaseContractV2ServiceBatchChangeSetUpdate an existingPurchaseContractItemNotesentity and save it to the S/4HANA system.- Specified by:
updatePurchaseContractItemNotesin interfacePurchaseContractV2ServiceBatchChangeSet- Parameters:
purchaseContractItemNotes-PurchaseContractItemNotesentity object that will be updated in the S/4HANA system.- Returns:
- This fluent helper to continue adding operations to the change set. To finalize the current change set
call
endChangeSeton the returned fluent helper object.
-
createPurchaseContractItem
@Nonnull public PurchaseContractV2ServiceBatchChangeSet createPurchaseContractItem(@Nonnull PurchaseContractItem purchaseContractItem) Description copied from interface:PurchaseContractV2ServiceBatchChangeSetCreate a newPurchaseContractItementity and save it to the S/4HANA system.- Specified by:
createPurchaseContractItemin interfacePurchaseContractV2ServiceBatchChangeSet- Parameters:
purchaseContractItem-PurchaseContractItementity object that will be created in the S/4HANA system.- Returns:
- This fluent helper to continue adding operations to the change set. To finalize the current change set
call
endChangeSeton the returned fluent helper object.
-
updatePurchaseContractItem
@Nonnull public PurchaseContractV2ServiceBatchChangeSet updatePurchaseContractItem(@Nonnull PurchaseContractItem purchaseContractItem) Description copied from interface:PurchaseContractV2ServiceBatchChangeSetUpdate an existingPurchaseContractItementity and save it to the S/4HANA system.- Specified by:
updatePurchaseContractItemin interfacePurchaseContractV2ServiceBatchChangeSet- Parameters:
purchaseContractItem-PurchaseContractItementity object that will be updated in the S/4HANA system.- Returns:
- This fluent helper to continue adding operations to the change set. To finalize the current change set
call
endChangeSeton the returned fluent helper object.
-
createPurchaseContractNotes
@Nonnull public PurchaseContractV2ServiceBatchChangeSet createPurchaseContractNotes(@Nonnull PurchaseContractNotes purchaseContractNotes) Description copied from interface:PurchaseContractV2ServiceBatchChangeSetCreate a newPurchaseContractNotesentity and save it to the S/4HANA system.- Specified by:
createPurchaseContractNotesin interfacePurchaseContractV2ServiceBatchChangeSet- Parameters:
purchaseContractNotes-PurchaseContractNotesentity object that will be created in the S/4HANA system.- Returns:
- This fluent helper to continue adding operations to the change set. To finalize the current change set
call
endChangeSeton the returned fluent helper object.
-
updatePurchaseContractNotes
@Nonnull public PurchaseContractV2ServiceBatchChangeSet updatePurchaseContractNotes(@Nonnull PurchaseContractNotes purchaseContractNotes) Description copied from interface:PurchaseContractV2ServiceBatchChangeSetUpdate an existingPurchaseContractNotesentity and save it to the S/4HANA system.- Specified by:
updatePurchaseContractNotesin interfacePurchaseContractV2ServiceBatchChangeSet- Parameters:
purchaseContractNotes-PurchaseContractNotesentity object that will be updated in the S/4HANA system.- Returns:
- This fluent helper to continue adding operations to the change set. To finalize the current change set
call
endChangeSeton the returned fluent helper object.
-
createPurCtrPartners
@Nonnull public PurchaseContractV2ServiceBatchChangeSet createPurCtrPartners(@Nonnull PurCtrPartners purCtrPartners) Description copied from interface:PurchaseContractV2ServiceBatchChangeSetCreate a newPurCtrPartnersentity and save it to the S/4HANA system.- Specified by:
createPurCtrPartnersin interfacePurchaseContractV2ServiceBatchChangeSet- Parameters:
purCtrPartners-PurCtrPartnersentity object that will be created in the S/4HANA system.- Returns:
- This fluent helper to continue adding operations to the change set. To finalize the current change set
call
endChangeSeton the returned fluent helper object.
-
updatePurCtrPartners
@Nonnull public PurchaseContractV2ServiceBatchChangeSet updatePurCtrPartners(@Nonnull PurCtrPartners purCtrPartners) Description copied from interface:PurchaseContractV2ServiceBatchChangeSetUpdate an existingPurCtrPartnersentity and save it to the S/4HANA system.- Specified by:
updatePurCtrPartnersin interfacePurchaseContractV2ServiceBatchChangeSet- Parameters:
purCtrPartners-PurCtrPartnersentity object that will be updated in the S/4HANA system.- Returns:
- This fluent helper to continue adding operations to the change set. To finalize the current change set
call
endChangeSeton the returned fluent helper object.
-
createPurchaseContract
@Nonnull public PurchaseContractV2ServiceBatchChangeSet createPurchaseContract(@Nonnull PurchaseContract purchaseContract) Description copied from interface:PurchaseContractV2ServiceBatchChangeSetCreate a newPurchaseContractentity and save it to the S/4HANA system.- Specified by:
createPurchaseContractin interfacePurchaseContractV2ServiceBatchChangeSet- Parameters:
purchaseContract-PurchaseContractentity object that will be created in the S/4HANA system.- Returns:
- This fluent helper to continue adding operations to the change set. To finalize the current change set
call
endChangeSeton the returned fluent helper object.
-
updatePurchaseContract
@Nonnull public PurchaseContractV2ServiceBatchChangeSet updatePurchaseContract(@Nonnull PurchaseContract purchaseContract) Description copied from interface:PurchaseContractV2ServiceBatchChangeSetUpdate an existingPurchaseContractentity and save it to the S/4HANA system.- Specified by:
updatePurchaseContractin interfacePurchaseContractV2ServiceBatchChangeSet- Parameters:
purchaseContract-PurchaseContractentity object that will be updated in the S/4HANA system.- Returns:
- This fluent helper to continue adding operations to the change set. To finalize the current change set
call
endChangeSeton the returned fluent helper object.
-