Package dev.vality.damsel.domain
Class DisposablePaymentResource
java.lang.Object
dev.vality.damsel.domain.DisposablePaymentResource
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<DisposablePaymentResource>,org.apache.thrift.TBase<DisposablePaymentResource,DisposablePaymentResource._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-10-25")
public class DisposablePaymentResource
extends Object
implements org.apache.thrift.TBase<DisposablePaymentResource,DisposablePaymentResource._Fields>, Serializable, Cloneable, Comparable<DisposablePaymentResource>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDisposablePaymentResource._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description ClientInfoclient_infostatic Map<DisposablePaymentResource._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringpayment_session_idPaymentToolpayment_tool -
Constructor Summary
Constructors Constructor Description DisposablePaymentResource()DisposablePaymentResource(DisposablePaymentResource other)Performs a deep copy on other.DisposablePaymentResource(PaymentTool payment_tool) -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(DisposablePaymentResource other)DisposablePaymentResourcedeepCopy()booleanequals(DisposablePaymentResource that)booleanequals(Object that)DisposablePaymentResource._FieldsfieldForId(int fieldId)ClientInfogetClientInfo()Map<DisposablePaymentResource._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()DisposablePaymentResource._Fields[]getFields()ObjectgetFieldValue(DisposablePaymentResource._Fields field)StringgetPaymentSessionId()PaymentToolgetPaymentTool()inthashCode()booleanisSet(DisposablePaymentResource._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetClientInfo()Returns true if field client_info is set (has been assigned a value) and false otherwisebooleanisSetPaymentSessionId()Returns true if field payment_session_id is set (has been assigned a value) and false otherwisebooleanisSetPaymentTool()Returns true if field payment_tool is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)DisposablePaymentResourcesetClientInfo(ClientInfo client_info)voidsetClientInfoIsSet(boolean value)voidsetFieldValue(DisposablePaymentResource._Fields field, Object value)DisposablePaymentResourcesetPaymentSessionId(String payment_session_id)voidsetPaymentSessionIdIsSet(boolean value)DisposablePaymentResourcesetPaymentTool(PaymentTool payment_tool)voidsetPaymentToolIsSet(boolean value)StringtoString()voidunsetClientInfo()voidunsetPaymentSessionId()voidunsetPaymentTool()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
payment_tool
-
payment_session_id
-
client_info
-
metaDataMap
public static final Map<DisposablePaymentResource._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
DisposablePaymentResource
public DisposablePaymentResource() -
DisposablePaymentResource
-
DisposablePaymentResource
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<DisposablePaymentResource,DisposablePaymentResource._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<DisposablePaymentResource,DisposablePaymentResource._Fields>
-
getPaymentTool
-
setPaymentTool
-
unsetPaymentTool
public void unsetPaymentTool() -
isSetPaymentTool
public boolean isSetPaymentTool()Returns true if field payment_tool is set (has been assigned a value) and false otherwise -
setPaymentToolIsSet
public void setPaymentToolIsSet(boolean value) -
getPaymentSessionId
-
setPaymentSessionId
-
unsetPaymentSessionId
public void unsetPaymentSessionId() -
isSetPaymentSessionId
public boolean isSetPaymentSessionId()Returns true if field payment_session_id is set (has been assigned a value) and false otherwise -
setPaymentSessionIdIsSet
public void setPaymentSessionIdIsSet(boolean value) -
getClientInfo
-
setClientInfo
-
unsetClientInfo
public void unsetClientInfo() -
isSetClientInfo
public boolean isSetClientInfo()Returns true if field client_info is set (has been assigned a value) and false otherwise -
setClientInfoIsSet
public void setClientInfoIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<DisposablePaymentResource,DisposablePaymentResource._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<DisposablePaymentResource,DisposablePaymentResource._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<DisposablePaymentResource,DisposablePaymentResource._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<DisposablePaymentResource>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<DisposablePaymentResource,DisposablePaymentResource._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<DisposablePaymentResource,DisposablePaymentResource._Fields>
-
getFieldMetaData
public Map<DisposablePaymentResource._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<DisposablePaymentResource,DisposablePaymentResource._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
-