Class PayoutSummaryItem
java.lang.Object
dev.vality.damsel.payout_processing.PayoutSummaryItem
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<PayoutSummaryItem>,org.apache.thrift.TBase<PayoutSummaryItem,PayoutSummaryItem._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-10-25")
public class PayoutSummaryItem
extends Object
implements org.apache.thrift.TBase<PayoutSummaryItem,PayoutSummaryItem._Fields>, Serializable, Cloneable, Comparable<PayoutSummaryItem>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPayoutSummaryItem._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description longamountintcountStringcurrency_symbolic_codelongfeeStringfrom_timestatic Map<PayoutSummaryItem._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapOperationTypeoperation_typeStringto_time -
Constructor Summary
Constructors Constructor Description PayoutSummaryItem()PayoutSummaryItem(long amount, long fee, String currency_symbolic_code, String from_time, String to_time, OperationType operation_type, int count)PayoutSummaryItem(PayoutSummaryItem other)Performs a deep copy on other. -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(PayoutSummaryItem other)PayoutSummaryItemdeepCopy()booleanequals(PayoutSummaryItem that)booleanequals(Object that)PayoutSummaryItem._FieldsfieldForId(int fieldId)longgetAmount()intgetCount()StringgetCurrencySymbolicCode()longgetFee()Map<PayoutSummaryItem._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()PayoutSummaryItem._Fields[]getFields()ObjectgetFieldValue(PayoutSummaryItem._Fields field)StringgetFromTime()OperationTypegetOperationType()StringgetToTime()inthashCode()booleanisSet(PayoutSummaryItem._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 otherwisebooleanisSetCount()Returns true if field count is set (has been assigned a value) and false otherwisebooleanisSetCurrencySymbolicCode()Returns true if field currency_symbolic_code is set (has been assigned a value) and false otherwisebooleanisSetFee()Returns true if field fee is set (has been assigned a value) and false otherwisebooleanisSetFromTime()Returns true if field from_time is set (has been assigned a value) and false otherwisebooleanisSetOperationType()Returns true if field operation_type is set (has been assigned a value) and false otherwisebooleanisSetToTime()Returns true if field to_time is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)PayoutSummaryItemsetAmount(long amount)voidsetAmountIsSet(boolean value)PayoutSummaryItemsetCount(int count)voidsetCountIsSet(boolean value)PayoutSummaryItemsetCurrencySymbolicCode(String currency_symbolic_code)voidsetCurrencySymbolicCodeIsSet(boolean value)PayoutSummaryItemsetFee(long fee)voidsetFeeIsSet(boolean value)voidsetFieldValue(PayoutSummaryItem._Fields field, Object value)PayoutSummaryItemsetFromTime(String from_time)voidsetFromTimeIsSet(boolean value)PayoutSummaryItemsetOperationType(OperationType operation_type)voidsetOperationTypeIsSet(boolean value)PayoutSummaryItemsetToTime(String to_time)voidsetToTimeIsSet(boolean value)StringtoString()voidunsetAmount()voidunsetCount()voidunsetCurrencySymbolicCode()voidunsetFee()voidunsetFromTime()voidunsetOperationType()voidunsetToTime()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
amount
public long amount -
fee
public long fee -
currency_symbolic_code
-
from_time
-
to_time
-
operation_type
- See Also:
OperationType
-
count
public int count -
metaDataMap
public static final Map<PayoutSummaryItem._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
PayoutSummaryItem
public PayoutSummaryItem() -
PayoutSummaryItem
public PayoutSummaryItem(long amount, long fee, String currency_symbolic_code, String from_time, String to_time, OperationType operation_type, int count) -
PayoutSummaryItem
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<PayoutSummaryItem,PayoutSummaryItem._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<PayoutSummaryItem,PayoutSummaryItem._Fields>
-
getAmount
public long 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) -
getFee
public long 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) -
getCurrencySymbolicCode
-
setCurrencySymbolicCode
-
unsetCurrencySymbolicCode
public void unsetCurrencySymbolicCode() -
isSetCurrencySymbolicCode
public boolean isSetCurrencySymbolicCode()Returns true if field currency_symbolic_code is set (has been assigned a value) and false otherwise -
setCurrencySymbolicCodeIsSet
public void setCurrencySymbolicCodeIsSet(boolean value) -
getFromTime
-
setFromTime
-
unsetFromTime
public void unsetFromTime() -
isSetFromTime
public boolean isSetFromTime()Returns true if field from_time is set (has been assigned a value) and false otherwise -
setFromTimeIsSet
public void setFromTimeIsSet(boolean value) -
getToTime
-
setToTime
-
unsetToTime
public void unsetToTime() -
isSetToTime
public boolean isSetToTime()Returns true if field to_time is set (has been assigned a value) and false otherwise -
setToTimeIsSet
public void setToTimeIsSet(boolean value) -
getOperationType
- See Also:
OperationType
-
setOperationType
- See Also:
OperationType
-
unsetOperationType
public void unsetOperationType() -
isSetOperationType
public boolean isSetOperationType()Returns true if field operation_type is set (has been assigned a value) and false otherwise -
setOperationTypeIsSet
public void setOperationTypeIsSet(boolean value) -
getCount
public int getCount() -
setCount
-
unsetCount
public void unsetCount() -
isSetCount
public boolean isSetCount()Returns true if field count is set (has been assigned a value) and false otherwise -
setCountIsSet
public void setCountIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<PayoutSummaryItem,PayoutSummaryItem._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<PayoutSummaryItem,PayoutSummaryItem._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<PayoutSummaryItem,PayoutSummaryItem._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<PayoutSummaryItem>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<PayoutSummaryItem,PayoutSummaryItem._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<PayoutSummaryItem,PayoutSummaryItem._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<PayoutSummaryItem,PayoutSummaryItem._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
-