Package dev.vality.damsel.domain
Class BankCardPaymentMethod
java.lang.Object
dev.vality.damsel.domain.BankCardPaymentMethod
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<BankCardPaymentMethod>,org.apache.thrift.TBase<BankCardPaymentMethod,BankCardPaymentMethod._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-10-25")
public class BankCardPaymentMethod
extends Object
implements org.apache.thrift.TBase<BankCardPaymentMethod,BankCardPaymentMethod._Fields>, Serializable, Cloneable, Comparable<BankCardPaymentMethod>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBankCardPaymentMethod._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description booleanis_cvv_emptystatic Map<BankCardPaymentMethod._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapPaymentSystemRefpayment_systemBankCardTokenServiceRefpayment_tokenTokenizationMethodtokenization_method -
Constructor Summary
Constructors Constructor Description BankCardPaymentMethod()BankCardPaymentMethod(BankCardPaymentMethod other)Performs a deep copy on other. -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(BankCardPaymentMethod other)BankCardPaymentMethoddeepCopy()booleanequals(BankCardPaymentMethod that)booleanequals(Object that)BankCardPaymentMethod._FieldsfieldForId(int fieldId)Map<BankCardPaymentMethod._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()BankCardPaymentMethod._Fields[]getFields()ObjectgetFieldValue(BankCardPaymentMethod._Fields field)PaymentSystemRefgetPaymentSystem()BankCardTokenServiceRefgetPaymentToken()TokenizationMethodgetTokenizationMethod()inthashCode()booleanisIsCvvEmpty()booleanisSet(BankCardPaymentMethod._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetIsCvvEmpty()Returns true if field is_cvv_empty is set (has been assigned a value) and false otherwisebooleanisSetPaymentSystem()Returns true if field payment_system is set (has been assigned a value) and false otherwisebooleanisSetPaymentToken()Returns true if field payment_token is set (has been assigned a value) and false otherwisebooleanisSetTokenizationMethod()Returns true if field tokenization_method is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(BankCardPaymentMethod._Fields field, Object value)BankCardPaymentMethodsetIsCvvEmpty(boolean is_cvv_empty)voidsetIsCvvEmptyIsSet(boolean value)BankCardPaymentMethodsetPaymentSystem(PaymentSystemRef payment_system)voidsetPaymentSystemIsSet(boolean value)BankCardPaymentMethodsetPaymentToken(BankCardTokenServiceRef payment_token)voidsetPaymentTokenIsSet(boolean value)BankCardPaymentMethodsetTokenizationMethod(TokenizationMethod tokenization_method)voidsetTokenizationMethodIsSet(boolean value)StringtoString()voidunsetIsCvvEmpty()voidunsetPaymentSystem()voidunsetPaymentToken()voidunsetTokenizationMethod()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
payment_system
-
is_cvv_empty
public boolean is_cvv_empty -
payment_token
-
tokenization_method
- See Also:
TokenizationMethod
-
metaDataMap
public static final Map<BankCardPaymentMethod._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
BankCardPaymentMethod
public BankCardPaymentMethod() -
BankCardPaymentMethod
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<BankCardPaymentMethod,BankCardPaymentMethod._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<BankCardPaymentMethod,BankCardPaymentMethod._Fields>
-
getPaymentSystem
-
setPaymentSystem
-
unsetPaymentSystem
public void unsetPaymentSystem() -
isSetPaymentSystem
public boolean isSetPaymentSystem()Returns true if field payment_system is set (has been assigned a value) and false otherwise -
setPaymentSystemIsSet
public void setPaymentSystemIsSet(boolean value) -
isIsCvvEmpty
public boolean isIsCvvEmpty() -
setIsCvvEmpty
-
unsetIsCvvEmpty
public void unsetIsCvvEmpty() -
isSetIsCvvEmpty
public boolean isSetIsCvvEmpty()Returns true if field is_cvv_empty is set (has been assigned a value) and false otherwise -
setIsCvvEmptyIsSet
public void setIsCvvEmptyIsSet(boolean value) -
getPaymentToken
-
setPaymentToken
-
unsetPaymentToken
public void unsetPaymentToken() -
isSetPaymentToken
public boolean isSetPaymentToken()Returns true if field payment_token is set (has been assigned a value) and false otherwise -
setPaymentTokenIsSet
public void setPaymentTokenIsSet(boolean value) -
getTokenizationMethod
- See Also:
TokenizationMethod
-
setTokenizationMethod
- See Also:
TokenizationMethod
-
unsetTokenizationMethod
public void unsetTokenizationMethod() -
isSetTokenizationMethod
public boolean isSetTokenizationMethod()Returns true if field tokenization_method is set (has been assigned a value) and false otherwise -
setTokenizationMethodIsSet
public void setTokenizationMethodIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<BankCardPaymentMethod,BankCardPaymentMethod._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<BankCardPaymentMethod,BankCardPaymentMethod._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<BankCardPaymentMethod,BankCardPaymentMethod._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<BankCardPaymentMethod>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<BankCardPaymentMethod,BankCardPaymentMethod._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<BankCardPaymentMethod,BankCardPaymentMethod._Fields>
-
getFieldMetaData
public Map<BankCardPaymentMethod._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<BankCardPaymentMethod,BankCardPaymentMethod._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
-