Class PayoutParams
java.lang.Object
dev.vality.damsel.payout_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 CashamountMap<String,Value>metadatastatic Map<PayoutParams._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringpayout_idStringpayout_tool_idShopParamsshop -
Constructor Summary
Constructors Constructor Description PayoutParams()PayoutParams(PayoutParams other)Performs a deep copy on other.PayoutParams(String payout_id, ShopParams shop, String payout_tool_id, Cash amount) -
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)Map<String,Value>getMetadata()intgetMetadataSize()StringgetPayoutId()StringgetPayoutToolId()ShopParamsgetShop()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 otherwisebooleanisSetMetadata()Returns true if field metadata is set (has been assigned a value) and false otherwisebooleanisSetPayoutId()Returns true if field payout_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 otherwisebooleanisSetShop()Returns true if field shop is set (has been assigned a value) and false otherwisevoidputToMetadata(String key, Value val)voidread(org.apache.thrift.protocol.TProtocol iprot)PayoutParamssetAmount(Cash amount)voidsetAmountIsSet(boolean value)voidsetFieldValue(PayoutParams._Fields field, Object value)PayoutParamssetMetadata(Map<String,Value> metadata)voidsetMetadataIsSet(boolean value)PayoutParamssetPayoutId(String payout_id)voidsetPayoutIdIsSet(boolean value)PayoutParamssetPayoutToolId(String payout_tool_id)voidsetPayoutToolIdIsSet(boolean value)PayoutParamssetShop(ShopParams shop)voidsetShopIsSet(boolean value)StringtoString()voidunsetAmount()voidunsetMetadata()voidunsetPayoutId()voidunsetPayoutToolId()voidunsetShop()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
payout_id
-
shop
-
payout_tool_id
-
amount
-
metadata
-
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>
-
getPayoutId
-
setPayoutId
-
unsetPayoutId
public void unsetPayoutId() -
isSetPayoutId
public boolean isSetPayoutId()Returns true if field payout_id is set (has been assigned a value) and false otherwise -
setPayoutIdIsSet
public void setPayoutIdIsSet(boolean value) -
getShop
-
setShop
-
unsetShop
public void unsetShop() -
isSetShop
public boolean isSetShop()Returns true if field shop is set (has been assigned a value) and false otherwise -
setShopIsSet
public void setShopIsSet(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) -
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) -
getMetadataSize
public int getMetadataSize() -
putToMetadata
-
getMetadata
-
setMetadata
-
unsetMetadata
public void unsetMetadata() -
isSetMetadata
public boolean isSetMetadata()Returns true if field metadata is set (has been assigned a value) and false otherwise -
setMetadataIsSet
public void setMetadataIsSet(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
-