Class SalesOrderPricingSimulation.SalesOrderPricingSimulationBuilder
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.salesordersimulate.SalesOrderPricingSimulation.SalesOrderPricingSimulationBuilder
- Enclosing class:
- SalesOrderPricingSimulation
public static final class SalesOrderPricingSimulation.SalesOrderPricingSimulationBuilder
extends Object
Helper class to allow for fluent creation of SalesOrderPricingSimulation instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()salesOrder(SalesOrderSimulation value) Navigation property to_SalesOrder for SalesOrderPricingSimulation to single SalesOrderSimulation.salesOrder(String value) (Key Field) Constraints: Not nullable, Maximum length: 10toString()totalNetAmount(BigDecimal totalNetAmount) Constraints: Not nullable, Precision: 16, Scale: 3transactionCurrency(String transactionCurrency) Constraints: Not nullable, Maximum length: 5
-
Method Details
-
salesOrder
@Nonnull public SalesOrderPricingSimulation.SalesOrderPricingSimulationBuilder salesOrder(SalesOrderSimulation value) Navigation property to_SalesOrder for SalesOrderPricingSimulation to single SalesOrderSimulation.- Parameters:
value- The SalesOrderSimulation to build this SalesOrderPricingSimulation with.- Returns:
- This Builder to allow for a fluent interface.
-
salesOrder
@Nonnull public SalesOrderPricingSimulation.SalesOrderPricingSimulationBuilder salesOrder(String value) (Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SalesOrder
- Parameters:
value- The salesOrder to build this SalesOrderPricingSimulation with.- Returns:
- This Builder to allow for a fluent interface.
-
totalNetAmount
@Nonnull public SalesOrderPricingSimulation.SalesOrderPricingSimulationBuilder totalNetAmount(@Nullable BigDecimal totalNetAmount) Constraints: Not nullable, Precision: 16, Scale: 3Original property name from the Odata EDM: TotalNetAmount
- Returns:
this.
-
transactionCurrency
@Nonnull public SalesOrderPricingSimulation.SalesOrderPricingSimulationBuilder transactionCurrency(@Nullable String transactionCurrency) Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: TransactionCurrency
- Returns:
this.
-
build
-
toString
-