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
  • Field Details

    • cash_register_provider_id

      public int cash_register_provider_id
    • cash_register_provider_params

      public Map<String,​String> cash_register_provider_params
    • metaDataMap

      public static final Map<CashRegisterParams._Fields,​org.apache.thrift.meta_data.FieldMetaData> metaDataMap
  • Constructor Details

    • CashRegisterParams

      public CashRegisterParams()
    • CashRegisterParams

      public CashRegisterParams​(int cash_register_provider_id, Map<String,​String> cash_register_provider_params)
    • CashRegisterParams

      public CashRegisterParams​(CashRegisterParams other)
      Performs a deep copy on other.
  • Method Details

    • deepCopy

      public CashRegisterParams deepCopy()
      Specified by:
      deepCopy in interface org.apache.thrift.TBase<CashRegisterParams,​CashRegisterParams._Fields>
    • clear

      public void clear()
      Specified by:
      clear in interface org.apache.thrift.TBase<CashRegisterParams,​CashRegisterParams._Fields>
    • getCashRegisterProviderId

      public int getCashRegisterProviderId()
    • setCashRegisterProviderId

      public CashRegisterParams setCashRegisterProviderId​(int cash_register_provider_id)
    • 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

      public void putToCashRegisterProviderParams​(String key, String val)
    • getCashRegisterProviderParams

      public Map<String,​String> 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

      public void setFieldValue​(CashRegisterParams._Fields field, Object value)
      Specified by:
      setFieldValue in interface org.apache.thrift.TBase<CashRegisterParams,​CashRegisterParams._Fields>
    • getFieldValue

      public Object getFieldValue​(CashRegisterParams._Fields field)
      Specified by:
      getFieldValue in interface org.apache.thrift.TBase<CashRegisterParams,​CashRegisterParams._Fields>
    • isSet

      public boolean isSet​(CashRegisterParams._Fields field)
      Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
      Specified by:
      isSet in interface org.apache.thrift.TBase<CashRegisterParams,​CashRegisterParams._Fields>
    • equals

      public boolean equals​(Object that)
      Overrides:
      equals in class Object
    • equals

      public boolean equals​(CashRegisterParams that)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • compareTo

      public int compareTo​(CashRegisterParams other)
      Specified by:
      compareTo in interface Comparable<CashRegisterParams>
    • fieldForId

      public CashRegisterParams._Fields fieldForId​(int fieldId)
      Specified by:
      fieldForId in interface org.apache.thrift.TBase<CashRegisterParams,​CashRegisterParams._Fields>
    • getFields

      public CashRegisterParams._Fields[] getFields()
      Specified by:
      getFields in interface org.apache.thrift.TBase<CashRegisterParams,​CashRegisterParams._Fields>
    • getFieldMetaData

      public Map<CashRegisterParams._Fields,​org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()
      Specified by:
      getFieldMetaData in interface org.apache.thrift.TBase<CashRegisterParams,​CashRegisterParams._Fields>
    • read

      public void read​(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
      Specified by:
      read in interface org.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:
      write in interface org.apache.thrift.TSerializable
      Throws:
      org.apache.thrift.TException
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validate

      public void validate() throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException