Class FreightOrderCharge.FreightOrderChargeBuilder
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.freightorderintegration.FreightOrderCharge.FreightOrderChargeBuilder
- Enclosing class:
- FreightOrderCharge
Helper class to allow for fluent creation of FreightOrderCharge instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()exchangeRateDate(LocalDate exchangeRateDate) Constraints: NullablefreightOrder(FreightOrder value) Navigation property _FreightOrder for FreightOrderCharge to single FreightOrder.freightOrderChargeItem(FreightOrderChargeItem... value) Navigation property _FreightOrderChargeItem for FreightOrderCharge to multiple FreightOrderChargeItem.toString()transpChargeCalcStatus(String transpChargeCalcStatus) Constraints: Not nullable, Maximum length: 2transpChargeCalculationDateTme(OffsetDateTime transpChargeCalculationDateTme) Constraints: NullabletranspChargeDocumentCurrency(String transpChargeDocumentCurrency) Constraints: Not nullable, Maximum length: 3transpChargeLocalCurrency(String transpChargeLocalCurrency) Constraints: Not nullable, Maximum length: 3transpChargePostingStatus(String transpChargePostingStatus) Constraints: Not nullable, Maximum length: 2transpChrgTotalAmtInDocCrcy(BigDecimal transpChrgTotalAmtInDocCrcy) Constraints: Not nullable, Precision: 31, Scale: 0transpChrgTotalAmtInLoclCrcy(BigDecimal transpChrgTotalAmtInLoclCrcy) Constraints: Not nullable, Precision: 31, Scale: 0transportationChargesObjUUID(UUID transportationChargesObjUUID) (Key Field) Constraints: Not nullabletransportationOrderUUID(UUID transportationOrderUUID) Constraints: Not nullable
-
Method Details
-
freightOrder
Navigation property _FreightOrder for FreightOrderCharge to single FreightOrder.- Parameters:
value- The FreightOrder to build this FreightOrderCharge with.- Returns:
- This Builder to allow for a fluent interface.
-
freightOrderChargeItem
@Nonnull public FreightOrderCharge.FreightOrderChargeBuilder freightOrderChargeItem(FreightOrderChargeItem... value) Navigation property _FreightOrderChargeItem for FreightOrderCharge to multiple FreightOrderChargeItem.- Parameters:
value- The FreightOrderChargeItems to build this FreightOrderCharge with.- Returns:
- This Builder to allow for a fluent interface.
-
transportationChargesObjUUID
@Nonnull public FreightOrderCharge.FreightOrderChargeBuilder transportationChargesObjUUID(@Nullable UUID transportationChargesObjUUID) (Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: TransportationChargesObjUUID
- Returns:
this.
-
transportationOrderUUID
@Nonnull public FreightOrderCharge.FreightOrderChargeBuilder transportationOrderUUID(@Nullable UUID transportationOrderUUID) Constraints: Not nullableOriginal property name from the Odata EDM: TransportationOrderUUID
- Returns:
this.
-
transpChargePostingStatus
@Nonnull public FreightOrderCharge.FreightOrderChargeBuilder transpChargePostingStatus(@Nullable String transpChargePostingStatus) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: TranspChargePostingStatus
- Returns:
this.
-
transpChargeCalcStatus
@Nonnull public FreightOrderCharge.FreightOrderChargeBuilder transpChargeCalcStatus(@Nullable String transpChargeCalcStatus) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: TranspChargeCalcStatus
- Returns:
this.
-
transpChargeDocumentCurrency
@Nonnull public FreightOrderCharge.FreightOrderChargeBuilder transpChargeDocumentCurrency(@Nullable String transpChargeDocumentCurrency) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: TranspChargeDocumentCurrency
- Returns:
this.
-
transpChrgTotalAmtInDocCrcy
@Nonnull public FreightOrderCharge.FreightOrderChargeBuilder transpChrgTotalAmtInDocCrcy(@Nullable BigDecimal transpChrgTotalAmtInDocCrcy) Constraints: Not nullable, Precision: 31, Scale: 0Original property name from the Odata EDM: TranspChrgTotalAmtInDocCrcy
- Returns:
this.
-
transpChargeLocalCurrency
@Nonnull public FreightOrderCharge.FreightOrderChargeBuilder transpChargeLocalCurrency(@Nullable String transpChargeLocalCurrency) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: TranspChargeLocalCurrency
- Returns:
this.
-
transpChrgTotalAmtInLoclCrcy
@Nonnull public FreightOrderCharge.FreightOrderChargeBuilder transpChrgTotalAmtInLoclCrcy(@Nullable BigDecimal transpChrgTotalAmtInLoclCrcy) Constraints: Not nullable, Precision: 31, Scale: 0Original property name from the Odata EDM: TranspChrgTotalAmtInLoclCrcy
- Returns:
this.
-
transpChargeCalculationDateTme
@Nonnull public FreightOrderCharge.FreightOrderChargeBuilder transpChargeCalculationDateTme(@Nullable OffsetDateTime transpChargeCalculationDateTme) Constraints: NullableOriginal property name from the Odata EDM: TranspChargeCalculationDateTme
- Returns:
this.
-
exchangeRateDate
@Nonnull public FreightOrderCharge.FreightOrderChargeBuilder exchangeRateDate(@Nullable LocalDate exchangeRateDate) Constraints: NullableOriginal property name from the Odata EDM: ExchangeRateDate
- Returns:
this.
-
build
-
toString
-