-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #30 from dcsaorg/DT-718
Dt-718 changes for reefer
- Loading branch information
Showing
7 changed files
with
147 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 12 additions & 1 deletion
13
...c/main/java/org/dcsa/conformance/standards/booking/action/StateChangingBookingAction.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
booking/src/main/java/org/dcsa/conformance/standards/booking/party/BookingVariant.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package org.dcsa.conformance.standards.booking.party; | ||
|
||
import lombok.Getter; | ||
|
||
@Getter | ||
public enum BookingVariant { | ||
REGULAR("Regular"), | ||
REEFER("Reefer"), | ||
DG("Dangerous Goods"); | ||
|
||
private final String value; | ||
|
||
BookingVariant(String value) { | ||
this.value = value; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
74 changes: 74 additions & 0 deletions
74
booking/src/main/resources/standards/booking/messages/booking-api-v20-reefer-request.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
{ | ||
"receiptTypeAtOrigin": "CY", | ||
"deliveryTypeAtDestination": "CY", | ||
"cargoMovementTypeAtOrigin": "FCL", | ||
"cargoMovementTypeAtDestination": "FCL", | ||
"contractQuotationReference": "CONTRACT_QUOTATION_REFERENCE_PLACEHOLDER", | ||
"carrierExportVoyageNumber": "CARRIER_EXPORT_VOYAGE_NUMBER_PLACEHOLDER", | ||
"carrierServiceName": "CARRIER_SERVICE_NAME_PLACEHOLDER", | ||
"isPartialLoadAllowed": false, | ||
"isExportDeclarationRequired": false, | ||
"isImportLicenseRequired": false, | ||
"communicationChannelCode": "AO", | ||
"isEquipmentSubstitutionAllowed": true, | ||
"requestedEquipments": [ | ||
{ | ||
"ISOEquipmentCode": "22RT", | ||
"units": 1, | ||
"isShipperOwned": false, | ||
"commodities": [ | ||
{ | ||
"HSCodes": ["COMMODITY_HS_CODE"], | ||
"commodityType": "COMMODITY_TYPE_PLACEHOLDER", | ||
"cargoGrossWeight": 323.32, | ||
"cargoGrossWeightUnit": "KGM" | ||
} | ||
], | ||
"isNonOperatingReefer": false, | ||
"activeReeferSettings": { | ||
"temperatureSetpoint": -18, | ||
"temperatureUnit": "CEL" | ||
} | ||
} | ||
], | ||
"documentParties": [ | ||
{ | ||
"party": { | ||
"partyName": "DCSA Conformance Toolkit", | ||
"address": { | ||
"name": "Mustermann", | ||
"street": "Strawinskylaan", | ||
"streetNumber": "4117", | ||
"floor": "6", | ||
"postCode": "1077 ZX", | ||
"city": "Amsterdam", | ||
"country": "Netherlands" | ||
}, | ||
"partyContactDetails": [ | ||
{ | ||
"name": "Henrik", | ||
"phone": "+31611444666" | ||
} | ||
] | ||
}, | ||
"partyFunction": "BA", | ||
"isToBeNotified": false | ||
} | ||
], | ||
"shipmentLocations": [ | ||
{ | ||
"location": { | ||
"locationType": "UNLO", | ||
"UNLocationCode": "POL_UNLOCATION_CODE_PLACEHOLDER" | ||
}, | ||
"locationTypeCode": "POL" | ||
}, | ||
{ | ||
"location": { | ||
"locationType": "UNLO", | ||
"UNLocationCode": "POD_UNLOCATION_CODE_PLACEHOLDER" | ||
}, | ||
"locationTypeCode": "POD" | ||
} | ||
] | ||
} |