Package com.chrt.api.types
Class ChampConfirmationReceipt1.Builder
- java.lang.Object
-
- com.chrt.api.types.ChampConfirmationReceipt1.Builder
-
- All Implemented Interfaces:
ChampConfirmationReceipt1._FinalStage,ChampConfirmationReceipt1.AirWaybillNumberStage,ChampConfirmationReceipt1.ChampIdStage,ChampConfirmationReceipt1.DestinationStage,ChampConfirmationReceipt1.IdStage,ChampConfirmationReceipt1.MessageHeaderStage,ChampConfirmationReceipt1.OriginStage,ChampConfirmationReceipt1.ReceivedAtStage,ChampConfirmationReceipt1.ReferencedMessageTypeStage,ChampConfirmationReceipt1.RejectedStage,ChampConfirmationReceipt1.TextMessageStage
- Enclosing class:
- ChampConfirmationReceipt1
public static final class ChampConfirmationReceipt1.Builder extends java.lang.Object implements ChampConfirmationReceipt1.IdStage, ChampConfirmationReceipt1.ChampIdStage, ChampConfirmationReceipt1.MessageHeaderStage, ChampConfirmationReceipt1.ReferencedMessageTypeStage, ChampConfirmationReceipt1.AirWaybillNumberStage, ChampConfirmationReceipt1.OriginStage, ChampConfirmationReceipt1.DestinationStage, ChampConfirmationReceipt1.RejectedStage, ChampConfirmationReceipt1.TextMessageStage, ChampConfirmationReceipt1.ReceivedAtStage, ChampConfirmationReceipt1._FinalStage
-
-
Method Summary
-
-
-
Method Detail
-
from
public ChampConfirmationReceipt1.Builder from(ChampConfirmationReceipt1 other)
- Specified by:
fromin interfaceChampConfirmationReceipt1.IdStage
-
id
public ChampConfirmationReceipt1.ChampIdStage id(@NotNull java.lang.String id)
- Specified by:
idin interfaceChampConfirmationReceipt1.IdStage
-
champId
public ChampConfirmationReceipt1.MessageHeaderStage champId(@NotNull java.lang.String champId)
- Specified by:
champIdin interfaceChampConfirmationReceipt1.ChampIdStage
-
messageHeader
public ChampConfirmationReceipt1.ReferencedMessageTypeStage messageHeader(@NotNull CargojsonMessageHeader messageHeader)
- Specified by:
messageHeaderin interfaceChampConfirmationReceipt1.MessageHeaderStage
-
referencedMessageType
public ChampConfirmationReceipt1.AirWaybillNumberStage referencedMessageType(@NotNull java.lang.String referencedMessageType)
- Specified by:
referencedMessageTypein interfaceChampConfirmationReceipt1.ReferencedMessageTypeStage
-
airWaybillNumber
public ChampConfirmationReceipt1.OriginStage airWaybillNumber(@NotNull java.lang.String airWaybillNumber)
- Specified by:
airWaybillNumberin interfaceChampConfirmationReceipt1.AirWaybillNumberStage
-
origin
public ChampConfirmationReceipt1.DestinationStage origin(@NotNull java.lang.String origin)
- Specified by:
originin interfaceChampConfirmationReceipt1.OriginStage
-
destination
public ChampConfirmationReceipt1.RejectedStage destination(@NotNull java.lang.String destination)
- Specified by:
destinationin interfaceChampConfirmationReceipt1.DestinationStage
-
rejected
public ChampConfirmationReceipt1.TextMessageStage rejected(boolean rejected)
- Specified by:
rejectedin interfaceChampConfirmationReceipt1.RejectedStage
-
textMessage
public ChampConfirmationReceipt1.ReceivedAtStage textMessage(@NotNull java.lang.String textMessage)
- Specified by:
textMessagein interfaceChampConfirmationReceipt1.TextMessageStage
-
receivedAt
public ChampConfirmationReceipt1._FinalStage receivedAt(@NotNull java.time.OffsetDateTime receivedAt)
- Specified by:
receivedAtin interfaceChampConfirmationReceipt1.ReceivedAtStage
-
taskGroupId
public ChampConfirmationReceipt1._FinalStage taskGroupId(Nullable<java.lang.String> taskGroupId)
- Specified by:
taskGroupIdin interfaceChampConfirmationReceipt1._FinalStage
-
taskGroupId
public ChampConfirmationReceipt1._FinalStage taskGroupId(java.lang.String taskGroupId)
- Specified by:
taskGroupIdin interfaceChampConfirmationReceipt1._FinalStage
-
taskGroupId
public ChampConfirmationReceipt1._FinalStage taskGroupId(java.util.Optional<java.lang.String> taskGroupId)
- Specified by:
taskGroupIdin interfaceChampConfirmationReceipt1._FinalStage
-
orgId
public ChampConfirmationReceipt1._FinalStage orgId(Nullable<java.lang.String> orgId)
Must be a string starting with
org_- Specified by:
orgIdin interfaceChampConfirmationReceipt1._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
orgId
public ChampConfirmationReceipt1._FinalStage orgId(java.lang.String orgId)
Must be a string starting with
org_- Specified by:
orgIdin interfaceChampConfirmationReceipt1._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
orgId
public ChampConfirmationReceipt1._FinalStage orgId(java.util.Optional<java.lang.String> orgId)
Must be a string starting with
org_- Specified by:
orgIdin interfaceChampConfirmationReceipt1._FinalStage
-
referenceMessageContent
public ChampConfirmationReceipt1._FinalStage referenceMessageContent(Nullable<java.lang.String> referenceMessageContent)
- Specified by:
referenceMessageContentin interfaceChampConfirmationReceipt1._FinalStage
-
referenceMessageContent
public ChampConfirmationReceipt1._FinalStage referenceMessageContent(java.lang.String referenceMessageContent)
- Specified by:
referenceMessageContentin interfaceChampConfirmationReceipt1._FinalStage
-
referenceMessageContent
public ChampConfirmationReceipt1._FinalStage referenceMessageContent(java.util.Optional<java.lang.String> referenceMessageContent)
- Specified by:
referenceMessageContentin interfaceChampConfirmationReceipt1._FinalStage
-
schemaVersion
public ChampConfirmationReceipt1._FinalStage schemaVersion(java.lang.Integer schemaVersion)
- Specified by:
schemaVersionin interfaceChampConfirmationReceipt1._FinalStage
-
schemaVersion
public ChampConfirmationReceipt1._FinalStage schemaVersion(java.util.Optional<java.lang.Integer> schemaVersion)
- Specified by:
schemaVersionin interfaceChampConfirmationReceipt1._FinalStage
-
build
public ChampConfirmationReceipt1 build()
- Specified by:
buildin interfaceChampConfirmationReceipt1._FinalStage
-
-