Package dev.vality.damsel.domain
Class ShopAccount
java.lang.Object
dev.vality.damsel.domain.ShopAccount
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<ShopAccount>,org.apache.thrift.TBase<ShopAccount,ShopAccount._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-10-25")
public class ShopAccount
extends Object
implements org.apache.thrift.TBase<ShopAccount,ShopAccount._Fields>, Serializable, Cloneable, Comparable<ShopAccount>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShopAccount._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description CurrencyRefcurrencylongguaranteestatic Map<ShopAccount._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMaplongpayoutlongsettlement -
Constructor Summary
Constructors Constructor Description ShopAccount()ShopAccount(CurrencyRef currency, long settlement, long guarantee, long payout)ShopAccount(ShopAccount other)Performs a deep copy on other. -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(ShopAccount other)ShopAccountdeepCopy()booleanequals(ShopAccount that)booleanequals(Object that)ShopAccount._FieldsfieldForId(int fieldId)CurrencyRefgetCurrency()Map<ShopAccount._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()ShopAccount._Fields[]getFields()ObjectgetFieldValue(ShopAccount._Fields field)longgetGuarantee()longgetPayout()longgetSettlement()inthashCode()booleanisSet(ShopAccount._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetCurrency()Returns true if field currency is set (has been assigned a value) and false otherwisebooleanisSetGuarantee()Returns true if field guarantee is set (has been assigned a value) and false otherwisebooleanisSetPayout()Returns true if field payout is set (has been assigned a value) and false otherwisebooleanisSetSettlement()Returns true if field settlement is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)ShopAccountsetCurrency(CurrencyRef currency)voidsetCurrencyIsSet(boolean value)voidsetFieldValue(ShopAccount._Fields field, Object value)ShopAccountsetGuarantee(long guarantee)voidsetGuaranteeIsSet(boolean value)ShopAccountsetPayout(long payout)voidsetPayoutIsSet(boolean value)ShopAccountsetSettlement(long settlement)voidsetSettlementIsSet(boolean value)StringtoString()voidunsetCurrency()voidunsetGuarantee()voidunsetPayout()voidunsetSettlement()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
currency
-
settlement
public long settlement -
guarantee
public long guarantee -
payout
public long payout -
metaDataMap
-
-
Constructor Details
-
ShopAccount
public ShopAccount() -
ShopAccount
-
ShopAccount
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<ShopAccount,ShopAccount._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<ShopAccount,ShopAccount._Fields>
-
getCurrency
-
setCurrency
-
unsetCurrency
public void unsetCurrency() -
isSetCurrency
public boolean isSetCurrency()Returns true if field currency is set (has been assigned a value) and false otherwise -
setCurrencyIsSet
public void setCurrencyIsSet(boolean value) -
getSettlement
public long getSettlement() -
setSettlement
-
unsetSettlement
public void unsetSettlement() -
isSetSettlement
public boolean isSetSettlement()Returns true if field settlement is set (has been assigned a value) and false otherwise -
setSettlementIsSet
public void setSettlementIsSet(boolean value) -
getGuarantee
public long getGuarantee() -
setGuarantee
-
unsetGuarantee
public void unsetGuarantee() -
isSetGuarantee
public boolean isSetGuarantee()Returns true if field guarantee is set (has been assigned a value) and false otherwise -
setGuaranteeIsSet
public void setGuaranteeIsSet(boolean value) -
getPayout
public long getPayout() -
setPayout
-
unsetPayout
public void unsetPayout() -
isSetPayout
public boolean isSetPayout()Returns true if field payout is set (has been assigned a value) and false otherwise -
setPayoutIsSet
public void setPayoutIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<ShopAccount,ShopAccount._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<ShopAccount,ShopAccount._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<ShopAccount,ShopAccount._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<ShopAccount>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<ShopAccount,ShopAccount._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<ShopAccount,ShopAccount._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<ShopAccount,ShopAccount._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
-