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.2 document data.
-
-
Field Summary
Fields Modifier and Type Field Description protected StringFieldcustomerAddressThe address of the customer receiving the goods.protected StringFieldcustomerNameThe name of the customer receiving the goods.protected DateFielddeliveryDateThe date on which the delivery is scheduled to arrive.protected StringFielddeliveryNumberA unique identifier for the delivery note.protected StringFieldsupplierAddressThe address of the supplier providing the goods.protected StringFieldsupplierNameThe name of the supplier providing the goods.protected AmountFieldtotalAmountThe 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 booleancanEqual(Object other)booleanequals(Object o)StringFieldgetCustomerAddress()The address of the customer receiving the goods.StringFieldgetCustomerName()The name of the customer receiving the goods.DateFieldgetDeliveryDate()The date on which the delivery is scheduled to arrive.StringFieldgetDeliveryNumber()A unique identifier for the delivery note.StringFieldgetSupplierAddress()The address of the supplier providing the goods.StringFieldgetSupplierName()The name of the supplier providing the goods.AmountFieldgetTotalAmount()The total monetary value of the goods being delivered.inthashCode()booleanisEmpty()Returnstrueif there are no predictions values.StringtoString()
-
-
-
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:PredictionReturnstrueif there are no predictions values. Accessing prediction values when this istruemay result in aNullPointerException- Specified by:
isEmptyin 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)
-
-