Class PaymentDetails

java.lang.Object
com.veeroute.lss.universal.model.PaymentDetails

@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 PaymentDetails extends Object
Payment details.
  • Field Details

  • Constructor Details

    • PaymentDetails

      public PaymentDetails()
  • Method Details

    • invoice

      public PaymentDetails invoice(@Nonnull CargoInvoice invoice)
    • getInvoice

      @Nonnull public CargoInvoice getInvoice()
      Invoice of the paid goods and services. Contains line items, prepayment amount, email/phone for sending the receipt.
      Returns:
      invoice
    • setInvoice

      public void setInvoice(@Nonnull CargoInvoice invoice)
    • receiptAmount

      public PaymentDetails receiptAmount(@Nonnull Double receiptAmount)
    • getReceiptAmount

      @Nonnull public Double getReceiptAmount()
      Total amount of the payment. minimum: 0 maximum: 1000000000
      Returns:
      receiptAmount
    • setReceiptAmount

      public void setReceiptAmount(@Nonnull Double receiptAmount)
    • receiptQr

      public PaymentDetails receiptQr(@Nullable String receiptQr)
    • getReceiptQr

      @Nullable public String getReceiptQr()
      Receipt QR-code.
      Returns:
      receiptQr
    • setReceiptQr

      public void setReceiptQr(@Nullable String receiptQr)
    • receiptProcessingNumber

      public PaymentDetails receiptProcessingNumber(@Nonnull String receiptProcessingNumber)
    • getReceiptProcessingNumber

      @Nonnull public String getReceiptProcessingNumber()
      Receipt number in the payment processor.
      Returns:
      receiptProcessingNumber
    • setReceiptProcessingNumber

      public void setReceiptProcessingNumber(@Nonnull String receiptProcessingNumber)
    • paymentType

      public PaymentDetails paymentType(@Nonnull String paymentType)
    • getPaymentType

      @Nonnull public String getPaymentType()
      Payment type.
      Returns:
      paymentType
    • setPaymentType

      public void setPaymentType(@Nonnull String paymentType)
    • paymentStatus

      public PaymentDetails paymentStatus(@Nonnull String paymentStatus)
    • getPaymentStatus

      @Nonnull public String getPaymentStatus()
      Final payment status. The list of values depends on the payment operator.
      Returns:
      paymentStatus
    • setPaymentStatus

      public void setPaymentStatus(@Nonnull String paymentStatus)
    • paymentStatusDetail

      public PaymentDetails paymentStatusDetail(@Nullable String paymentStatusDetail)
    • getPaymentStatusDetail

      @Nullable public String getPaymentStatusDetail()
      A detailed description of the payment processing status, used to clarify payment processing errors.
      Returns:
      paymentStatusDetail
    • setPaymentStatusDetail

      public void setPaymentStatusDetail(@Nullable String paymentStatusDetail)
    • paymentTime

      public PaymentDetails paymentTime(@Nonnull OffsetDateTime paymentTime)
    • getPaymentTime

      @Nonnull public OffsetDateTime getPaymentTime()
      Payment time in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format.
      Returns:
      paymentTime
    • setPaymentTime

      public void setPaymentTime(@Nonnull OffsetDateTime paymentTime)
    • paymentApprovalCode

      public PaymentDetails paymentApprovalCode(@Nullable String paymentApprovalCode)
    • getPaymentApprovalCode

      @Nullable public String getPaymentApprovalCode()
      Payment (transaction) approval code.
      Returns:
      paymentApprovalCode
    • setPaymentApprovalCode

      public void setPaymentApprovalCode(@Nullable String paymentApprovalCode)
    • paymentExternalId

      public PaymentDetails paymentExternalId(@Nullable String paymentExternalId)
    • getPaymentExternalId

      @Nullable public String getPaymentExternalId()
      External payment identifier. Used to identify the payment in the seller's systems.
      Returns:
      paymentExternalId
    • setPaymentExternalId

      public void setPaymentExternalId(@Nullable String paymentExternalId)
    • putAdditionalProperty

      public PaymentDetails putAdditionalProperty(String key, Object value)
      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 property
      value - value of the property
      Returns:
      the PaymentDetails instance itself
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      a map of objects
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - name of the property
      Returns:
      an object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      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

      public static PaymentDetails fromJson(String jsonString) throws IOException
      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

      public String toJson()
      Convert an instance of PaymentDetails to an JSON string
      Returns:
      JSON string