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.19.0)",
date="2024-08-02")
public class ShopAccount
extends Object
implements org.apache.thrift.TBase<ShopAccount,ShopAccount._Fields>, Serializable, Cloneable, Comparable<ShopAccount>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
FieldsModifier and TypeFieldDescriptionlongstatic final Map<ShopAccount._Fields,org.apache.thrift.meta_data.FieldMetaData> longlong -
Constructor Summary
ConstructorsConstructorDescriptionShopAccount(CurrencyRef currency, long settlement, long guarantee, long payout) ShopAccount(ShopAccount other) Performs a deep copy on other. -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(ShopAccount other) deepCopy()booleanequals(ShopAccount that) booleanfieldForId(int fieldId) Map<ShopAccount._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldValue(ShopAccount._Fields field) longlonglonginthashCode()booleanisSet(ShopAccount._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field currency is set (has been assigned a value) and false otherwisebooleanReturns true if field guarantee is set (has been assigned a value) and false otherwisebooleanReturns true if field payout is set (has been assigned a value) and false otherwisebooleanReturns true if field settlement is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) setCurrency(CurrencyRef currency) voidsetCurrencyIsSet(boolean value) voidsetFieldValue(ShopAccount._Fields field, Object value) setGuarantee(long guarantee) voidsetGuaranteeIsSet(boolean value) setPayout(long payout) voidsetPayoutIsSet(boolean value) setSettlement(long settlement) voidsetSettlementIsSet(boolean value) toString()voidvoidvoidvoidvoidvalidate()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
-