Class InvoicePayment

java.lang.Object
dev.vality.damsel.proxy_inspector.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.19.0)", date="2024-08-02") public class InvoicePayment extends Object implements org.apache.thrift.TBase<InvoicePayment,InvoicePayment._Fields>, Serializable, Cloneable, Comparable<InvoicePayment>
See Also:
  • Field Details

    • id

      public String id
    • created_at

      public String created_at
    • payer

      public Payer payer
    • cost

      public Cash cost
    • make_recurrent

      public boolean make_recurrent
    • allocation

      public Allocation allocation
    • metaDataMap

      public static final Map<InvoicePayment._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
  • Constructor Details

    • InvoicePayment

      public InvoicePayment()
    • InvoicePayment

      public InvoicePayment(String id, String created_at, Payer payer, Cash cost)
    • 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)
    • getPayer

      public Payer getPayer()
    • setPayer

      public InvoicePayment setPayer(Payer payer)
    • unsetPayer

      public void unsetPayer()
    • isSetPayer

      public boolean isSetPayer()
      Returns true if field payer is set (has been assigned a value) and false otherwise
    • setPayerIsSet

      public void setPayerIsSet(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)
    • 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)
    • getAllocation

      public Allocation getAllocation()
    • setAllocation

      public InvoicePayment setAllocation(Allocation allocation)
    • unsetAllocation

      public void unsetAllocation()
    • isSetAllocation

      public boolean isSetAllocation()
      Returns true if field allocation is set (has been assigned a value) and false otherwise
    • setAllocationIsSet

      public void setAllocationIsSet(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