Package dev.vality.damsel.domain
Class AllocationTransactionPrototypeBodyAmount
java.lang.Object
dev.vality.damsel.domain.AllocationTransactionPrototypeBodyAmount
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<AllocationTransactionPrototypeBodyAmount>,org.apache.thrift.TBase<AllocationTransactionPrototypeBodyAmount,AllocationTransactionPrototypeBodyAmount._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-10-25")
public class AllocationTransactionPrototypeBodyAmount
extends Object
implements org.apache.thrift.TBase<AllocationTransactionPrototypeBodyAmount,AllocationTransactionPrototypeBodyAmount._Fields>, Serializable, Cloneable, Comparable<AllocationTransactionPrototypeBodyAmount>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAllocationTransactionPrototypeBodyAmount._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description CashamountСумма, которая будет переведена по назначению.static Map<AllocationTransactionPrototypeBodyAmount._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMap -
Constructor Summary
Constructors Constructor Description AllocationTransactionPrototypeBodyAmount()AllocationTransactionPrototypeBodyAmount(AllocationTransactionPrototypeBodyAmount other)Performs a deep copy on other.AllocationTransactionPrototypeBodyAmount(Cash amount) -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(AllocationTransactionPrototypeBodyAmount other)AllocationTransactionPrototypeBodyAmountdeepCopy()booleanequals(AllocationTransactionPrototypeBodyAmount that)booleanequals(Object that)AllocationTransactionPrototypeBodyAmount._FieldsfieldForId(int fieldId)CashgetAmount()Сумма, которая будет переведена по назначению.Map<AllocationTransactionPrototypeBodyAmount._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()AllocationTransactionPrototypeBodyAmount._Fields[]getFields()ObjectgetFieldValue(AllocationTransactionPrototypeBodyAmount._Fields field)inthashCode()booleanisSet(AllocationTransactionPrototypeBodyAmount._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetAmount()Returns true if field amount is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)AllocationTransactionPrototypeBodyAmountsetAmount(Cash amount)Сумма, которая будет переведена по назначению.voidsetAmountIsSet(boolean value)voidsetFieldValue(AllocationTransactionPrototypeBodyAmount._Fields field, Object value)StringtoString()voidunsetAmount()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
amount
Сумма, которая будет переведена по назначению. -
metaDataMap
public static final Map<AllocationTransactionPrototypeBodyAmount._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
AllocationTransactionPrototypeBodyAmount
public AllocationTransactionPrototypeBodyAmount() -
AllocationTransactionPrototypeBodyAmount
-
AllocationTransactionPrototypeBodyAmount
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<AllocationTransactionPrototypeBodyAmount,AllocationTransactionPrototypeBodyAmount._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<AllocationTransactionPrototypeBodyAmount,AllocationTransactionPrototypeBodyAmount._Fields>
-
getAmount
Сумма, которая будет переведена по назначению. -
setAmount
Сумма, которая будет переведена по назначению. -
unsetAmount
public void unsetAmount() -
isSetAmount
public boolean isSetAmount()Returns true if field amount is set (has been assigned a value) and false otherwise -
setAmountIsSet
public void setAmountIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<AllocationTransactionPrototypeBodyAmount,AllocationTransactionPrototypeBodyAmount._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<AllocationTransactionPrototypeBodyAmount,AllocationTransactionPrototypeBodyAmount._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<AllocationTransactionPrototypeBodyAmount,AllocationTransactionPrototypeBodyAmount._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<AllocationTransactionPrototypeBodyAmount>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<AllocationTransactionPrototypeBodyAmount,AllocationTransactionPrototypeBodyAmount._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<AllocationTransactionPrototypeBodyAmount,AllocationTransactionPrototypeBodyAmount._Fields>
-
getFieldMetaData
public Map<AllocationTransactionPrototypeBodyAmount._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<AllocationTransactionPrototypeBodyAmount,AllocationTransactionPrototypeBodyAmount._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
-