Package com.veeroute.lss.monitor.model
Class CargoInvoiceDetail
java.lang.Object
com.veeroute.lss.monitor.model.CargoInvoiceDetail
@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 CargoInvoiceDetail
extends Object
Invoice details for the product.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionageRestriction(Boolean ageRestriction) booleanexternalId(String externalId) externalUrl(String externalUrl) static CargoInvoiceDetailCreate an instance of CargoInvoiceDetail given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Age restrictions apply (18+).External product identifier.Link to product description.Product name.Get honestSigngetKey()The key of the product or service associated with the cargo, a unique identifier.Flag indicating whether partial delivery of products is possible: * `true` - partial delivery is allowed * `false` - partial delivery is prohibited, products are delivered only in fullThe item being paid.Barcode or QR-code.getTax()Get taxProduct unit name.Product unit price.Product quantity.inthashCode()honestSign(CargoInvoiceHonestSign honestSign) partialDelivery(Boolean partialDelivery) paymentSubjectType(String paymentSubjectType) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAgeRestriction(Boolean ageRestriction) voidsetExternalId(String externalId) voidsetExternalUrl(String externalUrl) voidsetFullName(String fullName) voidsetHonestSign(CargoInvoiceHonestSign honestSign) voidvoidsetPartialDelivery(Boolean partialDelivery) voidsetPaymentSubjectType(String paymentSubjectType) voidsetScanCode(String scanCode) voidsetTax(CargoInvoiceTax tax) voidsetUnitName(String unitName) voidsetUnitPrice(Double unitPrice) voidsetUnitQuantity(Double unitQuantity) tax(CargoInvoiceTax tax) toJson()Convert an instance of CargoInvoiceDetail to an JSON stringtoString()unitQuantity(Double unitQuantity) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_KEY
- See Also:
-
SERIALIZED_NAME_FULL_NAME
- See Also:
-
SERIALIZED_NAME_UNIT_NAME
- See Also:
-
SERIALIZED_NAME_UNIT_PRICE
- See Also:
-
SERIALIZED_NAME_UNIT_QUANTITY
- See Also:
-
SERIALIZED_NAME_EXTERNAL_ID
- See Also:
-
SERIALIZED_NAME_EXTERNAL_URL
- See Also:
-
SERIALIZED_NAME_TAX
- See Also:
-
SERIALIZED_NAME_HONEST_SIGN
- See Also:
-
SERIALIZED_NAME_SCAN_CODE
- See Also:
-
SERIALIZED_NAME_AGE_RESTRICTION
- See Also:
-
SERIALIZED_NAME_PAYMENT_SUBJECT_TYPE
- See Also:
-
SERIALIZED_NAME_PARTIAL_DELIVERY
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CargoInvoiceDetail
public CargoInvoiceDetail()
-
-
Method Details
-
key
-
getKey
The key of the product or service associated with the cargo, a unique identifier.- Returns:
- key
-
setKey
-
fullName
-
getFullName
Product name.- Returns:
- fullName
-
setFullName
-
unitName
-
getUnitName
Product unit name.- Returns:
- unitName
-
setUnitName
-
unitPrice
-
getUnitPrice
Product unit price. minimum: 0 maximum: 1000000000- Returns:
- unitPrice
-
setUnitPrice
-
unitQuantity
-
getUnitQuantity
Product quantity. minimum: 0.01 maximum: 1000000000- Returns:
- unitQuantity
-
setUnitQuantity
-
externalId
-
getExternalId
External product identifier.- Returns:
- externalId
-
setExternalId
-
externalUrl
-
getExternalUrl
Link to product description.- Returns:
- externalUrl
-
setExternalUrl
-
tax
-
getTax
Get tax- Returns:
- tax
-
setTax
-
honestSign
-
getHonestSign
Get honestSign- Returns:
- honestSign
-
setHonestSign
-
scanCode
-
getScanCode
Barcode or QR-code.- Returns:
- scanCode
-
setScanCode
-
ageRestriction
-
getAgeRestriction
Age restrictions apply (18+).- Returns:
- ageRestriction
-
setAgeRestriction
-
paymentSubjectType
-
getPaymentSubjectType
The item being paid. For example, Product or Service.- Returns:
- paymentSubjectType
-
setPaymentSubjectType
-
partialDelivery
-
getPartialDelivery
Flag indicating whether partial delivery of products is possible: * `true` - partial delivery is allowed * `false` - partial delivery is prohibited, products are delivered only in full- Returns:
- partialDelivery
-
setPartialDelivery
-
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 CargoInvoiceDetail 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 CargoInvoiceDetail
-
fromJson
Create an instance of CargoInvoiceDetail given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CargoInvoiceDetail
- Throws:
IOException- if the JSON string is invalid with respect to CargoInvoiceDetail
-
toJson
Convert an instance of CargoInvoiceDetail to an JSON string- Returns:
- JSON string
-