Class FreightBookingCharge.FreightBookingChargeBuilder
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.freightbookingintegration.FreightBookingCharge.FreightBookingChargeBuilder
- Enclosing class:
- FreightBookingCharge
Helper class to allow for fluent creation of FreightBookingCharge instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()exchangeRateDate(LocalDate exchangeRateDate) Constraints: NullablefreightBooking(FreightBooking value) Navigation property _FreightBooking for FreightBookingCharge to single FreightBooking.Navigation property _FreightBookingChargeItem for FreightBookingCharge to multiple FreightBookingChargeItem.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
-
freightBooking
@Nonnull public FreightBookingCharge.FreightBookingChargeBuilder freightBooking(FreightBooking value) Navigation property _FreightBooking for FreightBookingCharge to single FreightBooking.- Parameters:
value- The FreightBooking to build this FreightBookingCharge with.- Returns:
- This Builder to allow for a fluent interface.
-
freightBookingChargeItem
@Nonnull public FreightBookingCharge.FreightBookingChargeBuilder freightBookingChargeItem(FreightBookingChargeItem... value) Navigation property _FreightBookingChargeItem for FreightBookingCharge to multiple FreightBookingChargeItem.- Parameters:
value- The FreightBookingChargeItems to build this FreightBookingCharge with.- Returns:
- This Builder to allow for a fluent interface.
-
transportationChargesObjUUID
@Nonnull public FreightBookingCharge.FreightBookingChargeBuilder transportationChargesObjUUID(@Nullable UUID transportationChargesObjUUID) (Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: TransportationChargesObjUUID
- Returns:
this.
-
transportationOrderUUID
@Nonnull public FreightBookingCharge.FreightBookingChargeBuilder transportationOrderUUID(@Nullable UUID transportationOrderUUID) Constraints: Not nullableOriginal property name from the Odata EDM: TransportationOrderUUID
- Returns:
this.
-
transpChargeDocumentCurrency
@Nonnull public FreightBookingCharge.FreightBookingChargeBuilder transpChargeDocumentCurrency(@Nullable String transpChargeDocumentCurrency) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: TranspChargeDocumentCurrency
- Returns:
this.
-
transpChrgTotalAmtInDocCrcy
@Nonnull public FreightBookingCharge.FreightBookingChargeBuilder transpChrgTotalAmtInDocCrcy(@Nullable BigDecimal transpChrgTotalAmtInDocCrcy) Constraints: Not nullable, Precision: 31, Scale: 0Original property name from the Odata EDM: TranspChrgTotalAmtInDocCrcy
- Returns:
this.
-
transpChargeLocalCurrency
@Nonnull public FreightBookingCharge.FreightBookingChargeBuilder transpChargeLocalCurrency(@Nullable String transpChargeLocalCurrency) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: TranspChargeLocalCurrency
- Returns:
this.
-
transpChrgTotalAmtInLoclCrcy
@Nonnull public FreightBookingCharge.FreightBookingChargeBuilder transpChrgTotalAmtInLoclCrcy(@Nullable BigDecimal transpChrgTotalAmtInLoclCrcy) Constraints: Not nullable, Precision: 31, Scale: 0Original property name from the Odata EDM: TranspChrgTotalAmtInLoclCrcy
- Returns:
this.
-
transpChargeCalculationDateTme
@Nonnull public FreightBookingCharge.FreightBookingChargeBuilder transpChargeCalculationDateTme(@Nullable OffsetDateTime transpChargeCalculationDateTme) Constraints: NullableOriginal property name from the Odata EDM: TranspChargeCalculationDateTme
- Returns:
this.
-
exchangeRateDate
@Nonnull public FreightBookingCharge.FreightBookingChargeBuilder exchangeRateDate(@Nullable LocalDate exchangeRateDate) Constraints: NullableOriginal property name from the Odata EDM: ExchangeRateDate
- Returns:
this.
-
transpChargePostingStatus
@Nonnull public FreightBookingCharge.FreightBookingChargeBuilder transpChargePostingStatus(@Nullable String transpChargePostingStatus) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: TranspChargePostingStatus
- Returns:
this.
-
transpChargeCalcStatus
@Nonnull public FreightBookingCharge.FreightBookingChargeBuilder transpChargeCalcStatus(@Nullable String transpChargeCalcStatus) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: TranspChargeCalcStatus
- Returns:
this.
-
build
-
toString
-