Package dev.vality.payout.manager
Class PayoutParams
java.lang.Object
dev.vality.payout.manager.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-03-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 dev.vality.damsel.domain.Cashcashstatic Map<PayoutParams._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringpayout_idStringpayout_tool_idShopParamsshop_params -
Constructor Summary
Constructors Constructor Description PayoutParams()PayoutParams(PayoutParams other)Performs a deep copy on other.PayoutParams(ShopParams shop_params, dev.vality.damsel.domain.Cash cash) -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(PayoutParams other)PayoutParamsdeepCopy()booleanequals(PayoutParams that)booleanequals(Object that)PayoutParams._FieldsfieldForId(int fieldId)dev.vality.damsel.domain.CashgetCash()Map<PayoutParams._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()PayoutParams._Fields[]getFields()ObjectgetFieldValue(PayoutParams._Fields field)StringgetPayoutId()StringgetPayoutToolId()ShopParamsgetShopParams()inthashCode()booleanisSet(PayoutParams._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetCash()Returns true if field cash 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 otherwisebooleanisSetShopParams()Returns true if field shop_params is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)PayoutParamssetCash(dev.vality.damsel.domain.Cash cash)voidsetCashIsSet(boolean value)voidsetFieldValue(PayoutParams._Fields field, Object value)PayoutParamssetPayoutId(String payout_id)voidsetPayoutIdIsSet(boolean value)PayoutParamssetPayoutToolId(String payout_tool_id)voidsetPayoutToolIdIsSet(boolean value)PayoutParamssetShopParams(ShopParams shop_params)voidsetShopParamsIsSet(boolean value)StringtoString()voidunsetCash()voidunsetPayoutId()voidunsetPayoutToolId()voidunsetShopParams()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
shop_params
-
cash
public dev.vality.damsel.domain.Cash cash -
payout_id
-
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>
-
getShopParams
-
setShopParams
-
unsetShopParams
public void unsetShopParams() -
isSetShopParams
public boolean isSetShopParams()Returns true if field shop_params is set (has been assigned a value) and false otherwise -
setShopParamsIsSet
public void setShopParamsIsSet(boolean value) -
getCash
public dev.vality.damsel.domain.Cash getCash() -
setCash
-
unsetCash
public void unsetCash() -
isSetCash
public boolean isSetCash()Returns true if field cash is set (has been assigned a value) and false otherwise -
setCashIsSet
public void setCashIsSet(boolean value) -
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) -
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
-