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.19.0)",
date="2024-08-02")
public class ShopParams
extends Object
implements org.apache.thrift.TBase<ShopParams,ShopParams._Fields>, Serializable, Cloneable, Comparable<ShopParams>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Map<ShopParams._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionShopParams(ShopLocation location, ShopDetails details, String contract_id) ShopParams(ShopParams other) Performs a deep copy on other. -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(ShopParams other) deepCopy()booleanequals(ShopParams that) booleanfieldForId(int fieldId) Map<ShopParams._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldValue(ShopParams._Fields field) inthashCode()booleanisSet(ShopParams._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field category is set (has been assigned a value) and false otherwisebooleanReturns true if field contract_id is set (has been assigned a value) and false otherwisebooleanReturns true if field details is set (has been assigned a value) and false otherwisebooleanReturns true if field location is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) setCategory(CategoryRef category) voidsetCategoryIsSet(boolean value) setContractId(String contract_id) voidsetContractIdIsSet(boolean value) setDetails(ShopDetails details) voidsetDetailsIsSet(boolean value) voidsetFieldValue(ShopParams._Fields field, Object value) setLocation(ShopLocation location) voidsetLocationIsSet(boolean value) toString()voidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
category
-
location
-
details
-
contract_id
-
metaDataMap
-
-
Constructor Details
-
ShopParams
public ShopParams() -
ShopParams
-
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) -
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
-