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.19.0)",
date="2024-08-02")
public class WalletServiceTerms
extends Object
implements org.apache.thrift.TBase<WalletServiceTerms,WalletServiceTerms._Fields>, Serializable, Cloneable, Comparable<WalletServiceTerms>
Wallets service terms *
- 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 TypeFieldDescriptionstatic final Map<WalletServiceTerms._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionPerforms a deep copy on other. -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(WalletServiceTerms other) deepCopy()booleanequals(WalletServiceTerms that) booleanfieldForId(int fieldId) Map<WalletServiceTerms._Fields,org.apache.thrift.meta_data.FieldMetaData> getW2w()inthashCode()booleanisSet(WalletServiceTerms._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field currencies is set (has been assigned a value) and false otherwisebooleanReturns 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 otherwisebooleanReturns true if field wallet_limit is set (has been assigned a value) and false otherwisebooleanReturns true if field withdrawals is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) setCurrencies(CurrencySelector currencies) voidsetCurrenciesIsSet(boolean value) voidsetFieldValue(WalletServiceTerms._Fields field, Object value) setTurnoverLimit(TurnoverLimitSelector turnover_limit) voidsetTurnoverLimitIsSet(boolean value) setW2w(W2WServiceTerms w2w) voidsetW2wIsSet(boolean value) setWalletLimit(CashLimitSelector wallet_limit) voidsetWalletLimitIsSet(boolean value) setWithdrawals(WithdrawalServiceTerms withdrawals) voidsetWithdrawalsIsSet(boolean value) toString()voidvoidvoidunsetW2w()voidvoidvoidvalidate()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
- 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
-