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 StringFieldbillOfLadingNumberA unique identifier assigned to a Bill of Lading document.protected BillOfLadingV1CarriercarrierThe shipping company responsible for transporting the goods.protected List<BillOfLadingV1CarrierItem>carrierItemsThe goods being shipped.protected BillOfLadingV1ConsigneeconsigneeThe party to whom the goods are being shipped.protected DateFielddateOfIssueThe date when the bill of lading is issued.protected DateFielddepartureDateThe date when the vessel departs from the port of loading.protected BillOfLadingV1NotifyPartynotifyPartyThe party to be notified of the arrival of the goods.protected StringFieldplaceOfDeliveryThe place where the goods are to be delivered.protected StringFieldportOfDischargeThe port where the goods are unloaded from the vessel.protected StringFieldportOfLoadingThe port where the goods are loaded onto the vessel.protected BillOfLadingV1ShippershipperThe 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 booleancanEqual(Object other)booleanequals(Object o)StringFieldgetBillOfLadingNumber()A unique identifier assigned to a Bill of Lading document.BillOfLadingV1CarriergetCarrier()The shipping company responsible for transporting the goods.List<BillOfLadingV1CarrierItem>getCarrierItems()The goods being shipped.BillOfLadingV1ConsigneegetConsignee()The party to whom the goods are being shipped.DateFieldgetDateOfIssue()The date when the bill of lading is issued.DateFieldgetDepartureDate()The date when the vessel departs from the port of loading.BillOfLadingV1NotifyPartygetNotifyParty()The party to be notified of the arrival of the goods.StringFieldgetPlaceOfDelivery()The place where the goods are to be delivered.StringFieldgetPortOfDischarge()The port where the goods are unloaded from the vessel.StringFieldgetPortOfLoading()The port where the goods are loaded onto the vessel.BillOfLadingV1ShippergetShipper()The party responsible for shipping the goods.inthashCode()booleanisEmpty()Returnstrueif there are no predictions values.StringtoString()
-
-
-
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:PredictionReturnstrueif there are no predictions values. Accessing prediction values when this istruemay result in aNullPointerException- Specified by:
isEmptyin 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)
-
-