Package com.chrt.api.types
Class Order1.Builder
- java.lang.Object
-
- com.chrt.api.types.Order1.Builder
-
- All Implemented Interfaces:
Order1._FinalStage,Order1.CreatedByOrgIdStage,Order1.CreatedByOrgTypeStage,Order1.CreatedByUserIdStage,Order1.DraftStartedAtTimestampStage,Order1.IdStage,Order1.SchemaVersionStage,Order1.ShortIdStage
- Enclosing class:
- Order1
public static final class Order1.Builder extends java.lang.Object implements Order1.SchemaVersionStage, Order1.IdStage, Order1.ShortIdStage, Order1.CreatedByOrgTypeStage, Order1.CreatedByOrgIdStage, Order1.CreatedByUserIdStage, Order1.DraftStartedAtTimestampStage, Order1._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Order1build()Order1._FinalStagecompletedAtTimestamp(Nullable<java.time.OffsetDateTime> completedAtTimestamp)Order1._FinalStagecompletedAtTimestamp(java.time.OffsetDateTime completedAtTimestamp)Order1._FinalStagecompletedAtTimestamp(java.util.Optional<java.time.OffsetDateTime> completedAtTimestamp)Order1.CreatedByUserIdStagecreatedByOrgId(java.lang.String createdByOrgId)Must be a string starting withorg_Order1.CreatedByOrgIdStagecreatedByOrgType(OrgTypeEnum createdByOrgType)Order1.DraftStartedAtTimestampStagecreatedByUserId(java.lang.String createdByUserId)Must be a string starting withuser_Order1._FinalStagedraftStartedAtTimestamp(java.time.OffsetDateTime draftStartedAtTimestamp)Order1._FinalStageexceptionAtTimestamp(Nullable<java.time.OffsetDateTime> exceptionAtTimestamp)Order1._FinalStageexceptionAtTimestamp(java.time.OffsetDateTime exceptionAtTimestamp)Order1._FinalStageexceptionAtTimestamp(java.util.Optional<java.time.OffsetDateTime> exceptionAtTimestamp)Order1._FinalStageforwarderOrgId(Nullable<java.lang.String> forwarderOrgId)Must be a string starting withorg_Order1._FinalStageforwarderOrgId(java.lang.String forwarderOrgId)Must be a string starting withorg_Order1._FinalStageforwarderOrgId(java.util.Optional<java.lang.String> forwarderOrgId)Must be a string starting withorg_Order1.Builderfrom(Order1 other)Order1.ShortIdStageid(java.lang.String id)Order1._FinalStageinProgressAtTimestamp(Nullable<java.time.OffsetDateTime> inProgressAtTimestamp)Order1._FinalStageinProgressAtTimestamp(java.time.OffsetDateTime inProgressAtTimestamp)Order1._FinalStageinProgressAtTimestamp(java.util.Optional<java.time.OffsetDateTime> inProgressAtTimestamp)Order1._FinalStageoffChrtShipperOrgId(Nullable<java.lang.String> offChrtShipperOrgId)Order1._FinalStageoffChrtShipperOrgId(java.lang.String offChrtShipperOrgId)Order1._FinalStageoffChrtShipperOrgId(java.util.Optional<java.lang.String> offChrtShipperOrgId)Order1._FinalStageorderCancelled(java.lang.Boolean orderCancelled)Order1._FinalStageorderCancelled(java.util.Optional<java.lang.Boolean> orderCancelled)Order1._FinalStageorderCancelledAtTimestamp(Nullable<java.time.OffsetDateTime> orderCancelledAtTimestamp)Order1._FinalStageorderCancelledAtTimestamp(java.time.OffsetDateTime orderCancelledAtTimestamp)Order1._FinalStageorderCancelledAtTimestamp(java.util.Optional<java.time.OffsetDateTime> orderCancelledAtTimestamp)Order1.IdStageschemaVersion(int schemaVersion)Order1._FinalStageshipperOrgId(Nullable<java.lang.String> shipperOrgId)Must be a string starting withorg_Order1._FinalStageshipperOrgId(java.lang.String shipperOrgId)Must be a string starting withorg_Order1._FinalStageshipperOrgId(java.util.Optional<java.lang.String> shipperOrgId)Must be a string starting withorg_Order1.CreatedByOrgTypeStageshortId(java.lang.String shortId)Order1._FinalStagestagedAtTimestamp(Nullable<java.time.OffsetDateTime> stagedAtTimestamp)Order1._FinalStagestagedAtTimestamp(java.time.OffsetDateTime stagedAtTimestamp)Order1._FinalStagestagedAtTimestamp(java.util.Optional<java.time.OffsetDateTime> stagedAtTimestamp)Order1._FinalStagestatus(OrderStatusEnum1 status)Order1._FinalStagestatus(java.util.Optional<OrderStatusEnum1> status)Order1._FinalStagetaskGroupIds(java.util.List<java.lang.String> taskGroupIds)Order1._FinalStagetaskGroupIds(java.util.Optional<java.util.List<java.lang.String>> taskGroupIds)
-
-
-
Method Detail
-
from
public Order1.Builder from(Order1 other)
- Specified by:
fromin interfaceOrder1.SchemaVersionStage
-
schemaVersion
public Order1.IdStage schemaVersion(int schemaVersion)
- Specified by:
schemaVersionin interfaceOrder1.SchemaVersionStage
-
id
public Order1.ShortIdStage id(@NotNull java.lang.String id)
- Specified by:
idin interfaceOrder1.IdStage
-
shortId
public Order1.CreatedByOrgTypeStage shortId(@NotNull java.lang.String shortId)
- Specified by:
shortIdin interfaceOrder1.ShortIdStage
-
createdByOrgType
public Order1.CreatedByOrgIdStage createdByOrgType(@NotNull OrgTypeEnum createdByOrgType)
- Specified by:
createdByOrgTypein interfaceOrder1.CreatedByOrgTypeStage
-
createdByOrgId
public Order1.CreatedByUserIdStage createdByOrgId(@NotNull java.lang.String createdByOrgId)
Must be a string starting with
org_Must be a string starting with
org_- Specified by:
createdByOrgIdin interfaceOrder1.CreatedByOrgIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
createdByUserId
public Order1.DraftStartedAtTimestampStage createdByUserId(@NotNull java.lang.String createdByUserId)
Must be a string starting with
user_Must be a string starting with
user_- Specified by:
createdByUserIdin interfaceOrder1.CreatedByUserIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
draftStartedAtTimestamp
public Order1._FinalStage draftStartedAtTimestamp(@NotNull java.time.OffsetDateTime draftStartedAtTimestamp)
- Specified by:
draftStartedAtTimestampin interfaceOrder1.DraftStartedAtTimestampStage
-
orderCancelledAtTimestamp
public Order1._FinalStage orderCancelledAtTimestamp(Nullable<java.time.OffsetDateTime> orderCancelledAtTimestamp)
- Specified by:
orderCancelledAtTimestampin interfaceOrder1._FinalStage
-
orderCancelledAtTimestamp
public Order1._FinalStage orderCancelledAtTimestamp(java.time.OffsetDateTime orderCancelledAtTimestamp)
- Specified by:
orderCancelledAtTimestampin interfaceOrder1._FinalStage
-
orderCancelledAtTimestamp
public Order1._FinalStage orderCancelledAtTimestamp(java.util.Optional<java.time.OffsetDateTime> orderCancelledAtTimestamp)
- Specified by:
orderCancelledAtTimestampin interfaceOrder1._FinalStage
-
orderCancelled
public Order1._FinalStage orderCancelled(java.lang.Boolean orderCancelled)
- Specified by:
orderCancelledin interfaceOrder1._FinalStage
-
orderCancelled
public Order1._FinalStage orderCancelled(java.util.Optional<java.lang.Boolean> orderCancelled)
- Specified by:
orderCancelledin interfaceOrder1._FinalStage
-
exceptionAtTimestamp
public Order1._FinalStage exceptionAtTimestamp(Nullable<java.time.OffsetDateTime> exceptionAtTimestamp)
- Specified by:
exceptionAtTimestampin interfaceOrder1._FinalStage
-
exceptionAtTimestamp
public Order1._FinalStage exceptionAtTimestamp(java.time.OffsetDateTime exceptionAtTimestamp)
- Specified by:
exceptionAtTimestampin interfaceOrder1._FinalStage
-
exceptionAtTimestamp
public Order1._FinalStage exceptionAtTimestamp(java.util.Optional<java.time.OffsetDateTime> exceptionAtTimestamp)
- Specified by:
exceptionAtTimestampin interfaceOrder1._FinalStage
-
completedAtTimestamp
public Order1._FinalStage completedAtTimestamp(Nullable<java.time.OffsetDateTime> completedAtTimestamp)
- Specified by:
completedAtTimestampin interfaceOrder1._FinalStage
-
completedAtTimestamp
public Order1._FinalStage completedAtTimestamp(java.time.OffsetDateTime completedAtTimestamp)
- Specified by:
completedAtTimestampin interfaceOrder1._FinalStage
-
completedAtTimestamp
public Order1._FinalStage completedAtTimestamp(java.util.Optional<java.time.OffsetDateTime> completedAtTimestamp)
- Specified by:
completedAtTimestampin interfaceOrder1._FinalStage
-
inProgressAtTimestamp
public Order1._FinalStage inProgressAtTimestamp(Nullable<java.time.OffsetDateTime> inProgressAtTimestamp)
- Specified by:
inProgressAtTimestampin interfaceOrder1._FinalStage
-
inProgressAtTimestamp
public Order1._FinalStage inProgressAtTimestamp(java.time.OffsetDateTime inProgressAtTimestamp)
- Specified by:
inProgressAtTimestampin interfaceOrder1._FinalStage
-
inProgressAtTimestamp
public Order1._FinalStage inProgressAtTimestamp(java.util.Optional<java.time.OffsetDateTime> inProgressAtTimestamp)
- Specified by:
inProgressAtTimestampin interfaceOrder1._FinalStage
-
stagedAtTimestamp
public Order1._FinalStage stagedAtTimestamp(Nullable<java.time.OffsetDateTime> stagedAtTimestamp)
- Specified by:
stagedAtTimestampin interfaceOrder1._FinalStage
-
stagedAtTimestamp
public Order1._FinalStage stagedAtTimestamp(java.time.OffsetDateTime stagedAtTimestamp)
- Specified by:
stagedAtTimestampin interfaceOrder1._FinalStage
-
stagedAtTimestamp
public Order1._FinalStage stagedAtTimestamp(java.util.Optional<java.time.OffsetDateTime> stagedAtTimestamp)
- Specified by:
stagedAtTimestampin interfaceOrder1._FinalStage
-
status
public Order1._FinalStage status(OrderStatusEnum1 status)
- Specified by:
statusin interfaceOrder1._FinalStage
-
status
public Order1._FinalStage status(java.util.Optional<OrderStatusEnum1> status)
- Specified by:
statusin interfaceOrder1._FinalStage
-
offChrtShipperOrgId
public Order1._FinalStage offChrtShipperOrgId(Nullable<java.lang.String> offChrtShipperOrgId)
- Specified by:
offChrtShipperOrgIdin interfaceOrder1._FinalStage
-
offChrtShipperOrgId
public Order1._FinalStage offChrtShipperOrgId(java.lang.String offChrtShipperOrgId)
- Specified by:
offChrtShipperOrgIdin interfaceOrder1._FinalStage
-
offChrtShipperOrgId
public Order1._FinalStage offChrtShipperOrgId(java.util.Optional<java.lang.String> offChrtShipperOrgId)
- Specified by:
offChrtShipperOrgIdin interfaceOrder1._FinalStage
-
shipperOrgId
public Order1._FinalStage shipperOrgId(Nullable<java.lang.String> shipperOrgId)
Must be a string starting with
org_- Specified by:
shipperOrgIdin interfaceOrder1._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
shipperOrgId
public Order1._FinalStage shipperOrgId(java.lang.String shipperOrgId)
Must be a string starting with
org_- Specified by:
shipperOrgIdin interfaceOrder1._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
shipperOrgId
public Order1._FinalStage shipperOrgId(java.util.Optional<java.lang.String> shipperOrgId)
Must be a string starting with
org_- Specified by:
shipperOrgIdin interfaceOrder1._FinalStage
-
forwarderOrgId
public Order1._FinalStage forwarderOrgId(Nullable<java.lang.String> forwarderOrgId)
Must be a string starting with
org_- Specified by:
forwarderOrgIdin interfaceOrder1._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
forwarderOrgId
public Order1._FinalStage forwarderOrgId(java.lang.String forwarderOrgId)
Must be a string starting with
org_- Specified by:
forwarderOrgIdin interfaceOrder1._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
forwarderOrgId
public Order1._FinalStage forwarderOrgId(java.util.Optional<java.lang.String> forwarderOrgId)
Must be a string starting with
org_- Specified by:
forwarderOrgIdin interfaceOrder1._FinalStage
-
taskGroupIds
public Order1._FinalStage taskGroupIds(java.util.List<java.lang.String> taskGroupIds)
- Specified by:
taskGroupIdsin interfaceOrder1._FinalStage
-
taskGroupIds
public Order1._FinalStage taskGroupIds(java.util.Optional<java.util.List<java.lang.String>> taskGroupIds)
- Specified by:
taskGroupIdsin interfaceOrder1._FinalStage
-
build
public Order1 build()
- Specified by:
buildin interfaceOrder1._FinalStage
-
-