Package com.veeroute.lss.universal.model
Class CargoInvoiceReceipt
java.lang.Object
com.veeroute.lss.universal.model.CargoInvoiceReceipt
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-11-23T13:48:07.156941043+03:00[Europe/Moscow]",
comments="Generator version: 7.17.0")
public class CargoInvoiceReceipt
extends Object
Information for printing a receipt.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic CargoInvoiceReceiptCreate an instance of CargoInvoiceReceipt given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getEmail()User e-mail address.The document used for payment.External payment id.getPhone()User phone.inthashCode()paymentDocument(String paymentDocument) paymentExternalId(String paymentExternalId) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetPaymentDocument(String paymentDocument) voidsetPaymentExternalId(String paymentExternalId) voidtoJson()Convert an instance of CargoInvoiceReceipt to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_EMAIL
- See Also:
-
SERIALIZED_NAME_PHONE
- See Also:
-
SERIALIZED_NAME_PAYMENT_DOCUMENT
- See Also:
-
SERIALIZED_NAME_PAYMENT_EXTERNAL_ID
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CargoInvoiceReceipt
public CargoInvoiceReceipt()
-
-
Method Details
-
email
-
getEmail
User e-mail address.- Returns:
-
setEmail
-
phone
-
getPhone
User phone.- Returns:
- phone
-
setPhone
-
paymentDocument
-
getPaymentDocument
The document used for payment.- Returns:
- paymentDocument
-
setPaymentDocument
-
paymentExternalId
-
getPaymentExternalId
External payment id. Filled out if fiscalization occurs on the seller's side.- Returns:
- paymentExternalId
-
setPaymentExternalId
-
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 CargoInvoiceReceipt 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 CargoInvoiceReceipt
-
fromJson
Create an instance of CargoInvoiceReceipt given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CargoInvoiceReceipt
- Throws:
IOException- if the JSON string is invalid with respect to CargoInvoiceReceipt
-
toJson
Convert an instance of CargoInvoiceReceipt to an JSON string- Returns:
- JSON string
-