Package com.veeroute.lss.monitor.model
Class CargoInvoice
java.lang.Object
com.veeroute.lss.monitor.model.CargoInvoice
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-11-23T13:47:38.388455705+03:00[Europe/Moscow]",
comments="Generator version: 7.17.0")
public class CargoInvoice
extends Object
Cargo invoice.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddInvoiceDetailsItem(CargoInvoiceDetail invoiceDetailsItem) booleanstatic CargoInvoiceCreate an instance of CargoInvoice given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Product data.Flag indicating whether payment is required: * `true` - payment required * `false` - payment not requiredPrepayment amount.Get receiptGet waybillFlag indicating whether an Electronic Waybill is required for the cargo: * `true` - waybill required * `false` - waybill not requiredinthashCode()invoiceDetails(List<CargoInvoiceDetail> invoiceDetails) prepayment(Double prepayment) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.receipt(CargoInvoiceReceipt receipt) voidsetInvoiceDetails(List<CargoInvoiceDetail> invoiceDetails) voidsetPayable(Boolean payable) voidsetPrepayment(Double prepayment) voidsetReceipt(CargoInvoiceReceipt receipt) voidsetWaybill(CargoInvoiceWaybill waybill) voidsetWaybillNeeded(Boolean waybillNeeded) toJson()Convert an instance of CargoInvoice to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues foundwaybill(CargoInvoiceWaybill waybill) waybillNeeded(Boolean waybillNeeded)
-
Field Details
-
SERIALIZED_NAME_INVOICE_DETAILS
- See Also:
-
SERIALIZED_NAME_PAYABLE
- See Also:
-
SERIALIZED_NAME_PREPAYMENT
- See Also:
-
SERIALIZED_NAME_RECEIPT
- See Also:
-
SERIALIZED_NAME_WAYBILL_NEEDED
- See Also:
-
SERIALIZED_NAME_WAYBILL
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CargoInvoice
public CargoInvoice()
-
-
Method Details
-
invoiceDetails
-
addInvoiceDetailsItem
-
getInvoiceDetails
Product data.- Returns:
- invoiceDetails
-
setInvoiceDetails
-
payable
-
getPayable
Flag indicating whether payment is required: * `true` - payment required * `false` - payment not required- Returns:
- payable
-
setPayable
-
prepayment
-
getPrepayment
Prepayment amount. minimum: 0 maximum: 1000000000- Returns:
- prepayment
-
setPrepayment
-
receipt
-
getReceipt
Get receipt- Returns:
- receipt
-
setReceipt
-
waybillNeeded
-
getWaybillNeeded
Flag indicating whether an Electronic Waybill is required for the cargo: * `true` - waybill required * `false` - waybill not required- Returns:
- waybillNeeded
-
setWaybillNeeded
-
waybill
-
getWaybill
Get waybill- Returns:
- waybill
-
setWaybill
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the CargoInvoice instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to CargoInvoice
-
fromJson
Create an instance of CargoInvoice given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CargoInvoice
- Throws:
IOException- if the JSON string is invalid with respect to CargoInvoice
-
toJson
Convert an instance of CargoInvoice to an JSON string- Returns:
- JSON string
-