java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.freightunitintegration.FreightUnit.FreightUnitBuilder
Enclosing class:
FreightUnit

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

    • freightUnitBusinessPartner

      @Nonnull public FreightUnit.FreightUnitBuilder freightUnitBusinessPartner(FreightUnitBusinessPartner... value)
      Navigation property _FreightUnitBusinessPartner for FreightUnit to multiple FreightUnitBusinessPartner.
      Parameters:
      value - The FreightUnitBusinessPartners to build this FreightUnit with.
      Returns:
      This Builder to allow for a fluent interface.
    • freightUnitDocumentReference

      @Nonnull public FreightUnit.FreightUnitBuilder freightUnitDocumentReference(FreightUnitDocumentReference... value)
      Navigation property _FreightUnitDocumentReference for FreightUnit to multiple FreightUnitDocumentReference.
      Parameters:
      value - The FreightUnitDocumentReferences to build this FreightUnit with.
      Returns:
      This Builder to allow for a fluent interface.
    • freightUnitItem

      @Nonnull public FreightUnit.FreightUnitBuilder freightUnitItem(FreightUnitItem... value)
      Navigation property _FreightUnitItem for FreightUnit to multiple FreightUnitItem.
      Parameters:
      value - The FreightUnitItems to build this FreightUnit with.
      Returns:
      This Builder to allow for a fluent interface.
    • freightUnitStop

      @Nonnull public FreightUnit.FreightUnitBuilder freightUnitStop(FreightUnitStop... value)
      Navigation property _FreightUnitStop for FreightUnit to multiple FreightUnitStop.
      Parameters:
      value - The FreightUnitStops to build this FreightUnit with.
      Returns:
      This Builder to allow for a fluent interface.
    • transportationOrderUUID

      @Nonnull public FreightUnit.FreightUnitBuilder transportationOrderUUID(@Nullable UUID transportationOrderUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: TransportationOrderUUID

      Returns:
      this.
    • transportationOrder

      @Nonnull public FreightUnit.FreightUnitBuilder transportationOrder(@Nullable String transportationOrder)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: TransportationOrder

      Returns:
      this.
    • transportationOrderType

      @Nonnull public FreightUnit.FreightUnitBuilder transportationOrderType(@Nullable String transportationOrderType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: TransportationOrderType

      Returns:
      this.
    • transportationOrderCategory

      @Nonnull public FreightUnit.FreightUnitBuilder transportationOrderCategory(@Nullable String transportationOrderCategory)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: TransportationOrderCategory

      Returns:
      this.
    • transportationMode

      @Nonnull public FreightUnit.FreightUnitBuilder transportationMode(@Nullable String transportationMode)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: TransportationMode

      Returns:
      this.
    • transportationModeCategory

      @Nonnull public FreightUnit.FreightUnitBuilder transportationModeCategory(@Nullable String transportationModeCategory)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: TransportationModeCategory

      Returns:
      this.
    • shipperUUID

      @Nonnull public FreightUnit.FreightUnitBuilder shipperUUID(@Nullable UUID shipperUUID)
      Constraints: Nullable

      Original property name from the Odata EDM: ShipperUUID

      Returns:
      this.
    • shipper

      @Nonnull public FreightUnit.FreightUnitBuilder shipper(@Nullable String shipper)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: Shipper

      Returns:
      this.
    • shipperAddressID

      @Nonnull public FreightUnit.FreightUnitBuilder shipperAddressID(@Nullable String shipperAddressID)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: ShipperAddressID

      Returns:
      this.
    • consigneeUUID

      @Nonnull public FreightUnit.FreightUnitBuilder consigneeUUID(@Nullable UUID consigneeUUID)
      Constraints: Nullable

      Original property name from the Odata EDM: ConsigneeUUID

      Returns:
      this.
    • consignee

      @Nonnull public FreightUnit.FreightUnitBuilder consignee(@Nullable String consignee)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: Consignee

      Returns:
      this.
    • consigneeAddressID

      @Nonnull public FreightUnit.FreightUnitBuilder consigneeAddressID(@Nullable String consigneeAddressID)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: ConsigneeAddressID

      Returns:
      this.
    • transpOrdResponsiblePerson

      @Nonnull public FreightUnit.FreightUnitBuilder transpOrdResponsiblePerson(@Nullable String transpOrdResponsiblePerson)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: TranspOrdResponsiblePerson

      Returns:
      this.
    • transpOrdLifeCycleStatus

      @Nonnull public FreightUnit.FreightUnitBuilder transpOrdLifeCycleStatus(@Nullable String transpOrdLifeCycleStatus)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: TranspOrdLifeCycleStatus

      Returns:
      this.
    • transpOrderDngrsGdsSts

      @Nonnull public FreightUnit.FreightUnitBuilder transpOrderDngrsGdsSts(@Nullable String transpOrderDngrsGdsSts)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: TranspOrderDngrsGdsSts

      Returns:
      this.
    • transpOrdPlanningBlock

      @Nonnull public FreightUnit.FreightUnitBuilder transpOrdPlanningBlock(@Nullable String transpOrdPlanningBlock)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: TranspOrdPlanningBlock

      Returns:
      this.
    • transpOrdExecutionIsBlocked

      @Nonnull public FreightUnit.FreightUnitBuilder transpOrdExecutionIsBlocked(@Nullable Boolean transpOrdExecutionIsBlocked)
      Constraints: Not nullable

      Original property name from the Odata EDM: TranspOrdExecutionIsBlocked

      Returns:
      this.
    • transpOrdGoodsMovementStatus

      @Nonnull public FreightUnit.FreightUnitBuilder transpOrdGoodsMovementStatus(@Nullable String transpOrdGoodsMovementStatus)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: TranspOrdGoodsMovementStatus

      Returns:
      this.
    • transportationOrderCrtnType

      @Nonnull public FreightUnit.FreightUnitBuilder transportationOrderCrtnType(@Nullable String transportationOrderCrtnType)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: TransportationOrderCrtnType

      Returns:
      this.
    • createdByUser

      @Nonnull public FreightUnit.FreightUnitBuilder createdByUser(@Nullable String createdByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CreatedByUser

      Returns:
      this.
    • creationDateTime

      @Nonnull public FreightUnit.FreightUnitBuilder creationDateTime(@Nullable OffsetDateTime creationDateTime)
      Constraints: Nullable

      Original property name from the Odata EDM: CreationDateTime

      Returns:
      this.
    • lastChangedByUser

      @Nonnull public FreightUnit.FreightUnitBuilder lastChangedByUser(@Nullable String lastChangedByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: LastChangedByUser

      Returns:
      this.
    • changedDateTime

      @Nonnull public FreightUnit.FreightUnitBuilder changedDateTime(@Nullable OffsetDateTime changedDateTime)
      Constraints: Nullable

      Original property name from the Odata EDM: ChangedDateTime

      Returns:
      this.
    • build

      @Nonnull public FreightUnit build()
    • toString

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