Class CreatePaymentRequest

java.lang.Object
liberalize.java.backend.sdk.data.model.CreatePaymentRequest

public class CreatePaymentRequest
extends java.lang.Object
  • Field Summary

    Fields
    Modifier and Type Field Description
    int amount
    amount as integer number
    boolean authorize
    should authorize payment after create or not; true if need to
    java.lang.String currency
    currency
    java.lang.String source
    payment source
  • Constructor Summary

    Constructors
    Constructor Description
    CreatePaymentRequest​(java.lang.String source, int amount, boolean authorize, java.lang.String currency)  
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • source

      @SerializedName("source") public java.lang.String source
      payment source
    • amount

      @SerializedName("amount") public int amount
      amount as integer number
    • authorize

      @SerializedName("authorize") public boolean authorize
      should authorize payment after create or not; true if need to
    • currency

      @SerializedName("currency") public java.lang.String currency
      currency
  • Constructor Details

    • CreatePaymentRequest

      public CreatePaymentRequest​(java.lang.String source, int amount, boolean authorize, java.lang.String currency)