Package com.mindee.product.deliverynote
Class DeliveryNoteV1Document
- java.lang.Object
-
- com.mindee.parsing.common.Prediction
-
- com.mindee.product.deliverynote.DeliveryNoteV1Document
-
public class DeliveryNoteV1Document extends Prediction
Delivery note API version 1.1 document data.
-
-
Field Summary
Fields Modifier and Type Field Description protected StringField
customerAddress
The address of the customer receiving the goods.protected StringField
customerName
The name of the customer receiving the goods.protected DateField
deliveryDate
The date on which the delivery is scheduled to arrive.protected StringField
deliveryNumber
A unique identifier for the delivery note.protected StringField
supplierAddress
The address of the supplier providing the goods.protected StringField
supplierName
The name of the supplier providing the goods.protected AmountField
totalAmount
The total monetary value of the goods being delivered.
-
Constructor Summary
Constructors Constructor Description DeliveryNoteV1Document()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
StringField
getCustomerAddress()
The address of the customer receiving the goods.StringField
getCustomerName()
The name of the customer receiving the goods.DateField
getDeliveryDate()
The date on which the delivery is scheduled to arrive.StringField
getDeliveryNumber()
A unique identifier for the delivery note.StringField
getSupplierAddress()
The address of the supplier providing the goods.StringField
getSupplierName()
The name of the supplier providing the goods.AmountField
getTotalAmount()
The total monetary value of the goods being delivered.int
hashCode()
boolean
isEmpty()
Returnstrue
if there are no predictions values.String
toString()
-
-
-
Field Detail
-
customerAddress
protected StringField customerAddress
The address of the customer receiving the goods.
-
customerName
protected StringField customerName
The name of the customer receiving the goods.
-
deliveryDate
protected DateField deliveryDate
The date on which the delivery is scheduled to arrive.
-
deliveryNumber
protected StringField deliveryNumber
A unique identifier for the delivery note.
-
supplierAddress
protected StringField supplierAddress
The address of the supplier providing the goods.
-
supplierName
protected StringField supplierName
The name of the supplier providing the goods.
-
totalAmount
protected AmountField totalAmount
The total monetary value of the goods being delivered.
-
-
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
-
getCustomerAddress
public StringField getCustomerAddress()
The address of the customer receiving the goods.
-
getCustomerName
public StringField getCustomerName()
The name of the customer receiving the goods.
-
getDeliveryDate
public DateField getDeliveryDate()
The date on which the delivery is scheduled to arrive.
-
getDeliveryNumber
public StringField getDeliveryNumber()
A unique identifier for the delivery note.
-
getSupplierAddress
public StringField getSupplierAddress()
The address of the supplier providing the goods.
-
getSupplierName
public StringField getSupplierName()
The name of the supplier providing the goods.
-
getTotalAmount
public AmountField getTotalAmount()
The total monetary value of the goods being delivered.
-
canEqual
protected boolean canEqual(Object other)
-
-