Class PayoutParams
java.lang.Object
dev.vality.damsel.payment_processing.PayoutParams
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<PayoutParams>,org.apache.thrift.TBase<PayoutParams,PayoutParams._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-10-25")
public class PayoutParams
extends Object
implements org.apache.thrift.TBase<PayoutParams,PayoutParams._Fields>, Serializable, Cloneable, Comparable<PayoutParams>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPayoutParams._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description CashamountStringidstatic Map<PayoutParams._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringpayout_tool_idStringtimestamp -
Constructor Summary
Constructors Constructor Description PayoutParams()PayoutParams(PayoutParams other)Performs a deep copy on other.PayoutParams(String id, Cash amount, String timestamp) -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(PayoutParams other)PayoutParamsdeepCopy()booleanequals(PayoutParams that)booleanequals(Object that)PayoutParams._FieldsfieldForId(int fieldId)CashgetAmount()Map<PayoutParams._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()PayoutParams._Fields[]getFields()ObjectgetFieldValue(PayoutParams._Fields field)StringgetId()StringgetPayoutToolId()StringgetTimestamp()inthashCode()booleanisSet(PayoutParams._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 otherwisebooleanisSetId()Returns true if field id is set (has been assigned a value) and false otherwisebooleanisSetPayoutToolId()Returns true if field payout_tool_id is set (has been assigned a value) and false otherwisebooleanisSetTimestamp()Returns true if field timestamp is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)PayoutParamssetAmount(Cash amount)voidsetAmountIsSet(boolean value)voidsetFieldValue(PayoutParams._Fields field, Object value)PayoutParamssetId(String id)voidsetIdIsSet(boolean value)PayoutParamssetPayoutToolId(String payout_tool_id)voidsetPayoutToolIdIsSet(boolean value)PayoutParamssetTimestamp(String timestamp)voidsetTimestampIsSet(boolean value)StringtoString()voidunsetAmount()voidunsetId()voidunsetPayoutToolId()voidunsetTimestamp()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
id
-
amount
-
timestamp
-
payout_tool_id
-
metaDataMap
public static final Map<PayoutParams._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
PayoutParams
public PayoutParams() -
PayoutParams
-
PayoutParams
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<PayoutParams,PayoutParams._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<PayoutParams,PayoutParams._Fields>
-
getId
-
setId
-
unsetId
public void unsetId() -
isSetId
public boolean isSetId()Returns true if field id is set (has been assigned a value) and false otherwise -
setIdIsSet
public void setIdIsSet(boolean value) -
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) -
getTimestamp
-
setTimestamp
-
unsetTimestamp
public void unsetTimestamp() -
isSetTimestamp
public boolean isSetTimestamp()Returns true if field timestamp is set (has been assigned a value) and false otherwise -
setTimestampIsSet
public void setTimestampIsSet(boolean value) -
getPayoutToolId
-
setPayoutToolId
-
unsetPayoutToolId
public void unsetPayoutToolId() -
isSetPayoutToolId
public boolean isSetPayoutToolId()Returns true if field payout_tool_id is set (has been assigned a value) and false otherwise -
setPayoutToolIdIsSet
public void setPayoutToolIdIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<PayoutParams,PayoutParams._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<PayoutParams,PayoutParams._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<PayoutParams,PayoutParams._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<PayoutParams>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<PayoutParams,PayoutParams._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<PayoutParams,PayoutParams._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<PayoutParams,PayoutParams._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
-