public class DefaultForeignExchangeCreateSwapFunction extends Object implements ForeignExchangeCreateSwapFunction
Constructor and Description |
---|
DefaultForeignExchangeCreateSwapFunction(CreateForexTransaction forex1,
CreateForexTransaction forex2,
AdditionalDataForCurrencySwap swapAdditions,
ForeignExchangeCreateswapFtrStructureForCreatingTransactions generalContractData2,
FtrStructureForCreatingTransactions generalContractData1) |
Modifier and Type | Method and Description |
---|---|
DefaultForeignExchangeCreateSwapFunction |
activityCategory(TransactionActivityCategory activityCategory)
(Optional) Transaction activity category
|
boolean |
equals(Object o) |
ForeignExchangeCreateSwapFunctionResult |
execute()
Execute query on the default ERP configuration context.
|
ForeignExchangeCreateSwapFunctionResult |
execute(ErpConfigContext erpConfigContext)
Execute query on an ERP endpoint described by the provided ERP configuration context.
|
ForeignExchangeCreateSwapFunctionResult |
execute(ErpEndpoint erpEndpoint)
Execute query on the provided ERP endpoint.
|
int |
hashCode() |
DefaultForeignExchangeCreateSwapFunction |
testRun(ErpBoolean testRun)
(Optional) Switch to Simulation Mode for Write BAPIs
|
BapiQuery |
toQuery()
Prepares a query object from the given query parameters.
|
String |
toString() |
@ConstructorProperties(value={"forex1","forex2","swapAdditions","generalContractData2","generalContractData1"}) @Generated(value="lombok") public DefaultForeignExchangeCreateSwapFunction(CreateForexTransaction forex1, CreateForexTransaction forex2, AdditionalDataForCurrencySwap swapAdditions, ForeignExchangeCreateswapFtrStructureForCreatingTransactions generalContractData2, FtrStructureForCreatingTransactions generalContractData1)
public ForeignExchangeCreateSwapFunctionResult execute(ErpConfigContext erpConfigContext) throws QueryExecutionException
ErpDestination.getDefaultName()
SapClient
Locale
execute
in interface ForeignExchangeCreateSwapFunction
erpConfigContext
- Configuration context for ERP queryQueryExecutionException
public ForeignExchangeCreateSwapFunctionResult execute() throws QueryExecutionException
execute
in interface ForeignExchangeCreateSwapFunction
QueryExecutionException
ErpConfigContext.ErpConfigContext()
public BapiQuery toQuery()
toQuery
in interface ForeignExchangeCreateSwapFunction
public ForeignExchangeCreateSwapFunctionResult execute(ErpEndpoint erpEndpoint) throws QueryExecutionException
execute
in interface ForeignExchangeCreateSwapFunction
erpEndpoint
- Configured instance of ErpEndpoint
QueryExecutionException
@Generated(value="lombok") public String toString()
@Generated(value="lombok") public boolean equals(Object o)
@Generated(value="lombok") public int hashCode()
@Generated(value="lombok") public DefaultForeignExchangeCreateSwapFunction testRun(ErpBoolean testRun)
testRun
in interface ForeignExchangeCreateSwapFunction
testRun
- (Optional) Switch to Simulation Mode for Write BAPIs@Generated(value="lombok") public DefaultForeignExchangeCreateSwapFunction activityCategory(TransactionActivityCategory activityCategory)
activityCategory
in interface ForeignExchangeCreateSwapFunction
activityCategory
- (Optional) Transaction activity categoryCopyright © 2018 SAP SE. All rights reserved.