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
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCustomerParams._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description ContactInfocontact_infoStringcustomer_idValuemetadatastatic Map<CustomerParams._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringparty_idStringshop_id -
Constructor Summary
Constructors Constructor Description CustomerParams()CustomerParams(CustomerParams other)Performs a deep copy on other.CustomerParams(String customer_id, String party_id, String shop_id, ContactInfo contact_info, Value metadata) -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(CustomerParams other)CustomerParamsdeepCopy()booleanequals(CustomerParams that)booleanequals(Object that)CustomerParams._FieldsfieldForId(int fieldId)ContactInfogetContactInfo()StringgetCustomerId()Map<CustomerParams._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()CustomerParams._Fields[]getFields()ObjectgetFieldValue(CustomerParams._Fields field)ValuegetMetadata()StringgetPartyId()StringgetShopId()inthashCode()booleanisSet(CustomerParams._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetContactInfo()Returns true if field contact_info is set (has been assigned a value) and false otherwisebooleanisSetCustomerId()Returns true if field customer_id is set (has been assigned a value) and false otherwisebooleanisSetMetadata()Returns true if field metadata is set (has been assigned a value) and false otherwisebooleanisSetPartyId()Returns true if field party_id is set (has been assigned a value) and false otherwisebooleanisSetShopId()Returns true if field shop_id is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)CustomerParamssetContactInfo(ContactInfo contact_info)voidsetContactInfoIsSet(boolean value)CustomerParamssetCustomerId(String customer_id)voidsetCustomerIdIsSet(boolean value)voidsetFieldValue(CustomerParams._Fields field, Object value)CustomerParamssetMetadata(Value metadata)voidsetMetadataIsSet(boolean value)CustomerParamssetPartyId(String party_id)voidsetPartyIdIsSet(boolean value)CustomerParamssetShopId(String shop_id)voidsetShopIdIsSet(boolean value)StringtoString()voidunsetContactInfo()voidunsetCustomerId()voidunsetMetadata()voidunsetPartyId()voidunsetShopId()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
customer_id
-
party_id
-
shop_id
-
contact_info
-
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
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<CustomerParams,CustomerParams._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<CustomerParams,CustomerParams._Fields>
-
getCustomerId
-
setCustomerId
-
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
-
setPartyId
-
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
-
setShopId
-
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
-
setContactInfo
-
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
-
setMetadata
-
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
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<CustomerParams,CustomerParams._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<CustomerParams,CustomerParams._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<CustomerParams,CustomerParams._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<CustomerParams>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<CustomerParams,CustomerParams._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<CustomerParams,CustomerParams._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<CustomerParams,CustomerParams._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
-