Package dev.vality.damsel.domain
Class AllocationTransactionBodyTotal
java.lang.Object
dev.vality.damsel.domain.AllocationTransactionBodyTotal
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<AllocationTransactionBodyTotal>,org.apache.thrift.TBase<AllocationTransactionBodyTotal,AllocationTransactionBodyTotal._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-10-25")
public class AllocationTransactionBodyTotal
extends Object
implements org.apache.thrift.TBase<AllocationTransactionBodyTotal,AllocationTransactionBodyTotal._Fields>, Serializable, Cloneable, Comparable<AllocationTransactionBodyTotal>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAllocationTransactionBodyTotal._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description AllocationTransactionFeeSharefeeОписывает комиссию в относительных величинах в том случае, если был использован вариант прототипа с AllocationTransactionPrototypeFee.shareCashfee_amountКомиссия вычитаемая из общей суммы, будет переведена по назначению.AllocationTransactionTargetfee_targetПо этому назначению переводится часть денежных средств.static Map<AllocationTransactionBodyTotal._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapCashtotalОбщая сумма денежных средств транзакции. -
Constructor Summary
Constructors Constructor Description AllocationTransactionBodyTotal()AllocationTransactionBodyTotal(AllocationTransactionBodyTotal other)Performs a deep copy on other.AllocationTransactionBodyTotal(AllocationTransactionTarget fee_target, Cash total, Cash fee_amount) -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(AllocationTransactionBodyTotal other)AllocationTransactionBodyTotaldeepCopy()booleanequals(AllocationTransactionBodyTotal that)booleanequals(Object that)AllocationTransactionBodyTotal._FieldsfieldForId(int fieldId)AllocationTransactionFeeSharegetFee()Описывает комиссию в относительных величинах в том случае, если был использован вариант прототипа с AllocationTransactionPrototypeFee.shareCashgetFeeAmount()Комиссия вычитаемая из общей суммы, будет переведена по назначению.AllocationTransactionTargetgetFeeTarget()По этому назначению переводится часть денежных средств.Map<AllocationTransactionBodyTotal._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()AllocationTransactionBodyTotal._Fields[]getFields()ObjectgetFieldValue(AllocationTransactionBodyTotal._Fields field)CashgetTotal()Общая сумма денежных средств транзакции.inthashCode()booleanisSet(AllocationTransactionBodyTotal._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 otherwisebooleanisSetFeeAmount()Returns true if field fee_amount is set (has been assigned a value) and false otherwisebooleanisSetFeeTarget()Returns true if field fee_target 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)AllocationTransactionBodyTotalsetFee(AllocationTransactionFeeShare fee)Описывает комиссию в относительных величинах в том случае, если был использован вариант прототипа с AllocationTransactionPrototypeFee.shareAllocationTransactionBodyTotalsetFeeAmount(Cash fee_amount)Комиссия вычитаемая из общей суммы, будет переведена по назначению.voidsetFeeAmountIsSet(boolean value)voidsetFeeIsSet(boolean value)AllocationTransactionBodyTotalsetFeeTarget(AllocationTransactionTarget fee_target)По этому назначению переводится часть денежных средств.voidsetFeeTargetIsSet(boolean value)voidsetFieldValue(AllocationTransactionBodyTotal._Fields field, Object value)AllocationTransactionBodyTotalsetTotal(Cash total)Общая сумма денежных средств транзакции.voidsetTotalIsSet(boolean value)StringtoString()voidunsetFee()voidunsetFeeAmount()voidunsetFeeTarget()voidunsetTotal()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
fee_target
По этому назначению переводится часть денежных средств. -
total
Общая сумма денежных средств транзакции. -
fee_amount
Комиссия вычитаемая из общей суммы, будет переведена по назначению. -
fee
Описывает комиссию в относительных величинах в том случае, если был использован вариант прототипа с AllocationTransactionPrototypeFee.share -
metaDataMap
public static final Map<AllocationTransactionBodyTotal._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
AllocationTransactionBodyTotal
public AllocationTransactionBodyTotal() -
AllocationTransactionBodyTotal
public AllocationTransactionBodyTotal(AllocationTransactionTarget fee_target, Cash total, Cash fee_amount) -
AllocationTransactionBodyTotal
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<AllocationTransactionBodyTotal,AllocationTransactionBodyTotal._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<AllocationTransactionBodyTotal,AllocationTransactionBodyTotal._Fields>
-
getFeeTarget
По этому назначению переводится часть денежных средств. -
setFeeTarget
По этому назначению переводится часть денежных средств. -
unsetFeeTarget
public void unsetFeeTarget() -
isSetFeeTarget
public boolean isSetFeeTarget()Returns true if field fee_target is set (has been assigned a value) and false otherwise -
setFeeTargetIsSet
public void setFeeTargetIsSet(boolean value) -
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) -
getFeeAmount
Комиссия вычитаемая из общей суммы, будет переведена по назначению. -
setFeeAmount
Комиссия вычитаемая из общей суммы, будет переведена по назначению. -
unsetFeeAmount
public void unsetFeeAmount() -
isSetFeeAmount
public boolean isSetFeeAmount()Returns true if field fee_amount is set (has been assigned a value) and false otherwise -
setFeeAmountIsSet
public void setFeeAmountIsSet(boolean value) -
getFee
Описывает комиссию в относительных величинах в том случае, если был использован вариант прототипа с AllocationTransactionPrototypeFee.share -
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<AllocationTransactionBodyTotal,AllocationTransactionBodyTotal._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<AllocationTransactionBodyTotal,AllocationTransactionBodyTotal._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<AllocationTransactionBodyTotal,AllocationTransactionBodyTotal._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<AllocationTransactionBodyTotal>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<AllocationTransactionBodyTotal,AllocationTransactionBodyTotal._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<AllocationTransactionBodyTotal,AllocationTransactionBodyTotal._Fields>
-
getFieldMetaData
public Map<AllocationTransactionBodyTotal._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<AllocationTransactionBodyTotal,AllocationTransactionBodyTotal._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
-