Package dev.vality.damsel.merch_stat
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
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStatPayout._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description longamountStringcreated_atStringcurrency_symbolic_codelongfeeStringidstatic Map<StatPayout._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringparty_idPayoutToolInfopayout_tool_infoStringshop_idPayoutStatusstatus -
Constructor Summary
Constructors Constructor Description StatPayout()StatPayout(StatPayout other)Performs a deep copy on other.StatPayout(String id, String party_id, String shop_id, String created_at, PayoutStatus status, long amount, long fee, String currency_symbolic_code, PayoutToolInfo payout_tool_info) -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(StatPayout other)StatPayoutdeepCopy()booleanequals(StatPayout that)booleanequals(Object that)StatPayout._FieldsfieldForId(int fieldId)longgetAmount()StringgetCreatedAt()StringgetCurrencySymbolicCode()longgetFee()Map<StatPayout._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()StatPayout._Fields[]getFields()ObjectgetFieldValue(StatPayout._Fields field)StringgetId()StringgetPartyId()PayoutToolInfogetPayoutToolInfo()StringgetShopId()PayoutStatusgetStatus()inthashCode()booleanisSet(StatPayout._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetAmount()Returns true if field amount is set (has been assigned a value) and false otherwisebooleanisSetCreatedAt()Returns true if field created_at is set (has been assigned a value) and false otherwisebooleanisSetCurrencySymbolicCode()Returns true if field currency_symbolic_code is set (has been assigned a value) and false otherwisebooleanisSetFee()Returns true if field fee is set (has been assigned a value) and false otherwisebooleanisSetId()Returns true if field id is set (has been assigned a value) and false otherwisebooleanisSetPartyId()Returns true if field party_id is set (has been assigned a value) and false otherwisebooleanisSetPayoutToolInfo()Returns true if field payout_tool_info is set (has been assigned a value) and false otherwisebooleanisSetShopId()Returns true if field shop_id is set (has been assigned a value) and false otherwisebooleanisSetStatus()Returns true if field status is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)StatPayoutsetAmount(long amount)voidsetAmountIsSet(boolean value)StatPayoutsetCreatedAt(String created_at)voidsetCreatedAtIsSet(boolean value)StatPayoutsetCurrencySymbolicCode(String currency_symbolic_code)voidsetCurrencySymbolicCodeIsSet(boolean value)StatPayoutsetFee(long fee)voidsetFeeIsSet(boolean value)voidsetFieldValue(StatPayout._Fields field, Object value)StatPayoutsetId(String id)voidsetIdIsSet(boolean value)StatPayoutsetPartyId(String party_id)voidsetPartyIdIsSet(boolean value)StatPayoutsetPayoutToolInfo(PayoutToolInfo payout_tool_info)voidsetPayoutToolInfoIsSet(boolean value)StatPayoutsetShopId(String shop_id)voidsetShopIdIsSet(boolean value)StatPayoutsetStatus(PayoutStatus status)voidsetStatusIsSet(boolean value)StringtoString()voidunsetAmount()voidunsetCreatedAt()voidunsetCurrencySymbolicCode()voidunsetFee()voidunsetId()voidunsetPartyId()voidunsetPayoutToolInfo()voidunsetShopId()voidunsetStatus()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
id
-
party_id
-
shop_id
-
created_at
-
status
-
amount
public long amount -
fee
public long fee -
currency_symbolic_code
-
payout_tool_info
-
metaDataMap
-
-
Constructor Details
-
StatPayout
public StatPayout() -
StatPayout
public StatPayout(String id, String party_id, String shop_id, String created_at, PayoutStatus status, long amount, long fee, String currency_symbolic_code, PayoutToolInfo payout_tool_info) -
StatPayout
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<StatPayout,StatPayout._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<StatPayout,StatPayout._Fields>
-
getId
-
setId
-
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
-
setPartyId
-
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
-
setShopId
-
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
-
setCreatedAt
-
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
-
setStatus
-
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
-
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
-
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
-
setCurrencySymbolicCode
-
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
-
setPayoutToolInfo
-
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
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<StatPayout,StatPayout._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<StatPayout,StatPayout._Fields>
-
isSet
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<StatPayout,StatPayout._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<StatPayout>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<StatPayout,StatPayout._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<StatPayout,StatPayout._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<StatPayout,StatPayout._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin interfaceorg.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:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
toString
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-