Class CashRegisterParams
java.lang.Object
dev.vality.damsel.claim_management.CashRegisterParams
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<CashRegisterParams>,org.apache.thrift.TBase<CashRegisterParams,CashRegisterParams._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-10-25")
public class CashRegisterParams
extends Object
implements org.apache.thrift.TBase<CashRegisterParams,CashRegisterParams._Fields>, Serializable, Cloneable, Comparable<CashRegisterParams>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCashRegisterParams._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description intcash_register_provider_idMap<String,String>cash_register_provider_paramsstatic Map<CashRegisterParams._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMap -
Constructor Summary
Constructors Constructor Description CashRegisterParams()CashRegisterParams(int cash_register_provider_id, Map<String,String> cash_register_provider_params)CashRegisterParams(CashRegisterParams other)Performs a deep copy on other. -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(CashRegisterParams other)CashRegisterParamsdeepCopy()booleanequals(CashRegisterParams that)booleanequals(Object that)CashRegisterParams._FieldsfieldForId(int fieldId)intgetCashRegisterProviderId()Map<String,String>getCashRegisterProviderParams()intgetCashRegisterProviderParamsSize()Map<CashRegisterParams._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()CashRegisterParams._Fields[]getFields()ObjectgetFieldValue(CashRegisterParams._Fields field)inthashCode()booleanisSet(CashRegisterParams._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetCashRegisterProviderId()Returns true if field cash_register_provider_id is set (has been assigned a value) and false otherwisebooleanisSetCashRegisterProviderParams()Returns true if field cash_register_provider_params is set (has been assigned a value) and false otherwisevoidputToCashRegisterProviderParams(String key, String val)voidread(org.apache.thrift.protocol.TProtocol iprot)CashRegisterParamssetCashRegisterProviderId(int cash_register_provider_id)voidsetCashRegisterProviderIdIsSet(boolean value)CashRegisterParamssetCashRegisterProviderParams(Map<String,String> cash_register_provider_params)voidsetCashRegisterProviderParamsIsSet(boolean value)voidsetFieldValue(CashRegisterParams._Fields field, Object value)StringtoString()voidunsetCashRegisterProviderId()voidunsetCashRegisterProviderParams()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
cash_register_provider_id
public int cash_register_provider_id -
cash_register_provider_params
-
metaDataMap
public static final Map<CashRegisterParams._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
CashRegisterParams
public CashRegisterParams() -
CashRegisterParams
-
CashRegisterParams
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<CashRegisterParams,CashRegisterParams._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<CashRegisterParams,CashRegisterParams._Fields>
-
getCashRegisterProviderId
public int getCashRegisterProviderId() -
setCashRegisterProviderId
-
unsetCashRegisterProviderId
public void unsetCashRegisterProviderId() -
isSetCashRegisterProviderId
public boolean isSetCashRegisterProviderId()Returns true if field cash_register_provider_id is set (has been assigned a value) and false otherwise -
setCashRegisterProviderIdIsSet
public void setCashRegisterProviderIdIsSet(boolean value) -
getCashRegisterProviderParamsSize
public int getCashRegisterProviderParamsSize() -
putToCashRegisterProviderParams
-
getCashRegisterProviderParams
-
setCashRegisterProviderParams
public CashRegisterParams setCashRegisterProviderParams(Map<String,String> cash_register_provider_params) -
unsetCashRegisterProviderParams
public void unsetCashRegisterProviderParams() -
isSetCashRegisterProviderParams
public boolean isSetCashRegisterProviderParams()Returns true if field cash_register_provider_params is set (has been assigned a value) and false otherwise -
setCashRegisterProviderParamsIsSet
public void setCashRegisterProviderParamsIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<CashRegisterParams,CashRegisterParams._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<CashRegisterParams,CashRegisterParams._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<CashRegisterParams,CashRegisterParams._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<CashRegisterParams>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<CashRegisterParams,CashRegisterParams._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<CashRegisterParams,CashRegisterParams._Fields>
-
getFieldMetaData
public Map<CashRegisterParams._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<CashRegisterParams,CashRegisterParams._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
-