Class ShopParams
java.lang.Object
dev.vality.damsel.payment_processing.ShopParams
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<ShopParams>,org.apache.thrift.TBase<ShopParams,ShopParams._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-10-25")
public class ShopParams
extends Object
implements org.apache.thrift.TBase<ShopParams,ShopParams._Fields>, Serializable, Cloneable, Comparable<ShopParams>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShopParams._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description CategoryRefcategoryStringcontract_idShopDetailsdetailsShopLocationlocationstatic Map<ShopParams._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringpayout_tool_id -
Constructor Summary
Constructors Constructor Description ShopParams()ShopParams(ShopLocation location, ShopDetails details, String contract_id, String payout_tool_id)ShopParams(ShopParams other)Performs a deep copy on other. -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(ShopParams other)ShopParamsdeepCopy()booleanequals(ShopParams that)booleanequals(Object that)ShopParams._FieldsfieldForId(int fieldId)CategoryRefgetCategory()StringgetContractId()ShopDetailsgetDetails()Map<ShopParams._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()ShopParams._Fields[]getFields()ObjectgetFieldValue(ShopParams._Fields field)ShopLocationgetLocation()StringgetPayoutToolId()inthashCode()booleanisSet(ShopParams._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetCategory()Returns true if field category is set (has been assigned a value) and false otherwisebooleanisSetContractId()Returns true if field contract_id is set (has been assigned a value) and false otherwisebooleanisSetDetails()Returns true if field details is set (has been assigned a value) and false otherwisebooleanisSetLocation()Returns true if field location 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 otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)ShopParamssetCategory(CategoryRef category)voidsetCategoryIsSet(boolean value)ShopParamssetContractId(String contract_id)voidsetContractIdIsSet(boolean value)ShopParamssetDetails(ShopDetails details)voidsetDetailsIsSet(boolean value)voidsetFieldValue(ShopParams._Fields field, Object value)ShopParamssetLocation(ShopLocation location)voidsetLocationIsSet(boolean value)ShopParamssetPayoutToolId(String payout_tool_id)voidsetPayoutToolIdIsSet(boolean value)StringtoString()voidunsetCategory()voidunsetContractId()voidunsetDetails()voidunsetLocation()voidunsetPayoutToolId()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
category
-
location
-
details
-
contract_id
-
payout_tool_id
-
metaDataMap
-
-
Constructor Details
-
ShopParams
public ShopParams() -
ShopParams
public ShopParams(ShopLocation location, ShopDetails details, String contract_id, String payout_tool_id) -
ShopParams
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<ShopParams,ShopParams._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<ShopParams,ShopParams._Fields>
-
getCategory
-
setCategory
-
unsetCategory
public void unsetCategory() -
isSetCategory
public boolean isSetCategory()Returns true if field category is set (has been assigned a value) and false otherwise -
setCategoryIsSet
public void setCategoryIsSet(boolean value) -
getLocation
-
setLocation
-
unsetLocation
public void unsetLocation() -
isSetLocation
public boolean isSetLocation()Returns true if field location is set (has been assigned a value) and false otherwise -
setLocationIsSet
public void setLocationIsSet(boolean value) -
getDetails
-
setDetails
-
unsetDetails
public void unsetDetails() -
isSetDetails
public boolean isSetDetails()Returns true if field details is set (has been assigned a value) and false otherwise -
setDetailsIsSet
public void setDetailsIsSet(boolean value) -
getContractId
-
setContractId
-
unsetContractId
public void unsetContractId() -
isSetContractId
public boolean isSetContractId()Returns true if field contract_id is set (has been assigned a value) and false otherwise -
setContractIdIsSet
public void setContractIdIsSet(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<ShopParams,ShopParams._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<ShopParams,ShopParams._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<ShopParams,ShopParams._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<ShopParams>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<ShopParams,ShopParams._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<ShopParams,ShopParams._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<ShopParams,ShopParams._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
-