Class PayoutSummaryItem

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

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

    • amount

      public long amount
    • fee

      public long fee
    • currency_symbolic_code

      public String currency_symbolic_code
    • from_time

      public String from_time
    • to_time

      public String to_time
    • operation_type

      public OperationType operation_type
      See Also:
      OperationType
    • count

      public int count
    • metaDataMap

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

    • PayoutSummaryItem

      public PayoutSummaryItem()
    • PayoutSummaryItem

      public PayoutSummaryItem​(long amount, long fee, String currency_symbolic_code, String from_time, String to_time, OperationType operation_type, int count)
    • PayoutSummaryItem

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

    • deepCopy

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

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

      public long getAmount()
    • setAmount

      public PayoutSummaryItem setAmount​(long amount)
    • unsetAmount

      public void unsetAmount()
    • isSetAmount

      public boolean isSetAmount()
      Returns true if field amount is set (has been assigned a value) and false otherwise
    • setAmountIsSet

      public void setAmountIsSet​(boolean value)
    • getFee

      public long getFee()
    • setFee

      public PayoutSummaryItem setFee​(long fee)
    • unsetFee

      public void unsetFee()
    • isSetFee

      public boolean isSetFee()
      Returns true if field fee is set (has been assigned a value) and false otherwise
    • setFeeIsSet

      public void setFeeIsSet​(boolean value)
    • getCurrencySymbolicCode

      public String getCurrencySymbolicCode()
    • setCurrencySymbolicCode

      public PayoutSummaryItem setCurrencySymbolicCode​(String currency_symbolic_code)
    • unsetCurrencySymbolicCode

      public void unsetCurrencySymbolicCode()
    • isSetCurrencySymbolicCode

      public boolean isSetCurrencySymbolicCode()
      Returns true if field currency_symbolic_code is set (has been assigned a value) and false otherwise
    • setCurrencySymbolicCodeIsSet

      public void setCurrencySymbolicCodeIsSet​(boolean value)
    • getFromTime

      public String getFromTime()
    • setFromTime

      public PayoutSummaryItem setFromTime​(String from_time)
    • unsetFromTime

      public void unsetFromTime()
    • isSetFromTime

      public boolean isSetFromTime()
      Returns true if field from_time is set (has been assigned a value) and false otherwise
    • setFromTimeIsSet

      public void setFromTimeIsSet​(boolean value)
    • getToTime

      public String getToTime()
    • setToTime

      public PayoutSummaryItem setToTime​(String to_time)
    • unsetToTime

      public void unsetToTime()
    • isSetToTime

      public boolean isSetToTime()
      Returns true if field to_time is set (has been assigned a value) and false otherwise
    • setToTimeIsSet

      public void setToTimeIsSet​(boolean value)
    • getOperationType

      public OperationType getOperationType()
      See Also:
      OperationType
    • setOperationType

      public PayoutSummaryItem setOperationType​(OperationType operation_type)
      See Also:
      OperationType
    • unsetOperationType

      public void unsetOperationType()
    • isSetOperationType

      public boolean isSetOperationType()
      Returns true if field operation_type is set (has been assigned a value) and false otherwise
    • setOperationTypeIsSet

      public void setOperationTypeIsSet​(boolean value)
    • getCount

      public int getCount()
    • setCount

      public PayoutSummaryItem setCount​(int count)
    • unsetCount

      public void unsetCount()
    • isSetCount

      public boolean isSetCount()
      Returns true if field count is set (has been assigned a value) and false otherwise
    • setCountIsSet

      public void setCountIsSet​(boolean value)
    • setFieldValue

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

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

      public boolean isSet​(PayoutSummaryItem._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<PayoutSummaryItem,​PayoutSummaryItem._Fields>
    • equals

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

      public boolean equals​(PayoutSummaryItem that)
    • hashCode

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

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

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

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

      public Map<PayoutSummaryItem._Fields,​org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()
      Specified by:
      getFieldMetaData in interface org.apache.thrift.TBase<PayoutSummaryItem,​PayoutSummaryItem._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