Package com.chrt.api.types
Class ChampAirWaybill1.Builder
- java.lang.Object
-
- com.chrt.api.types.ChampAirWaybill1.Builder
-
- All Implemented Interfaces:
ChampAirWaybill1._FinalStage,ChampAirWaybill1.AirWaybillNumberStage,ChampAirWaybill1.CreatedAtStage,ChampAirWaybill1.DestinationStage,ChampAirWaybill1.IdStage,ChampAirWaybill1.OrgIdStage,ChampAirWaybill1.OriginStage,ChampAirWaybill1.TaskGroupIdStage,ChampAirWaybill1.TotalConsignmentNumberOfPiecesStage,ChampAirWaybill1.UpdatedAtStage,ChampAirWaybill1.WebcargoBookingRecordIdStage,ChampAirWaybill1.WeightStage
- Enclosing class:
- ChampAirWaybill1
public static final class ChampAirWaybill1.Builder extends java.lang.Object implements ChampAirWaybill1.IdStage, ChampAirWaybill1.OrgIdStage, ChampAirWaybill1.TaskGroupIdStage, ChampAirWaybill1.WebcargoBookingRecordIdStage, ChampAirWaybill1.AirWaybillNumberStage, ChampAirWaybill1.OriginStage, ChampAirWaybill1.DestinationStage, ChampAirWaybill1.TotalConsignmentNumberOfPiecesStage, ChampAirWaybill1.WeightStage, ChampAirWaybill1.CreatedAtStage, ChampAirWaybill1.UpdatedAtStage, ChampAirWaybill1._FinalStage
-
-
Method Summary
-
-
-
Method Detail
-
from
public ChampAirWaybill1.Builder from(ChampAirWaybill1 other)
- Specified by:
fromin interfaceChampAirWaybill1.IdStage
-
id
public ChampAirWaybill1.OrgIdStage id(@NotNull java.lang.String id)
- Specified by:
idin interfaceChampAirWaybill1.IdStage
-
orgId
public ChampAirWaybill1.TaskGroupIdStage orgId(@NotNull java.lang.String orgId)
Must be a string starting with
org_Must be a string starting with
org_- Specified by:
orgIdin interfaceChampAirWaybill1.OrgIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
taskGroupId
public ChampAirWaybill1.WebcargoBookingRecordIdStage taskGroupId(@NotNull java.lang.String taskGroupId)
- Specified by:
taskGroupIdin interfaceChampAirWaybill1.TaskGroupIdStage
-
webcargoBookingRecordId
public ChampAirWaybill1.AirWaybillNumberStage webcargoBookingRecordId(@NotNull java.lang.String webcargoBookingRecordId)
- Specified by:
webcargoBookingRecordIdin interfaceChampAirWaybill1.WebcargoBookingRecordIdStage
-
airWaybillNumber
public ChampAirWaybill1.OriginStage airWaybillNumber(@NotNull java.lang.String airWaybillNumber)
- Specified by:
airWaybillNumberin interfaceChampAirWaybill1.AirWaybillNumberStage
-
origin
public ChampAirWaybill1.DestinationStage origin(@NotNull java.lang.String origin)
- Specified by:
originin interfaceChampAirWaybill1.OriginStage
-
destination
public ChampAirWaybill1.TotalConsignmentNumberOfPiecesStage destination(@NotNull java.lang.String destination)
- Specified by:
destinationin interfaceChampAirWaybill1.DestinationStage
-
totalConsignmentNumberOfPieces
public ChampAirWaybill1.WeightStage totalConsignmentNumberOfPieces(int totalConsignmentNumberOfPieces)
- Specified by:
totalConsignmentNumberOfPiecesin interfaceChampAirWaybill1.TotalConsignmentNumberOfPiecesStage
-
weight
public ChampAirWaybill1.CreatedAtStage weight(@NotNull CargojsonWeight weight)
- Specified by:
weightin interfaceChampAirWaybill1.WeightStage
-
createdAt
public ChampAirWaybill1.UpdatedAtStage createdAt(@NotNull java.time.OffsetDateTime createdAt)
- Specified by:
createdAtin interfaceChampAirWaybill1.CreatedAtStage
-
updatedAt
public ChampAirWaybill1._FinalStage updatedAt(@NotNull java.time.OffsetDateTime updatedAt)
- Specified by:
updatedAtin interfaceChampAirWaybill1.UpdatedAtStage
-
submittedAt
public ChampAirWaybill1._FinalStage submittedAt(Nullable<java.time.OffsetDateTime> submittedAt)
- Specified by:
submittedAtin interfaceChampAirWaybill1._FinalStage
-
submittedAt
public ChampAirWaybill1._FinalStage submittedAt(java.time.OffsetDateTime submittedAt)
- Specified by:
submittedAtin interfaceChampAirWaybill1._FinalStage
-
submittedAt
public ChampAirWaybill1._FinalStage submittedAt(java.util.Optional<java.time.OffsetDateTime> submittedAt)
- Specified by:
submittedAtin interfaceChampAirWaybill1._FinalStage
-
oci
public ChampAirWaybill1._FinalStage oci(java.util.List<CargojsonOci> oci)
- Specified by:
ociin interfaceChampAirWaybill1._FinalStage
-
oci
public ChampAirWaybill1._FinalStage oci(java.util.Optional<java.util.List<CargojsonOci>> oci)
- Specified by:
ociin interfaceChampAirWaybill1._FinalStage
-
otherParticipant
public ChampAirWaybill1._FinalStage otherParticipant(java.util.List<CargojsonOtherParticipant> otherParticipant)
- Specified by:
otherParticipantin interfaceChampAirWaybill1._FinalStage
-
otherParticipant
public ChampAirWaybill1._FinalStage otherParticipant(java.util.Optional<java.util.List<CargojsonOtherParticipant>> otherParticipant)
- Specified by:
otherParticipantin interfaceChampAirWaybill1._FinalStage
-
shipmentReferenceInformation
public ChampAirWaybill1._FinalStage shipmentReferenceInformation(Nullable<CargojsonShipmentReferenceInformation> shipmentReferenceInformation)
- Specified by:
shipmentReferenceInformationin interfaceChampAirWaybill1._FinalStage
-
shipmentReferenceInformation
public ChampAirWaybill1._FinalStage shipmentReferenceInformation(CargojsonShipmentReferenceInformation shipmentReferenceInformation)
- Specified by:
shipmentReferenceInformationin interfaceChampAirWaybill1._FinalStage
-
shipmentReferenceInformation
public ChampAirWaybill1._FinalStage shipmentReferenceInformation(java.util.Optional<CargojsonShipmentReferenceInformation> shipmentReferenceInformation)
- Specified by:
shipmentReferenceInformationin interfaceChampAirWaybill1._FinalStage
-
nominatedHandlingParty
public ChampAirWaybill1._FinalStage nominatedHandlingParty(Nullable<CargojsonNominatedHandlingParty> nominatedHandlingParty)
- Specified by:
nominatedHandlingPartyin interfaceChampAirWaybill1._FinalStage
-
nominatedHandlingParty
public ChampAirWaybill1._FinalStage nominatedHandlingParty(CargojsonNominatedHandlingParty nominatedHandlingParty)
- Specified by:
nominatedHandlingPartyin interfaceChampAirWaybill1._FinalStage
-
nominatedHandlingParty
public ChampAirWaybill1._FinalStage nominatedHandlingParty(java.util.Optional<CargojsonNominatedHandlingParty> nominatedHandlingParty)
- Specified by:
nominatedHandlingPartyin interfaceChampAirWaybill1._FinalStage
-
salesIncentive
public ChampAirWaybill1._FinalStage salesIncentive(Nullable<CargojsonSalesIncentive> salesIncentive)
- Specified by:
salesIncentivein interfaceChampAirWaybill1._FinalStage
-
salesIncentive
public ChampAirWaybill1._FinalStage salesIncentive(CargojsonSalesIncentive salesIncentive)
- Specified by:
salesIncentivein interfaceChampAirWaybill1._FinalStage
-
salesIncentive
public ChampAirWaybill1._FinalStage salesIncentive(java.util.Optional<CargojsonSalesIncentive> salesIncentive)
- Specified by:
salesIncentivein interfaceChampAirWaybill1._FinalStage
-
commissionInfo
public ChampAirWaybill1._FinalStage commissionInfo(Nullable<CargojsonCommissionInfo> commissionInfo)
- Specified by:
commissionInfoin interfaceChampAirWaybill1._FinalStage
-
commissionInfo
public ChampAirWaybill1._FinalStage commissionInfo(CargojsonCommissionInfo commissionInfo)
- Specified by:
commissionInfoin interfaceChampAirWaybill1._FinalStage
-
commissionInfo
public ChampAirWaybill1._FinalStage commissionInfo(java.util.Optional<CargojsonCommissionInfo> commissionInfo)
- Specified by:
commissionInfoin interfaceChampAirWaybill1._FinalStage
-
customsOriginCode
public ChampAirWaybill1._FinalStage customsOriginCode(Nullable<java.lang.String> customsOriginCode)
- Specified by:
customsOriginCodein interfaceChampAirWaybill1._FinalStage
-
customsOriginCode
public ChampAirWaybill1._FinalStage customsOriginCode(java.lang.String customsOriginCode)
- Specified by:
customsOriginCodein interfaceChampAirWaybill1._FinalStage
-
customsOriginCode
public ChampAirWaybill1._FinalStage customsOriginCode(java.util.Optional<java.lang.String> customsOriginCode)
- Specified by:
customsOriginCodein interfaceChampAirWaybill1._FinalStage
-
chargesCollectInDestCurrency
public ChampAirWaybill1._FinalStage chargesCollectInDestCurrency(Nullable<CargojsonCollectChargesInDestCurrency> chargesCollectInDestCurrency)
- Specified by:
chargesCollectInDestCurrencyin interfaceChampAirWaybill1._FinalStage
-
chargesCollectInDestCurrency
public ChampAirWaybill1._FinalStage chargesCollectInDestCurrency(CargojsonCollectChargesInDestCurrency chargesCollectInDestCurrency)
- Specified by:
chargesCollectInDestCurrencyin interfaceChampAirWaybill1._FinalStage
-
chargesCollectInDestCurrency
public ChampAirWaybill1._FinalStage chargesCollectInDestCurrency(java.util.Optional<CargojsonCollectChargesInDestCurrency> chargesCollectInDestCurrency)
- Specified by:
chargesCollectInDestCurrencyin interfaceChampAirWaybill1._FinalStage
-
otherServiceInformation
public ChampAirWaybill1._FinalStage otherServiceInformation(Nullable<java.lang.String> otherServiceInformation)
- Specified by:
otherServiceInformationin interfaceChampAirWaybill1._FinalStage
-
otherServiceInformation
public ChampAirWaybill1._FinalStage otherServiceInformation(java.lang.String otherServiceInformation)
- Specified by:
otherServiceInformationin interfaceChampAirWaybill1._FinalStage
-
otherServiceInformation
public ChampAirWaybill1._FinalStage otherServiceInformation(java.util.Optional<java.lang.String> otherServiceInformation)
- Specified by:
otherServiceInformationin interfaceChampAirWaybill1._FinalStage
-
shippersCertification
public ChampAirWaybill1._FinalStage shippersCertification(Nullable<java.lang.String> shippersCertification)
- Specified by:
shippersCertificationin interfaceChampAirWaybill1._FinalStage
-
shippersCertification
public ChampAirWaybill1._FinalStage shippersCertification(java.lang.String shippersCertification)
- Specified by:
shippersCertificationin interfaceChampAirWaybill1._FinalStage
-
shippersCertification
public ChampAirWaybill1._FinalStage shippersCertification(java.util.Optional<java.lang.String> shippersCertification)
- Specified by:
shippersCertificationin interfaceChampAirWaybill1._FinalStage
-
otherCharges
public ChampAirWaybill1._FinalStage otherCharges(java.util.List<CargojsonOtherChargeItem> otherCharges)
- Specified by:
otherChargesin interfaceChampAirWaybill1._FinalStage
-
otherCharges
public ChampAirWaybill1._FinalStage otherCharges(java.util.Optional<java.util.List<CargojsonOtherChargeItem>> otherCharges)
- Specified by:
otherChargesin interfaceChampAirWaybill1._FinalStage
-
accounting
public ChampAirWaybill1._FinalStage accounting(java.util.List<CargojsonAccounting> accounting)
- Specified by:
accountingin interfaceChampAirWaybill1._FinalStage
-
accounting
public ChampAirWaybill1._FinalStage accounting(java.util.Optional<java.util.List<CargojsonAccounting>> accounting)
- Specified by:
accountingin interfaceChampAirWaybill1._FinalStage
-
collectChargeSummary
public ChampAirWaybill1._FinalStage collectChargeSummary(Nullable<CargojsonChargeSummary> collectChargeSummary)
- Specified by:
collectChargeSummaryin interfaceChampAirWaybill1._FinalStage
-
collectChargeSummary
public ChampAirWaybill1._FinalStage collectChargeSummary(CargojsonChargeSummary collectChargeSummary)
- Specified by:
collectChargeSummaryin interfaceChampAirWaybill1._FinalStage
-
collectChargeSummary
public ChampAirWaybill1._FinalStage collectChargeSummary(java.util.Optional<CargojsonChargeSummary> collectChargeSummary)
- Specified by:
collectChargeSummaryin interfaceChampAirWaybill1._FinalStage
-
prepaidChargeSummary
public ChampAirWaybill1._FinalStage prepaidChargeSummary(Nullable<CargojsonChargeSummary> prepaidChargeSummary)
- Specified by:
prepaidChargeSummaryin interfaceChampAirWaybill1._FinalStage
-
prepaidChargeSummary
public ChampAirWaybill1._FinalStage prepaidChargeSummary(CargojsonChargeSummary prepaidChargeSummary)
- Specified by:
prepaidChargeSummaryin interfaceChampAirWaybill1._FinalStage
-
prepaidChargeSummary
public ChampAirWaybill1._FinalStage prepaidChargeSummary(java.util.Optional<CargojsonChargeSummary> prepaidChargeSummary)
- Specified by:
prepaidChargeSummaryin interfaceChampAirWaybill1._FinalStage
-
alsoNotify
public ChampAirWaybill1._FinalStage alsoNotify(Nullable<CargojsonAccountContact> alsoNotify)
- Specified by:
alsoNotifyin interfaceChampAirWaybill1._FinalStage
-
alsoNotify
public ChampAirWaybill1._FinalStage alsoNotify(CargojsonAccountContact alsoNotify)
- Specified by:
alsoNotifyin interfaceChampAirWaybill1._FinalStage
-
alsoNotify
public ChampAirWaybill1._FinalStage alsoNotify(java.util.Optional<CargojsonAccountContact> alsoNotify)
- Specified by:
alsoNotifyin interfaceChampAirWaybill1._FinalStage
-
specialServiceRequest
public ChampAirWaybill1._FinalStage specialServiceRequest(Nullable<java.lang.String> specialServiceRequest)
- Specified by:
specialServiceRequestin interfaceChampAirWaybill1._FinalStage
-
specialServiceRequest
public ChampAirWaybill1._FinalStage specialServiceRequest(java.lang.String specialServiceRequest)
- Specified by:
specialServiceRequestin interfaceChampAirWaybill1._FinalStage
-
specialServiceRequest
public ChampAirWaybill1._FinalStage specialServiceRequest(java.util.Optional<java.lang.String> specialServiceRequest)
- Specified by:
specialServiceRequestin interfaceChampAirWaybill1._FinalStage
-
additionalSpecialHandlingCodes
public ChampAirWaybill1._FinalStage additionalSpecialHandlingCodes(java.util.List<java.lang.String> additionalSpecialHandlingCodes)
- Specified by:
additionalSpecialHandlingCodesin interfaceChampAirWaybill1._FinalStage
-
additionalSpecialHandlingCodes
public ChampAirWaybill1._FinalStage additionalSpecialHandlingCodes(java.util.Optional<java.util.List<java.lang.String>> additionalSpecialHandlingCodes)
- Specified by:
additionalSpecialHandlingCodesin interfaceChampAirWaybill1._FinalStage
-
specialHandlingCodes
public ChampAirWaybill1._FinalStage specialHandlingCodes(java.util.List<CargojsonSpecialHandlingCode> specialHandlingCodes)
- Specified by:
specialHandlingCodesin interfaceChampAirWaybill1._FinalStage
-
specialHandlingCodes
public ChampAirWaybill1._FinalStage specialHandlingCodes(java.util.Optional<java.util.List<CargojsonSpecialHandlingCode>> specialHandlingCodes)
- Specified by:
specialHandlingCodesin interfaceChampAirWaybill1._FinalStage
-
densityGroup
public ChampAirWaybill1._FinalStage densityGroup(Nullable<java.lang.Integer> densityGroup)
- Specified by:
densityGroupin interfaceChampAirWaybill1._FinalStage
-
densityGroup
public ChampAirWaybill1._FinalStage densityGroup(java.lang.Integer densityGroup)
- Specified by:
densityGroupin interfaceChampAirWaybill1._FinalStage
-
densityGroup
public ChampAirWaybill1._FinalStage densityGroup(java.util.Optional<java.lang.Integer> densityGroup)
- Specified by:
densityGroupin interfaceChampAirWaybill1._FinalStage
-
chargeDeclarations
public ChampAirWaybill1._FinalStage chargeDeclarations(Nullable<CargojsonChargeDeclarations> chargeDeclarations)
- Specified by:
chargeDeclarationsin interfaceChampAirWaybill1._FinalStage
-
chargeDeclarations
public ChampAirWaybill1._FinalStage chargeDeclarations(CargojsonChargeDeclarations chargeDeclarations)
- Specified by:
chargeDeclarationsin interfaceChampAirWaybill1._FinalStage
-
chargeDeclarations
public ChampAirWaybill1._FinalStage chargeDeclarations(java.util.Optional<CargojsonChargeDeclarations> chargeDeclarations)
- Specified by:
chargeDeclarationsin interfaceChampAirWaybill1._FinalStage
-
consignee
public ChampAirWaybill1._FinalStage consignee(Nullable<CargojsonAccountContact> consignee)
- Specified by:
consigneein interfaceChampAirWaybill1._FinalStage
-
consignee
public ChampAirWaybill1._FinalStage consignee(CargojsonAccountContact consignee)
- Specified by:
consigneein interfaceChampAirWaybill1._FinalStage
-
consignee
public ChampAirWaybill1._FinalStage consignee(java.util.Optional<CargojsonAccountContact> consignee)
- Specified by:
consigneein interfaceChampAirWaybill1._FinalStage
-
shipper
public ChampAirWaybill1._FinalStage shipper(Nullable<CargojsonAccountContact> shipper)
- Specified by:
shipperin interfaceChampAirWaybill1._FinalStage
-
shipper
public ChampAirWaybill1._FinalStage shipper(CargojsonAccountContact shipper)
- Specified by:
shipperin interfaceChampAirWaybill1._FinalStage
-
shipper
public ChampAirWaybill1._FinalStage shipper(java.util.Optional<CargojsonAccountContact> shipper)
- Specified by:
shipperin interfaceChampAirWaybill1._FinalStage
-
agent
public ChampAirWaybill1._FinalStage agent(Nullable<CargojsonAgent> agent)
- Specified by:
agentin interfaceChampAirWaybill1._FinalStage
-
agent
public ChampAirWaybill1._FinalStage agent(CargojsonAgent agent)
- Specified by:
agentin interfaceChampAirWaybill1._FinalStage
-
agent
public ChampAirWaybill1._FinalStage agent(java.util.Optional<CargojsonAgent> agent)
- Specified by:
agentin interfaceChampAirWaybill1._FinalStage
-
isoCurrencyCode
public ChampAirWaybill1._FinalStage isoCurrencyCode(Nullable<java.lang.String> isoCurrencyCode)
- Specified by:
isoCurrencyCodein interfaceChampAirWaybill1._FinalStage
-
isoCurrencyCode
public ChampAirWaybill1._FinalStage isoCurrencyCode(java.lang.String isoCurrencyCode)
- Specified by:
isoCurrencyCodein interfaceChampAirWaybill1._FinalStage
-
isoCurrencyCode
public ChampAirWaybill1._FinalStage isoCurrencyCode(java.util.Optional<java.lang.String> isoCurrencyCode)
- Specified by:
isoCurrencyCodein interfaceChampAirWaybill1._FinalStage
-
flights
public ChampAirWaybill1._FinalStage flights(Nullable<java.util.List<CargojsonFlightIdentity>> flights)
- Specified by:
flightsin interfaceChampAirWaybill1._FinalStage
-
flights
public ChampAirWaybill1._FinalStage flights(java.util.List<CargojsonFlightIdentity> flights)
- Specified by:
flightsin interfaceChampAirWaybill1._FinalStage
-
flights
public ChampAirWaybill1._FinalStage flights(java.util.Optional<java.util.List<CargojsonFlightIdentity>> flights)
- Specified by:
flightsin interfaceChampAirWaybill1._FinalStage
-
volume
public ChampAirWaybill1._FinalStage volume(Nullable<CargojsonVolume> volume)
- Specified by:
volumein interfaceChampAirWaybill1._FinalStage
-
volume
public ChampAirWaybill1._FinalStage volume(CargojsonVolume volume)
- Specified by:
volumein interfaceChampAirWaybill1._FinalStage
-
volume
public ChampAirWaybill1._FinalStage volume(java.util.Optional<CargojsonVolume> volume)
- Specified by:
volumein interfaceChampAirWaybill1._FinalStage
-
addAllChargeItems
public ChampAirWaybill1._FinalStage addAllChargeItems(java.util.List<CargojsonChargeItem> chargeItems)
- Specified by:
addAllChargeItemsin interfaceChampAirWaybill1._FinalStage
-
addChargeItems
public ChampAirWaybill1._FinalStage addChargeItems(CargojsonChargeItem chargeItems)
- Specified by:
addChargeItemsin interfaceChampAirWaybill1._FinalStage
-
chargeItems
public ChampAirWaybill1._FinalStage chargeItems(java.util.List<CargojsonChargeItem> chargeItems)
- Specified by:
chargeItemsin interfaceChampAirWaybill1._FinalStage
-
addAllRoute
public ChampAirWaybill1._FinalStage addAllRoute(java.util.List<CargojsonRouting> route)
- Specified by:
addAllRoutein interfaceChampAirWaybill1._FinalStage
-
addRoute
public ChampAirWaybill1._FinalStage addRoute(CargojsonRouting route)
- Specified by:
addRoutein interfaceChampAirWaybill1._FinalStage
-
route
public ChampAirWaybill1._FinalStage route(java.util.List<CargojsonRouting> route)
- Specified by:
routein interfaceChampAirWaybill1._FinalStage
-
status
public ChampAirWaybill1._FinalStage status(ChampAirWaybillStatusEnum1 status)
- Specified by:
statusin interfaceChampAirWaybill1._FinalStage
-
status
public ChampAirWaybill1._FinalStage status(java.util.Optional<ChampAirWaybillStatusEnum1> status)
- Specified by:
statusin interfaceChampAirWaybill1._FinalStage
-
schemaVersion
public ChampAirWaybill1._FinalStage schemaVersion(java.lang.Integer schemaVersion)
- Specified by:
schemaVersionin interfaceChampAirWaybill1._FinalStage
-
schemaVersion
public ChampAirWaybill1._FinalStage schemaVersion(java.util.Optional<java.lang.Integer> schemaVersion)
- Specified by:
schemaVersionin interfaceChampAirWaybill1._FinalStage
-
build
public ChampAirWaybill1 build()
- Specified by:
buildin interfaceChampAirWaybill1._FinalStage
-
-