Package dev.vality.fistful.deposit
Class InsufficientDepositAmount
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.thrift.TException
dev.vality.fistful.deposit.InsufficientDepositAmount
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<InsufficientDepositAmount>,org.apache.thrift.TBase<InsufficientDepositAmount,InsufficientDepositAmount._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-06-27")
public class InsufficientDepositAmount
extends org.apache.thrift.TException
implements org.apache.thrift.TBase<InsufficientDepositAmount,InsufficientDepositAmount._Fields>, Serializable, Cloneable, Comparable<InsufficientDepositAmount>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInsufficientDepositAmount._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description Cashdeposit_amountstatic Map<InsufficientDepositAmount._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapCashrevert_body -
Constructor Summary
Constructors Constructor Description InsufficientDepositAmount()InsufficientDepositAmount(Cash revert_body, Cash deposit_amount)InsufficientDepositAmount(InsufficientDepositAmount other)Performs a deep copy on other. -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(InsufficientDepositAmount other)InsufficientDepositAmountdeepCopy()booleanequals(InsufficientDepositAmount that)booleanequals(Object that)InsufficientDepositAmount._FieldsfieldForId(int fieldId)CashgetDepositAmount()Map<InsufficientDepositAmount._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()InsufficientDepositAmount._Fields[]getFields()ObjectgetFieldValue(InsufficientDepositAmount._Fields field)CashgetRevertBody()inthashCode()booleanisSet(InsufficientDepositAmount._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetDepositAmount()Returns true if field deposit_amount is set (has been assigned a value) and false otherwisebooleanisSetRevertBody()Returns true if field revert_body is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)InsufficientDepositAmountsetDepositAmount(Cash deposit_amount)voidsetDepositAmountIsSet(boolean value)voidsetFieldValue(InsufficientDepositAmount._Fields field, Object value)InsufficientDepositAmountsetRevertBody(Cash revert_body)voidsetRevertBodyIsSet(boolean value)StringtoString()voidunsetDepositAmount()voidunsetRevertBody()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
revert_body
-
deposit_amount
-
metaDataMap
public static final Map<InsufficientDepositAmount._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
InsufficientDepositAmount
public InsufficientDepositAmount() -
InsufficientDepositAmount
-
InsufficientDepositAmount
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<InsufficientDepositAmount,InsufficientDepositAmount._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<InsufficientDepositAmount,InsufficientDepositAmount._Fields>
-
getRevertBody
-
setRevertBody
-
unsetRevertBody
public void unsetRevertBody() -
isSetRevertBody
public boolean isSetRevertBody()Returns true if field revert_body is set (has been assigned a value) and false otherwise -
setRevertBodyIsSet
public void setRevertBodyIsSet(boolean value) -
getDepositAmount
-
setDepositAmount
-
unsetDepositAmount
public void unsetDepositAmount() -
isSetDepositAmount
public boolean isSetDepositAmount()Returns true if field deposit_amount is set (has been assigned a value) and false otherwise -
setDepositAmountIsSet
public void setDepositAmountIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<InsufficientDepositAmount,InsufficientDepositAmount._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<InsufficientDepositAmount,InsufficientDepositAmount._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<InsufficientDepositAmount,InsufficientDepositAmount._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<InsufficientDepositAmount>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<InsufficientDepositAmount,InsufficientDepositAmount._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<InsufficientDepositAmount,InsufficientDepositAmount._Fields>
-
getFieldMetaData
public Map<InsufficientDepositAmount._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<InsufficientDepositAmount,InsufficientDepositAmount._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
-