Package com.veeroute.lss.studio.model
Class PaymentDetails
java.lang.Object
com.veeroute.lss.studio.model.PaymentDetails
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-11-23T13:47:57.513559297+03:00[Europe/Moscow]",
comments="Generator version: 7.17.0")
public class PaymentDetails
extends Object
Payment details.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic PaymentDetailsCreate an instance of PaymentDetails given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Invoice of the paid goods and services.Payment (transaction) approval code.External payment identifier.Final payment status.A detailed description of the payment processing status, used to clarify payment processing errors.Payment time in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format.Payment type.Total amount of the payment.Receipt number in the payment processor.Receipt QR-code.inthashCode()invoice(CargoInvoice invoice) paymentApprovalCode(String paymentApprovalCode) paymentExternalId(String paymentExternalId) paymentStatus(String paymentStatus) paymentStatusDetail(String paymentStatusDetail) paymentTime(OffsetDateTime paymentTime) paymentType(String paymentType) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.receiptAmount(Double receiptAmount) receiptProcessingNumber(String receiptProcessingNumber) voidsetInvoice(CargoInvoice invoice) voidsetPaymentApprovalCode(String paymentApprovalCode) voidsetPaymentExternalId(String paymentExternalId) voidsetPaymentStatus(String paymentStatus) voidsetPaymentStatusDetail(String paymentStatusDetail) voidsetPaymentTime(OffsetDateTime paymentTime) voidsetPaymentType(String paymentType) voidsetReceiptAmount(Double receiptAmount) voidsetReceiptProcessingNumber(String receiptProcessingNumber) voidsetReceiptQr(String receiptQr) toJson()Convert an instance of PaymentDetails 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_INVOICE
- See Also:
-
SERIALIZED_NAME_RECEIPT_AMOUNT
- See Also:
-
SERIALIZED_NAME_RECEIPT_QR
- See Also:
-
SERIALIZED_NAME_RECEIPT_PROCESSING_NUMBER
- See Also:
-
SERIALIZED_NAME_PAYMENT_TYPE
- See Also:
-
SERIALIZED_NAME_PAYMENT_STATUS
- See Also:
-
SERIALIZED_NAME_PAYMENT_STATUS_DETAIL
- See Also:
-
SERIALIZED_NAME_PAYMENT_TIME
- See Also:
-
SERIALIZED_NAME_PAYMENT_APPROVAL_CODE
- See Also:
-
SERIALIZED_NAME_PAYMENT_EXTERNAL_ID
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
PaymentDetails
public PaymentDetails()
-
-
Method Details
-
invoice
-
getInvoice
Invoice of the paid goods and services. Contains line items, prepayment amount, email/phone for sending the receipt.- Returns:
- invoice
-
setInvoice
-
receiptAmount
-
getReceiptAmount
Total amount of the payment. minimum: 0 maximum: 1000000000- Returns:
- receiptAmount
-
setReceiptAmount
-
receiptQr
-
getReceiptQr
Receipt QR-code.- Returns:
- receiptQr
-
setReceiptQr
-
receiptProcessingNumber
-
getReceiptProcessingNumber
Receipt number in the payment processor.- Returns:
- receiptProcessingNumber
-
setReceiptProcessingNumber
-
paymentType
-
getPaymentType
Payment type.- Returns:
- paymentType
-
setPaymentType
-
paymentStatus
-
getPaymentStatus
Final payment status. The list of values depends on the payment operator.- Returns:
- paymentStatus
-
setPaymentStatus
-
paymentStatusDetail
-
getPaymentStatusDetail
A detailed description of the payment processing status, used to clarify payment processing errors.- Returns:
- paymentStatusDetail
-
setPaymentStatusDetail
-
paymentTime
-
getPaymentTime
Payment time in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format.- Returns:
- paymentTime
-
setPaymentTime
-
paymentApprovalCode
-
getPaymentApprovalCode
Payment (transaction) approval code.- Returns:
- paymentApprovalCode
-
setPaymentApprovalCode
-
paymentExternalId
-
getPaymentExternalId
External payment identifier. Used to identify the payment in the seller's systems.- 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 PaymentDetails 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 PaymentDetails
-
fromJson
Create an instance of PaymentDetails given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PaymentDetails
- Throws:
IOException- if the JSON string is invalid with respect to PaymentDetails
-
toJson
Convert an instance of PaymentDetails to an JSON string- Returns:
- JSON string
-