Package dev.vality.damsel.domain
Class AllocationTransactionPrototypeBodyTotal
java.lang.Object
dev.vality.damsel.domain.AllocationTransactionPrototypeBodyTotal
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<AllocationTransactionPrototypeBodyTotal>,org.apache.thrift.TBase<AllocationTransactionPrototypeBodyTotal,AllocationTransactionPrototypeBodyTotal._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-10-25")
public class AllocationTransactionPrototypeBodyTotal
extends Object
implements org.apache.thrift.TBase<AllocationTransactionPrototypeBodyTotal,AllocationTransactionPrototypeBodyTotal._Fields>, Serializable, Cloneable, Comparable<AllocationTransactionPrototypeBodyTotal>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAllocationTransactionPrototypeBodyTotal._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description AllocationTransactionPrototypeFeefeeКомиссия вычитаемая из общей суммы.static Map<AllocationTransactionPrototypeBodyTotal._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapCashtotalОбщая сумма денежных средств транзакции. -
Constructor Summary
Constructors Constructor Description AllocationTransactionPrototypeBodyTotal()AllocationTransactionPrototypeBodyTotal(AllocationTransactionPrototypeBodyTotal other)Performs a deep copy on other.AllocationTransactionPrototypeBodyTotal(Cash total, AllocationTransactionPrototypeFee fee) -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(AllocationTransactionPrototypeBodyTotal other)AllocationTransactionPrototypeBodyTotaldeepCopy()booleanequals(AllocationTransactionPrototypeBodyTotal that)booleanequals(Object that)AllocationTransactionPrototypeBodyTotal._FieldsfieldForId(int fieldId)AllocationTransactionPrototypeFeegetFee()Комиссия вычитаемая из общей суммы.Map<AllocationTransactionPrototypeBodyTotal._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()AllocationTransactionPrototypeBodyTotal._Fields[]getFields()ObjectgetFieldValue(AllocationTransactionPrototypeBodyTotal._Fields field)CashgetTotal()Общая сумма денежных средств транзакции.inthashCode()booleanisSet(AllocationTransactionPrototypeBodyTotal._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetFee()Returns true if field fee is set (has been assigned a value) and false otherwisebooleanisSetTotal()Returns true if field total is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)AllocationTransactionPrototypeBodyTotalsetFee(AllocationTransactionPrototypeFee fee)Комиссия вычитаемая из общей суммы.voidsetFeeIsSet(boolean value)voidsetFieldValue(AllocationTransactionPrototypeBodyTotal._Fields field, Object value)AllocationTransactionPrototypeBodyTotalsetTotal(Cash total)Общая сумма денежных средств транзакции.voidsetTotalIsSet(boolean value)StringtoString()voidunsetFee()voidunsetTotal()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
total
Общая сумма денежных средств транзакции. -
fee
Комиссия вычитаемая из общей суммы. -
metaDataMap
public static final Map<AllocationTransactionPrototypeBodyTotal._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
AllocationTransactionPrototypeBodyTotal
public AllocationTransactionPrototypeBodyTotal() -
AllocationTransactionPrototypeBodyTotal
-
AllocationTransactionPrototypeBodyTotal
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<AllocationTransactionPrototypeBodyTotal,AllocationTransactionPrototypeBodyTotal._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<AllocationTransactionPrototypeBodyTotal,AllocationTransactionPrototypeBodyTotal._Fields>
-
getTotal
Общая сумма денежных средств транзакции. -
setTotal
Общая сумма денежных средств транзакции. -
unsetTotal
public void unsetTotal() -
isSetTotal
public boolean isSetTotal()Returns true if field total is set (has been assigned a value) and false otherwise -
setTotalIsSet
public void setTotalIsSet(boolean value) -
getFee
Комиссия вычитаемая из общей суммы. -
setFee
Комиссия вычитаемая из общей суммы. -
unsetFee
public void unsetFee() -
isSetFee
public boolean isSetFee()Returns true if field fee is set (has been assigned a value) and false otherwise -
setFeeIsSet
public void setFeeIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<AllocationTransactionPrototypeBodyTotal,AllocationTransactionPrototypeBodyTotal._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<AllocationTransactionPrototypeBodyTotal,AllocationTransactionPrototypeBodyTotal._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<AllocationTransactionPrototypeBodyTotal,AllocationTransactionPrototypeBodyTotal._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<AllocationTransactionPrototypeBodyTotal>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<AllocationTransactionPrototypeBodyTotal,AllocationTransactionPrototypeBodyTotal._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<AllocationTransactionPrototypeBodyTotal,AllocationTransactionPrototypeBodyTotal._Fields>
-
getFieldMetaData
public Map<AllocationTransactionPrototypeBodyTotal._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<AllocationTransactionPrototypeBodyTotal,AllocationTransactionPrototypeBodyTotal._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
-