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.19.0)",
date="2024-08-02")
public class AllocationTransactionBodyTotal
extends Object
implements org.apache.thrift.TBase<AllocationTransactionBodyTotal,AllocationTransactionBodyTotal._Fields>, Serializable, Cloneable, Comparable<AllocationTransactionBodyTotal>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
FieldsModifier and TypeFieldDescriptionОписывает комиссию в относительных величинах в том случае, если был использован вариант прототипа с AllocationTransactionPrototypeFee.shareКомиссия вычитаемая из общей суммы, будет переведена по назначению.По этому назначению переводится часть денежных средств.static final Map<AllocationTransactionBodyTotal._Fields,org.apache.thrift.meta_data.FieldMetaData> Общая сумма денежных средств транзакции. -
Constructor Summary
ConstructorsConstructorDescriptionPerforms a deep copy on other.AllocationTransactionBodyTotal(AllocationTransactionTarget fee_target, Cash total, Cash fee_amount) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intdeepCopy()booleanbooleanfieldForId(int fieldId) getFee()Описывает комиссию в относительных величинах в том случае, если был использован вариант прототипа с AllocationTransactionPrototypeFee.shareКомиссия вычитаемая из общей суммы, будет переведена по назначению.По этому назначению переводится часть денежных средств.Map<AllocationTransactionBodyTotal._Fields,org.apache.thrift.meta_data.FieldMetaData> getTotal()Общая сумма денежных средств транзакции.inthashCode()booleanReturns 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 otherwisebooleanReturns true if field fee_amount is set (has been assigned a value) and false otherwisebooleanReturns true if field fee_target is set (has been assigned a value) and false otherwisebooleanReturns true if field total is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) Описывает комиссию в относительных величинах в том случае, если был использован вариант прототипа с AllocationTransactionPrototypeFee.sharesetFeeAmount(Cash fee_amount) Комиссия вычитаемая из общей суммы, будет переведена по назначению.voidsetFeeAmountIsSet(boolean value) voidsetFeeIsSet(boolean value) setFeeTarget(AllocationTransactionTarget fee_target) По этому назначению переводится часть денежных средств.voidsetFeeTargetIsSet(boolean value) voidsetFieldValue(AllocationTransactionBodyTotal._Fields field, Object value) Общая сумма денежных средств транзакции.voidsetTotalIsSet(boolean value) toString()voidunsetFee()voidvoidvoidvoidvalidate()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
-