Class CustomerParams

java.lang.Object
dev.vality.damsel.payment_processing.CustomerParams
All Implemented Interfaces:
Serializable, Cloneable, Comparable<CustomerParams>, org.apache.thrift.TBase<CustomerParams,​CustomerParams._Fields>, org.apache.thrift.TSerializable

@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
           date="2022-10-25")
public class CustomerParams
extends Object
implements org.apache.thrift.TBase<CustomerParams,​CustomerParams._Fields>, Serializable, Cloneable, Comparable<CustomerParams>
See Also:
Serialized Form
  • Field Details

    • customer_id

      public String customer_id
    • party_id

      public String party_id
    • shop_id

      public String shop_id
    • contact_info

      public ContactInfo contact_info
    • metadata

      public Value metadata
    • metaDataMap

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

    • CustomerParams

      public CustomerParams()
    • CustomerParams

      public CustomerParams​(String customer_id, String party_id, String shop_id, ContactInfo contact_info, Value metadata)
    • CustomerParams

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

    • deepCopy

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

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

      public String getCustomerId()
    • setCustomerId

      public CustomerParams setCustomerId​(String customer_id)
    • unsetCustomerId

      public void unsetCustomerId()
    • isSetCustomerId

      public boolean isSetCustomerId()
      Returns true if field customer_id is set (has been assigned a value) and false otherwise
    • setCustomerIdIsSet

      public void setCustomerIdIsSet​(boolean value)
    • getPartyId

      public String getPartyId()
    • setPartyId

      public CustomerParams setPartyId​(String party_id)
    • unsetPartyId

      public void unsetPartyId()
    • isSetPartyId

      public boolean isSetPartyId()
      Returns true if field party_id is set (has been assigned a value) and false otherwise
    • setPartyIdIsSet

      public void setPartyIdIsSet​(boolean value)
    • getShopId

      public String getShopId()
    • setShopId

      public CustomerParams setShopId​(String shop_id)
    • unsetShopId

      public void unsetShopId()
    • isSetShopId

      public boolean isSetShopId()
      Returns true if field shop_id is set (has been assigned a value) and false otherwise
    • setShopIdIsSet

      public void setShopIdIsSet​(boolean value)
    • getContactInfo

      public ContactInfo getContactInfo()
    • setContactInfo

      public CustomerParams setContactInfo​(ContactInfo contact_info)
    • unsetContactInfo

      public void unsetContactInfo()
    • isSetContactInfo

      public boolean isSetContactInfo()
      Returns true if field contact_info is set (has been assigned a value) and false otherwise
    • setContactInfoIsSet

      public void setContactInfoIsSet​(boolean value)
    • getMetadata

      public Value getMetadata()
    • setMetadata

      public CustomerParams setMetadata​(Value metadata)
    • unsetMetadata

      public void unsetMetadata()
    • isSetMetadata

      public boolean isSetMetadata()
      Returns true if field metadata is set (has been assigned a value) and false otherwise
    • setMetadataIsSet

      public void setMetadataIsSet​(boolean value)
    • setFieldValue

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

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

      public boolean isSet​(CustomerParams._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<CustomerParams,​CustomerParams._Fields>
    • equals

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

      public boolean equals​(CustomerParams that)
    • hashCode

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

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

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

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

      public Map<CustomerParams._Fields,​org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()
      Specified by:
      getFieldMetaData in interface org.apache.thrift.TBase<CustomerParams,​CustomerParams._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