Class StatPayout

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

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

    • id

      public String id
    • party_id

      public String party_id
    • shop_id

      public String shop_id
    • created_at

      public String created_at
    • status

      public PayoutStatus status
    • amount

      public long amount
    • fee

      public long fee
    • currency_symbolic_code

      public String currency_symbolic_code
    • payout_tool_info

      public PayoutToolInfo payout_tool_info
    • metaDataMap

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

  • Method Details

    • deepCopy

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

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

      public String getId()
    • setId

      public StatPayout 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)
    • getPartyId

      public String getPartyId()
    • setPartyId

      public StatPayout setPartyId​(String party_id)
    • unsetPartyId

      public void unsetPartyId()
    • isSetPartyId

      public boolean isSetPartyId()
      Returns true if field party_id is set (has been assigned a value) and false otherwise
    • setPartyIdIsSet

      public void setPartyIdIsSet​(boolean value)
    • getShopId

      public String getShopId()
    • setShopId

      public StatPayout setShopId​(String shop_id)
    • unsetShopId

      public void unsetShopId()
    • isSetShopId

      public boolean isSetShopId()
      Returns true if field shop_id is set (has been assigned a value) and false otherwise
    • setShopIdIsSet

      public void setShopIdIsSet​(boolean value)
    • getCreatedAt

      public String getCreatedAt()
    • setCreatedAt

      public StatPayout 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)
    • getStatus

      public PayoutStatus getStatus()
    • setStatus

      public StatPayout setStatus​(PayoutStatus status)
    • unsetStatus

      public void unsetStatus()
    • isSetStatus

      public boolean isSetStatus()
      Returns true if field status is set (has been assigned a value) and false otherwise
    • setStatusIsSet

      public void setStatusIsSet​(boolean value)
    • getAmount

      public long getAmount()
    • setAmount

      public StatPayout 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 StatPayout 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 StatPayout 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)
    • getPayoutToolInfo

      public PayoutToolInfo getPayoutToolInfo()
    • setPayoutToolInfo

      public StatPayout setPayoutToolInfo​(PayoutToolInfo payout_tool_info)
    • unsetPayoutToolInfo

      public void unsetPayoutToolInfo()
    • isSetPayoutToolInfo

      public boolean isSetPayoutToolInfo()
      Returns true if field payout_tool_info is set (has been assigned a value) and false otherwise
    • setPayoutToolInfoIsSet

      public void setPayoutToolInfoIsSet​(boolean value)
    • setFieldValue

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

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

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

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

      public boolean equals​(StatPayout that)
    • hashCode

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

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

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

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

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