Package dev.vality.damsel.domain
Class WithdrawalServiceTerms
java.lang.Object
dev.vality.damsel.domain.WithdrawalServiceTerms
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<WithdrawalServiceTerms>,org.apache.thrift.TBase<WithdrawalServiceTerms,WithdrawalServiceTerms._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-10-25")
public class WithdrawalServiceTerms
extends Object
implements org.apache.thrift.TBase<WithdrawalServiceTerms,WithdrawalServiceTerms._Fields>, Serializable, Cloneable, Comparable<WithdrawalServiceTerms>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWithdrawalServiceTerms._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description AttemptLimitSelectorattempt_limitCashFlowSelectorcash_flowCashLimitSelectorcash_limitCurrencySelectorcurrenciesstatic Map<WithdrawalServiceTerms._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapPaymentMethodSelectormethods -
Constructor Summary
Constructors Constructor Description WithdrawalServiceTerms()WithdrawalServiceTerms(WithdrawalServiceTerms other)Performs a deep copy on other. -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(WithdrawalServiceTerms other)WithdrawalServiceTermsdeepCopy()booleanequals(WithdrawalServiceTerms that)booleanequals(Object that)WithdrawalServiceTerms._FieldsfieldForId(int fieldId)AttemptLimitSelectorgetAttemptLimit()CashFlowSelectorgetCashFlow()CashLimitSelectorgetCashLimit()CurrencySelectorgetCurrencies()Map<WithdrawalServiceTerms._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()WithdrawalServiceTerms._Fields[]getFields()ObjectgetFieldValue(WithdrawalServiceTerms._Fields field)PaymentMethodSelectorgetMethods()inthashCode()booleanisSet(WithdrawalServiceTerms._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetAttemptLimit()Returns true if field attempt_limit is set (has been assigned a value) and false otherwisebooleanisSetCashFlow()Returns true if field cash_flow is set (has been assigned a value) and false otherwisebooleanisSetCashLimit()Returns true if field cash_limit is set (has been assigned a value) and false otherwisebooleanisSetCurrencies()Returns true if field currencies is set (has been assigned a value) and false otherwisebooleanisSetMethods()Returns true if field methods is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)WithdrawalServiceTermssetAttemptLimit(AttemptLimitSelector attempt_limit)voidsetAttemptLimitIsSet(boolean value)WithdrawalServiceTermssetCashFlow(CashFlowSelector cash_flow)voidsetCashFlowIsSet(boolean value)WithdrawalServiceTermssetCashLimit(CashLimitSelector cash_limit)voidsetCashLimitIsSet(boolean value)WithdrawalServiceTermssetCurrencies(CurrencySelector currencies)voidsetCurrenciesIsSet(boolean value)voidsetFieldValue(WithdrawalServiceTerms._Fields field, Object value)WithdrawalServiceTermssetMethods(PaymentMethodSelector methods)voidsetMethodsIsSet(boolean value)StringtoString()voidunsetAttemptLimit()voidunsetCashFlow()voidunsetCashLimit()voidunsetCurrencies()voidunsetMethods()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
currencies
-
cash_limit
-
cash_flow
-
attempt_limit
-
methods
-
metaDataMap
public static final Map<WithdrawalServiceTerms._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
WithdrawalServiceTerms
public WithdrawalServiceTerms() -
WithdrawalServiceTerms
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<WithdrawalServiceTerms,WithdrawalServiceTerms._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<WithdrawalServiceTerms,WithdrawalServiceTerms._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) -
getCashLimit
-
setCashLimit
-
unsetCashLimit
public void unsetCashLimit() -
isSetCashLimit
public boolean isSetCashLimit()Returns true if field cash_limit is set (has been assigned a value) and false otherwise -
setCashLimitIsSet
public void setCashLimitIsSet(boolean value) -
getCashFlow
-
setCashFlow
-
unsetCashFlow
public void unsetCashFlow() -
isSetCashFlow
public boolean isSetCashFlow()Returns true if field cash_flow is set (has been assigned a value) and false otherwise -
setCashFlowIsSet
public void setCashFlowIsSet(boolean value) -
getAttemptLimit
-
setAttemptLimit
-
unsetAttemptLimit
public void unsetAttemptLimit() -
isSetAttemptLimit
public boolean isSetAttemptLimit()Returns true if field attempt_limit is set (has been assigned a value) and false otherwise -
setAttemptLimitIsSet
public void setAttemptLimitIsSet(boolean value) -
getMethods
-
setMethods
-
unsetMethods
public void unsetMethods() -
isSetMethods
public boolean isSetMethods()Returns true if field methods is set (has been assigned a value) and false otherwise -
setMethodsIsSet
public void setMethodsIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<WithdrawalServiceTerms,WithdrawalServiceTerms._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<WithdrawalServiceTerms,WithdrawalServiceTerms._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<WithdrawalServiceTerms,WithdrawalServiceTerms._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<WithdrawalServiceTerms>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<WithdrawalServiceTerms,WithdrawalServiceTerms._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<WithdrawalServiceTerms,WithdrawalServiceTerms._Fields>
-
getFieldMetaData
public Map<WithdrawalServiceTerms._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<WithdrawalServiceTerms,WithdrawalServiceTerms._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
-