Class InvoicePayment

java.lang.Object
dev.vality.damsel.proxy_provider.InvoicePayment
All Implemented Interfaces:
Serializable, Cloneable, Comparable<InvoicePayment>, org.apache.thrift.TBase<InvoicePayment,​InvoicePayment._Fields>, org.apache.thrift.TSerializable

@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
           date="2022-10-25")
public class InvoicePayment
extends Object
implements org.apache.thrift.TBase<InvoicePayment,​InvoicePayment._Fields>, Serializable, Cloneable, Comparable<InvoicePayment>
See Also:
Serialized Form
  • Field Details

  • Constructor Details

    • InvoicePayment

      public InvoicePayment()
    • InvoicePayment

      public InvoicePayment​(String id, String created_at, PaymentResource payment_resource, Cash cost, ContactInfo contact_info)
    • InvoicePayment

      public InvoicePayment​(InvoicePayment other)
      Performs a deep copy on other.
  • Method Details

    • deepCopy

      public InvoicePayment deepCopy()
      Specified by:
      deepCopy in interface org.apache.thrift.TBase<InvoicePayment,​InvoicePayment._Fields>
    • clear

      public void clear()
      Specified by:
      clear in interface org.apache.thrift.TBase<InvoicePayment,​InvoicePayment._Fields>
    • getId

      public String getId()
    • setId

      public InvoicePayment setId​(String id)
    • unsetId

      public void unsetId()
    • isSetId

      public boolean isSetId()
      Returns true if field id is set (has been assigned a value) and false otherwise
    • setIdIsSet

      public void setIdIsSet​(boolean value)
    • getCreatedAt

      public String getCreatedAt()
    • setCreatedAt

      public InvoicePayment setCreatedAt​(String created_at)
    • unsetCreatedAt

      public void unsetCreatedAt()
    • isSetCreatedAt

      public boolean isSetCreatedAt()
      Returns true if field created_at is set (has been assigned a value) and false otherwise
    • setCreatedAtIsSet

      public void setCreatedAtIsSet​(boolean value)
    • getTrx

      public TransactionInfo getTrx()
    • setTrx

      public InvoicePayment setTrx​(TransactionInfo trx)
    • unsetTrx

      public void unsetTrx()
    • isSetTrx

      public boolean isSetTrx()
      Returns true if field trx is set (has been assigned a value) and false otherwise
    • setTrxIsSet

      public void setTrxIsSet​(boolean value)
    • getPaymentResource

      public PaymentResource getPaymentResource()
    • setPaymentResource

      public InvoicePayment setPaymentResource​(PaymentResource payment_resource)
    • unsetPaymentResource

      public void unsetPaymentResource()
    • isSetPaymentResource

      public boolean isSetPaymentResource()
      Returns true if field payment_resource is set (has been assigned a value) and false otherwise
    • setPaymentResourceIsSet

      public void setPaymentResourceIsSet​(boolean value)
    • getPaymentService

      public PaymentService getPaymentService()
    • setPaymentService

      public InvoicePayment setPaymentService​(PaymentService payment_service)
    • unsetPaymentService

      public void unsetPaymentService()
    • isSetPaymentService

      public boolean isSetPaymentService()
      Returns true if field payment_service is set (has been assigned a value) and false otherwise
    • setPaymentServiceIsSet

      public void setPaymentServiceIsSet​(boolean value)
    • getPayerSessionInfo

      public PayerSessionInfo getPayerSessionInfo()
    • setPayerSessionInfo

      public InvoicePayment setPayerSessionInfo​(PayerSessionInfo payer_session_info)
    • unsetPayerSessionInfo

      public void unsetPayerSessionInfo()
    • isSetPayerSessionInfo

      public boolean isSetPayerSessionInfo()
      Returns true if field payer_session_info is set (has been assigned a value) and false otherwise
    • setPayerSessionInfoIsSet

      public void setPayerSessionInfoIsSet​(boolean value)
    • getCost

      public Cash getCost()
    • setCost

      public InvoicePayment setCost​(Cash cost)
    • unsetCost

      public void unsetCost()
    • isSetCost

      public boolean isSetCost()
      Returns true if field cost is set (has been assigned a value) and false otherwise
    • setCostIsSet

      public void setCostIsSet​(boolean value)
    • getContactInfo

      public ContactInfo getContactInfo()
    • setContactInfo

      public InvoicePayment setContactInfo​(ContactInfo contact_info)
    • unsetContactInfo

      public void unsetContactInfo()
    • isSetContactInfo

      public boolean isSetContactInfo()
      Returns true if field contact_info is set (has been assigned a value) and false otherwise
    • setContactInfoIsSet

      public void setContactInfoIsSet​(boolean value)
    • isMakeRecurrent

      public boolean isMakeRecurrent()
    • setMakeRecurrent

      public InvoicePayment setMakeRecurrent​(boolean make_recurrent)
    • unsetMakeRecurrent

      public void unsetMakeRecurrent()
    • isSetMakeRecurrent

      public boolean isSetMakeRecurrent()
      Returns true if field make_recurrent is set (has been assigned a value) and false otherwise
    • setMakeRecurrentIsSet

      public void setMakeRecurrentIsSet​(boolean value)
    • getProcessingDeadline

      public String getProcessingDeadline()
    • setProcessingDeadline

      public InvoicePayment setProcessingDeadline​(String processing_deadline)
    • unsetProcessingDeadline

      public void unsetProcessingDeadline()
    • isSetProcessingDeadline

      public boolean isSetProcessingDeadline()
      Returns true if field processing_deadline is set (has been assigned a value) and false otherwise
    • setProcessingDeadlineIsSet

      public void setProcessingDeadlineIsSet​(boolean value)
    • setFieldValue

      public void setFieldValue​(InvoicePayment._Fields field, Object value)
      Specified by:
      setFieldValue in interface org.apache.thrift.TBase<InvoicePayment,​InvoicePayment._Fields>
    • getFieldValue

      public Object getFieldValue​(InvoicePayment._Fields field)
      Specified by:
      getFieldValue in interface org.apache.thrift.TBase<InvoicePayment,​InvoicePayment._Fields>
    • isSet

      public boolean isSet​(InvoicePayment._Fields field)
      Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
      Specified by:
      isSet in interface org.apache.thrift.TBase<InvoicePayment,​InvoicePayment._Fields>
    • equals

      public boolean equals​(Object that)
      Overrides:
      equals in class Object
    • equals

      public boolean equals​(InvoicePayment that)
    • hashCode

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

      public int compareTo​(InvoicePayment other)
      Specified by:
      compareTo in interface Comparable<InvoicePayment>
    • fieldForId

      public InvoicePayment._Fields fieldForId​(int fieldId)
      Specified by:
      fieldForId in interface org.apache.thrift.TBase<InvoicePayment,​InvoicePayment._Fields>
    • getFields

      public InvoicePayment._Fields[] getFields()
      Specified by:
      getFields in interface org.apache.thrift.TBase<InvoicePayment,​InvoicePayment._Fields>
    • getFieldMetaData

      public Map<InvoicePayment._Fields,​org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()
      Specified by:
      getFieldMetaData in interface org.apache.thrift.TBase<InvoicePayment,​InvoicePayment._Fields>
    • read

      public void read​(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
      Specified by:
      read in interface org.apache.thrift.TSerializable
      Throws:
      org.apache.thrift.TException
    • write

      public void write​(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
      Specified by:
      write in interface org.apache.thrift.TSerializable
      Throws:
      org.apache.thrift.TException
    • toString

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

      public void validate() throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException