Package com.mindee.product.billoflading
Class BillOfLadingV1Document
- java.lang.Object
-
- com.mindee.parsing.common.Prediction
-
- com.mindee.product.billoflading.BillOfLadingV1Document
-
public class BillOfLadingV1Document extends Prediction
Bill of Lading API version 1.1 document data.
-
-
Field Summary
Fields Modifier and Type Field Description protected StringField
billOfLadingNumber
A unique identifier assigned to a Bill of Lading document.protected BillOfLadingV1Carrier
carrier
The shipping company responsible for transporting the goods.protected List<BillOfLadingV1CarrierItem>
carrierItems
The goods being shipped.protected BillOfLadingV1Consignee
consignee
The party to whom the goods are being shipped.protected DateField
dateOfIssue
The date when the bill of lading is issued.protected DateField
departureDate
The date when the vessel departs from the port of loading.protected BillOfLadingV1NotifyParty
notifyParty
The party to be notified of the arrival of the goods.protected StringField
placeOfDelivery
The place where the goods are to be delivered.protected StringField
portOfDischarge
The port where the goods are unloaded from the vessel.protected StringField
portOfLoading
The port where the goods are loaded onto the vessel.protected BillOfLadingV1Shipper
shipper
The party responsible for shipping the goods.
-
Constructor Summary
Constructors Constructor Description BillOfLadingV1Document()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
StringField
getBillOfLadingNumber()
A unique identifier assigned to a Bill of Lading document.BillOfLadingV1Carrier
getCarrier()
The shipping company responsible for transporting the goods.List<BillOfLadingV1CarrierItem>
getCarrierItems()
The goods being shipped.BillOfLadingV1Consignee
getConsignee()
The party to whom the goods are being shipped.DateField
getDateOfIssue()
The date when the bill of lading is issued.DateField
getDepartureDate()
The date when the vessel departs from the port of loading.BillOfLadingV1NotifyParty
getNotifyParty()
The party to be notified of the arrival of the goods.StringField
getPlaceOfDelivery()
The place where the goods are to be delivered.StringField
getPortOfDischarge()
The port where the goods are unloaded from the vessel.StringField
getPortOfLoading()
The port where the goods are loaded onto the vessel.BillOfLadingV1Shipper
getShipper()
The party responsible for shipping the goods.int
hashCode()
boolean
isEmpty()
Returnstrue
if there are no predictions values.String
toString()
-
-
-
Field Detail
-
billOfLadingNumber
protected StringField billOfLadingNumber
A unique identifier assigned to a Bill of Lading document.
-
carrier
protected BillOfLadingV1Carrier carrier
The shipping company responsible for transporting the goods.
-
carrierItems
protected List<BillOfLadingV1CarrierItem> carrierItems
The goods being shipped.
-
consignee
protected BillOfLadingV1Consignee consignee
The party to whom the goods are being shipped.
-
dateOfIssue
protected DateField dateOfIssue
The date when the bill of lading is issued.
-
departureDate
protected DateField departureDate
The date when the vessel departs from the port of loading.
-
notifyParty
protected BillOfLadingV1NotifyParty notifyParty
The party to be notified of the arrival of the goods.
-
placeOfDelivery
protected StringField placeOfDelivery
The place where the goods are to be delivered.
-
portOfDischarge
protected StringField portOfDischarge
The port where the goods are unloaded from the vessel.
-
portOfLoading
protected StringField portOfLoading
The port where the goods are loaded onto the vessel.
-
shipper
protected BillOfLadingV1Shipper shipper
The party responsible for shipping the goods.
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
Description copied from class:Prediction
Returnstrue
if there are no predictions values. Accessing prediction values when this istrue
may result in aNullPointerException
- Specified by:
isEmpty
in classPrediction
-
getBillOfLadingNumber
public StringField getBillOfLadingNumber()
A unique identifier assigned to a Bill of Lading document.
-
getCarrier
public BillOfLadingV1Carrier getCarrier()
The shipping company responsible for transporting the goods.
-
getCarrierItems
public List<BillOfLadingV1CarrierItem> getCarrierItems()
The goods being shipped.
-
getConsignee
public BillOfLadingV1Consignee getConsignee()
The party to whom the goods are being shipped.
-
getDateOfIssue
public DateField getDateOfIssue()
The date when the bill of lading is issued.
-
getDepartureDate
public DateField getDepartureDate()
The date when the vessel departs from the port of loading.
-
getNotifyParty
public BillOfLadingV1NotifyParty getNotifyParty()
The party to be notified of the arrival of the goods.
-
getPlaceOfDelivery
public StringField getPlaceOfDelivery()
The place where the goods are to be delivered.
-
getPortOfDischarge
public StringField getPortOfDischarge()
The port where the goods are unloaded from the vessel.
-
getPortOfLoading
public StringField getPortOfLoading()
The port where the goods are loaded onto the vessel.
-
getShipper
public BillOfLadingV1Shipper getShipper()
The party responsible for shipping the goods.
-
canEqual
protected boolean canEqual(Object other)
-
-