Package dev.vality.damsel.domain
Class WalletServiceTerms
java.lang.Object
dev.vality.damsel.domain.WalletServiceTerms
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<WalletServiceTerms>,org.apache.thrift.TBase<WalletServiceTerms,WalletServiceTerms._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-10-25")
public class WalletServiceTerms
extends Object
implements org.apache.thrift.TBase<WalletServiceTerms,WalletServiceTerms._Fields>, Serializable, Cloneable, Comparable<WalletServiceTerms>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWalletServiceTerms._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description CurrencySelectorcurrenciesstatic Map<WalletServiceTerms._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapTurnoverLimitSelectorturnover_limitW2WServiceTermsw2wCashLimitSelectorwallet_limitWithdrawalServiceTermswithdrawals -
Constructor Summary
Constructors Constructor Description WalletServiceTerms()WalletServiceTerms(WalletServiceTerms other)Performs a deep copy on other. -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(WalletServiceTerms other)WalletServiceTermsdeepCopy()booleanequals(WalletServiceTerms that)booleanequals(Object that)WalletServiceTerms._FieldsfieldForId(int fieldId)CurrencySelectorgetCurrencies()Map<WalletServiceTerms._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()WalletServiceTerms._Fields[]getFields()ObjectgetFieldValue(WalletServiceTerms._Fields field)TurnoverLimitSelectorgetTurnoverLimit()W2WServiceTermsgetW2w()CashLimitSelectorgetWalletLimit()WithdrawalServiceTermsgetWithdrawals()inthashCode()booleanisSet(WalletServiceTerms._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetCurrencies()Returns true if field currencies is set (has been assigned a value) and false otherwisebooleanisSetTurnoverLimit()Returns true if field turnover_limit is set (has been assigned a value) and false otherwisebooleanisSetW2w()Returns true if field w2w is set (has been assigned a value) and false otherwisebooleanisSetWalletLimit()Returns true if field wallet_limit is set (has been assigned a value) and false otherwisebooleanisSetWithdrawals()Returns true if field withdrawals is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)WalletServiceTermssetCurrencies(CurrencySelector currencies)voidsetCurrenciesIsSet(boolean value)voidsetFieldValue(WalletServiceTerms._Fields field, Object value)WalletServiceTermssetTurnoverLimit(TurnoverLimitSelector turnover_limit)voidsetTurnoverLimitIsSet(boolean value)WalletServiceTermssetW2w(W2WServiceTerms w2w)voidsetW2wIsSet(boolean value)WalletServiceTermssetWalletLimit(CashLimitSelector wallet_limit)voidsetWalletLimitIsSet(boolean value)WalletServiceTermssetWithdrawals(WithdrawalServiceTerms withdrawals)voidsetWithdrawalsIsSet(boolean value)StringtoString()voidunsetCurrencies()voidunsetTurnoverLimit()voidunsetW2w()voidunsetWalletLimit()voidunsetWithdrawals()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
currencies
-
wallet_limit
-
turnover_limit
-
withdrawals
-
w2w
-
metaDataMap
public static final Map<WalletServiceTerms._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
WalletServiceTerms
public WalletServiceTerms() -
WalletServiceTerms
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<WalletServiceTerms,WalletServiceTerms._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<WalletServiceTerms,WalletServiceTerms._Fields>
-
getCurrencies
-
setCurrencies
-
unsetCurrencies
public void unsetCurrencies() -
isSetCurrencies
public boolean isSetCurrencies()Returns true if field currencies is set (has been assigned a value) and false otherwise -
setCurrenciesIsSet
public void setCurrenciesIsSet(boolean value) -
getWalletLimit
-
setWalletLimit
-
unsetWalletLimit
public void unsetWalletLimit() -
isSetWalletLimit
public boolean isSetWalletLimit()Returns true if field wallet_limit is set (has been assigned a value) and false otherwise -
setWalletLimitIsSet
public void setWalletLimitIsSet(boolean value) -
getTurnoverLimit
-
setTurnoverLimit
-
unsetTurnoverLimit
public void unsetTurnoverLimit() -
isSetTurnoverLimit
public boolean isSetTurnoverLimit()Returns true if field turnover_limit is set (has been assigned a value) and false otherwise -
setTurnoverLimitIsSet
public void setTurnoverLimitIsSet(boolean value) -
getWithdrawals
-
setWithdrawals
-
unsetWithdrawals
public void unsetWithdrawals() -
isSetWithdrawals
public boolean isSetWithdrawals()Returns true if field withdrawals is set (has been assigned a value) and false otherwise -
setWithdrawalsIsSet
public void setWithdrawalsIsSet(boolean value) -
getW2w
-
setW2w
-
unsetW2w
public void unsetW2w() -
isSetW2w
public boolean isSetW2w()Returns true if field w2w is set (has been assigned a value) and false otherwise -
setW2wIsSet
public void setW2wIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<WalletServiceTerms,WalletServiceTerms._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<WalletServiceTerms,WalletServiceTerms._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<WalletServiceTerms,WalletServiceTerms._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<WalletServiceTerms>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<WalletServiceTerms,WalletServiceTerms._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<WalletServiceTerms,WalletServiceTerms._Fields>
-
getFieldMetaData
public Map<WalletServiceTerms._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<WalletServiceTerms,WalletServiceTerms._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
-