Class FreightAgreementItem.FreightAgreementItemBuilder

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.freightagreement.FreightAgreementItem.FreightAgreementItemBuilder
Enclosing class:
FreightAgreementItem

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

    • freightAgreement

      @Nonnull public FreightAgreementItem.FreightAgreementItemBuilder freightAgreement(FreightAgreement value)
      Navigation property _FreightAgreement for FreightAgreementItem to single FreightAgreement.
      Parameters:
      value - The FreightAgreement to build this FreightAgreementItem with.
      Returns:
      This Builder to allow for a fluent interface.
    • freightAgrmtCalculationSheet

      @Nonnull public FreightAgreementItem.FreightAgreementItemBuilder freightAgrmtCalculationSheet(FreightAgrmtCalculationSheet... value)
      Navigation property _FreightAgrmtCalculationSheet for FreightAgreementItem to multiple FreightAgrmtCalculationSheet.
      Parameters:
      value - The FreightAgrmtCalculationSheets to build this FreightAgreementItem with.
      Returns:
      This Builder to allow for a fluent interface.
    • frtAgrmtItemPaymentTerm

      @Nonnull public FreightAgreementItem.FreightAgreementItemBuilder frtAgrmtItemPaymentTerm(FrtAgrmtItemPaymentTerm... value)
      Navigation property _FrtAgrmtItemPaymentTerm for FreightAgreementItem to multiple FrtAgrmtItemPaymentTerm.
      Parameters:
      value - The FrtAgrmtItemPaymentTerms to build this FreightAgreementItem with.
      Returns:
      This Builder to allow for a fluent interface.
    • transpAgreementItemUUID

      @Nonnull public FreightAgreementItem.FreightAgreementItemBuilder transpAgreementItemUUID(@Nullable UUID transpAgreementItemUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: TranspAgreementItemUUID

      Returns:
      this.
    • transportationAgreementUUID

      @Nonnull public FreightAgreementItem.FreightAgreementItemBuilder transportationAgreementUUID(@Nullable UUID transportationAgreementUUID)
      Constraints: Not nullable

      Original property name from the Odata EDM: TransportationAgreementUUID

      Returns:
      this.
    • transpCalculationSheetUUID

      @Nonnull public FreightAgreementItem.FreightAgreementItemBuilder transpCalculationSheetUUID(@Nullable UUID transpCalculationSheetUUID)
      Constraints: Nullable

      Original property name from the Odata EDM: TranspCalculationSheetUUID

      Returns:
      this.
    • transportationAgreementItem

      @Nonnull public FreightAgreementItem.FreightAgreementItemBuilder transportationAgreementItem(@Nullable String transportationAgreementItem)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: TransportationAgreementItem

      Returns:
      this.
    • transpAgreementItemDesc

      @Nonnull public FreightAgreementItem.FreightAgreementItemBuilder transpAgreementItemDesc(@Nullable String transpAgreementItemDesc)
      Constraints: Not nullable, Maximum length: 75

      Original property name from the Odata EDM: TranspAgreementItemDesc

      Returns:
      this.
    • transportationStageCategory

      @Nonnull public FreightAgreementItem.FreightAgreementItemBuilder transportationStageCategory(@Nullable String transportationStageCategory)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: TransportationStageCategory

      Returns:
      this.
    • transportationCalculationSheet

      @Nonnull public FreightAgreementItem.FreightAgreementItemBuilder transportationCalculationSheet(@Nullable String transportationCalculationSheet)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: TransportationCalculationSheet

      Returns:
      this.
    • transpCalcSheetItmIsHdrCharge

      @Nonnull public FreightAgreementItem.FreightAgreementItemBuilder transpCalcSheetItmIsHdrCharge(@Nullable Boolean transpCalcSheetItmIsHdrCharge)
      Constraints: Not nullable

      Original property name from the Odata EDM: TranspCalcSheetItmIsHdrCharge

      Returns:
      this.
    • _Messages

      @Nonnull public FreightAgreementItem.FreightAgreementItemBuilder _Messages(@Nullable Collection<SAP__Message> _Messages)
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Returns:
      this.
    • build

      @Nonnull public FreightAgreementItem build()
    • toString

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