Class FreightOrderCharge.FreightOrderChargeBuilder

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.freightorderintegration.FreightOrderCharge.FreightOrderChargeBuilder
Enclosing class:
FreightOrderCharge

public static final class FreightOrderCharge.FreightOrderChargeBuilder extends Object
Helper class to allow for fluent creation of FreightOrderCharge instances.
  • Method Details

    • freightOrder

      @Nonnull public FreightOrderCharge.FreightOrderChargeBuilder freightOrder(FreightOrder value)
      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 nullable

      Original property name from the Odata EDM: TransportationChargesObjUUID

      Returns:
      this.
    • transportationOrderUUID

      @Nonnull public FreightOrderCharge.FreightOrderChargeBuilder transportationOrderUUID(@Nullable UUID transportationOrderUUID)
      Constraints: Not nullable

      Original property name from the Odata EDM: TransportationOrderUUID

      Returns:
      this.
    • transpChargePostingStatus

      @Nonnull public FreightOrderCharge.FreightOrderChargeBuilder transpChargePostingStatus(@Nullable String transpChargePostingStatus)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: TranspChargePostingStatus

      Returns:
      this.
    • transpChargeCalcStatus

      @Nonnull public FreightOrderCharge.FreightOrderChargeBuilder transpChargeCalcStatus(@Nullable String transpChargeCalcStatus)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: TranspChargeCalcStatus

      Returns:
      this.
    • transpChargeDocumentCurrency

      @Nonnull public FreightOrderCharge.FreightOrderChargeBuilder transpChargeDocumentCurrency(@Nullable String transpChargeDocumentCurrency)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: TranspChargeDocumentCurrency

      Returns:
      this.
    • transpChrgTotalAmtInDocCrcy

      @Nonnull public FreightOrderCharge.FreightOrderChargeBuilder transpChrgTotalAmtInDocCrcy(@Nullable BigDecimal transpChrgTotalAmtInDocCrcy)
      Constraints: Not nullable, Precision: 31, Scale: 0

      Original property name from the Odata EDM: TranspChrgTotalAmtInDocCrcy

      Returns:
      this.
    • transpChargeLocalCurrency

      @Nonnull public FreightOrderCharge.FreightOrderChargeBuilder transpChargeLocalCurrency(@Nullable String transpChargeLocalCurrency)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: TranspChargeLocalCurrency

      Returns:
      this.
    • transpChrgTotalAmtInLoclCrcy

      @Nonnull public FreightOrderCharge.FreightOrderChargeBuilder transpChrgTotalAmtInLoclCrcy(@Nullable BigDecimal transpChrgTotalAmtInLoclCrcy)
      Constraints: Not nullable, Precision: 31, Scale: 0

      Original property name from the Odata EDM: TranspChrgTotalAmtInLoclCrcy

      Returns:
      this.
    • transpChargeCalculationDateTme

      @Nonnull public FreightOrderCharge.FreightOrderChargeBuilder transpChargeCalculationDateTme(@Nullable OffsetDateTime transpChargeCalculationDateTme)
      Constraints: Nullable

      Original property name from the Odata EDM: TranspChargeCalculationDateTme

      Returns:
      this.
    • exchangeRateDate

      @Nonnull public FreightOrderCharge.FreightOrderChargeBuilder exchangeRateDate(@Nullable LocalDate exchangeRateDate)
      Constraints: Nullable

      Original property name from the Odata EDM: ExchangeRateDate

      Returns:
      this.
    • build

      @Nonnull public FreightOrderCharge build()
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class Object