Package dev.vality.damsel.domain
Class GenericPaymentTool
java.lang.Object
dev.vality.damsel.domain.GenericPaymentTool
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<GenericPaymentTool>,org.apache.thrift.TBase<GenericPaymentTool,,GenericPaymentTool._Fields> org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.19.0)",
date="2024-08-02")
public class GenericPaymentTool
extends Object
implements org.apache.thrift.TBase<GenericPaymentTool,GenericPaymentTool._Fields>, Serializable, Cloneable, Comparable<GenericPaymentTool>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
FieldsModifier and TypeFieldDescriptionДанные платёжного инструмента, определённые в соответствии со схемой в `PaymentMethodDefinition`.static final Map<GenericPaymentTool._Fields,org.apache.thrift.meta_data.FieldMetaData> Сервис, обслуживающий данный платёжный инструмент. -
Constructor Summary
ConstructorsConstructorDescriptionPerforms a deep copy on other.GenericPaymentTool(PaymentServiceRef payment_service) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(GenericPaymentTool other) deepCopy()booleanequals(GenericPaymentTool that) booleanfieldForId(int fieldId) getData()Данные платёжного инструмента, определённые в соответствии со схемой в `PaymentMethodDefinition`.Map<GenericPaymentTool._Fields,org.apache.thrift.meta_data.FieldMetaData> Сервис, обслуживающий данный платёжный инструмент.inthashCode()booleanisSet(GenericPaymentTool._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field data is set (has been assigned a value) and false otherwisebooleanReturns true if field payment_service is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) Данные платёжного инструмента, определённые в соответствии со схемой в `PaymentMethodDefinition`.voidsetDataIsSet(boolean value) voidsetFieldValue(GenericPaymentTool._Fields field, Object value) setPaymentService(PaymentServiceRef payment_service) Сервис, обслуживающий данный платёжный инструмент.voidsetPaymentServiceIsSet(boolean value) toString()voidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
payment_service
Сервис, обслуживающий данный платёжный инструмент. Должен соответствовать значению, указанному в `GenericPaymentMethod`. -
data
Данные платёжного инструмента, определённые в соответствии со схемой в `PaymentMethodDefinition`. Например: ``` Content { type = 'application/schema-instance+json; schema=https://api.vality.dev/schemas/payment-methods/v2/BankAccountRUS' data = '{"accountNumber":"40817810500000000035", "bankBIC":"044525716"}' } ``` -
metaDataMap
public static final Map<GenericPaymentTool._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
GenericPaymentTool
public GenericPaymentTool() -
GenericPaymentTool
-
GenericPaymentTool
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<GenericPaymentTool,GenericPaymentTool._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<GenericPaymentTool,GenericPaymentTool._Fields>
-
getPaymentService
Сервис, обслуживающий данный платёжный инструмент. Должен соответствовать значению, указанному в `GenericPaymentMethod`. -
setPaymentService
Сервис, обслуживающий данный платёжный инструмент. Должен соответствовать значению, указанному в `GenericPaymentMethod`. -
unsetPaymentService
public void unsetPaymentService() -
isSetPaymentService
public boolean isSetPaymentService()Returns true if field payment_service is set (has been assigned a value) and false otherwise -
setPaymentServiceIsSet
public void setPaymentServiceIsSet(boolean value) -
getData
Данные платёжного инструмента, определённые в соответствии со схемой в `PaymentMethodDefinition`. Например: ``` Content { type = 'application/schema-instance+json; schema=https://api.vality.dev/schemas/payment-methods/v2/BankAccountRUS' data = '{"accountNumber":"40817810500000000035", "bankBIC":"044525716"}' } ``` -
setData
Данные платёжного инструмента, определённые в соответствии со схемой в `PaymentMethodDefinition`. Например: ``` Content { type = 'application/schema-instance+json; schema=https://api.vality.dev/schemas/payment-methods/v2/BankAccountRUS' data = '{"accountNumber":"40817810500000000035", "bankBIC":"044525716"}' } ``` -
unsetData
public void unsetData() -
isSetData
public boolean isSetData()Returns true if field data is set (has been assigned a value) and false otherwise -
setDataIsSet
public void setDataIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<GenericPaymentTool,GenericPaymentTool._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<GenericPaymentTool,GenericPaymentTool._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<GenericPaymentTool,GenericPaymentTool._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<GenericPaymentTool>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<GenericPaymentTool,GenericPaymentTool._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<GenericPaymentTool,GenericPaymentTool._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<GenericPaymentTool,GenericPaymentTool._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
-