Package dev.vality.damsel.proxy_provider
Class InvoicePayment
java.lang.Object
dev.vality.damsel.proxy_provider.InvoicePayment
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<InvoicePayment>,org.apache.thrift.TBase<InvoicePayment,InvoicePayment._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-10-25")
public class InvoicePayment
extends Object
implements org.apache.thrift.TBase<InvoicePayment,InvoicePayment._Fields>, Serializable, Cloneable, Comparable<InvoicePayment>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInvoicePayment._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_infoCashcostStringcreated_atStringidbooleanmake_recurrentstatic Map<InvoicePayment._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapPayerSessionInfopayer_session_infoPaymentResourcepayment_resourcePaymentServicepayment_serviceStringprocessing_deadlineTransactionInfotrx -
Constructor Summary
Constructors Constructor Description InvoicePayment()InvoicePayment(InvoicePayment other)Performs a deep copy on other.InvoicePayment(String id, String created_at, PaymentResource payment_resource, Cash cost, ContactInfo contact_info) -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(InvoicePayment other)InvoicePaymentdeepCopy()booleanequals(InvoicePayment that)booleanequals(Object that)InvoicePayment._FieldsfieldForId(int fieldId)ContactInfogetContactInfo()CashgetCost()StringgetCreatedAt()Map<InvoicePayment._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()InvoicePayment._Fields[]getFields()ObjectgetFieldValue(InvoicePayment._Fields field)StringgetId()PayerSessionInfogetPayerSessionInfo()PaymentResourcegetPaymentResource()PaymentServicegetPaymentService()StringgetProcessingDeadline()TransactionInfogetTrx()inthashCode()booleanisMakeRecurrent()booleanisSet(InvoicePayment._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 otherwisebooleanisSetCost()Returns true if field cost is set (has been assigned a value) and false otherwisebooleanisSetCreatedAt()Returns true if field created_at is set (has been assigned a value) and false otherwisebooleanisSetId()Returns true if field id is set (has been assigned a value) and false otherwisebooleanisSetMakeRecurrent()Returns true if field make_recurrent is set (has been assigned a value) and false otherwisebooleanisSetPayerSessionInfo()Returns true if field payer_session_info is set (has been assigned a value) and false otherwisebooleanisSetPaymentResource()Returns true if field payment_resource is set (has been assigned a value) and false otherwisebooleanisSetPaymentService()Returns true if field payment_service is set (has been assigned a value) and false otherwisebooleanisSetProcessingDeadline()Returns true if field processing_deadline is set (has been assigned a value) and false otherwisebooleanisSetTrx()Returns true if field trx is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)InvoicePaymentsetContactInfo(ContactInfo contact_info)voidsetContactInfoIsSet(boolean value)InvoicePaymentsetCost(Cash cost)voidsetCostIsSet(boolean value)InvoicePaymentsetCreatedAt(String created_at)voidsetCreatedAtIsSet(boolean value)voidsetFieldValue(InvoicePayment._Fields field, Object value)InvoicePaymentsetId(String id)voidsetIdIsSet(boolean value)InvoicePaymentsetMakeRecurrent(boolean make_recurrent)voidsetMakeRecurrentIsSet(boolean value)InvoicePaymentsetPayerSessionInfo(PayerSessionInfo payer_session_info)voidsetPayerSessionInfoIsSet(boolean value)InvoicePaymentsetPaymentResource(PaymentResource payment_resource)voidsetPaymentResourceIsSet(boolean value)InvoicePaymentsetPaymentService(PaymentService payment_service)voidsetPaymentServiceIsSet(boolean value)InvoicePaymentsetProcessingDeadline(String processing_deadline)voidsetProcessingDeadlineIsSet(boolean value)InvoicePaymentsetTrx(TransactionInfo trx)voidsetTrxIsSet(boolean value)StringtoString()voidunsetContactInfo()voidunsetCost()voidunsetCreatedAt()voidunsetId()voidunsetMakeRecurrent()voidunsetPayerSessionInfo()voidunsetPaymentResource()voidunsetPaymentService()voidunsetProcessingDeadline()voidunsetTrx()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
id
-
created_at
-
trx
-
payment_resource
-
payment_service
-
payer_session_info
-
cost
-
contact_info
-
make_recurrent
public boolean make_recurrent -
processing_deadline
-
metaDataMap
public static final Map<InvoicePayment._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
InvoicePayment
public InvoicePayment() -
InvoicePayment
public InvoicePayment(String id, String created_at, PaymentResource payment_resource, Cash cost, ContactInfo contact_info) -
InvoicePayment
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<InvoicePayment,InvoicePayment._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<InvoicePayment,InvoicePayment._Fields>
-
getId
-
setId
-
unsetId
public void unsetId() -
isSetId
public boolean isSetId()Returns true if field id is set (has been assigned a value) and false otherwise -
setIdIsSet
public void setIdIsSet(boolean value) -
getCreatedAt
-
setCreatedAt
-
unsetCreatedAt
public void unsetCreatedAt() -
isSetCreatedAt
public boolean isSetCreatedAt()Returns true if field created_at is set (has been assigned a value) and false otherwise -
setCreatedAtIsSet
public void setCreatedAtIsSet(boolean value) -
getTrx
-
setTrx
-
unsetTrx
public void unsetTrx() -
isSetTrx
public boolean isSetTrx()Returns true if field trx is set (has been assigned a value) and false otherwise -
setTrxIsSet
public void setTrxIsSet(boolean value) -
getPaymentResource
-
setPaymentResource
-
unsetPaymentResource
public void unsetPaymentResource() -
isSetPaymentResource
public boolean isSetPaymentResource()Returns true if field payment_resource is set (has been assigned a value) and false otherwise -
setPaymentResourceIsSet
public void setPaymentResourceIsSet(boolean value) -
getPaymentService
-
setPaymentService
-
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) -
getPayerSessionInfo
-
setPayerSessionInfo
-
unsetPayerSessionInfo
public void unsetPayerSessionInfo() -
isSetPayerSessionInfo
public boolean isSetPayerSessionInfo()Returns true if field payer_session_info is set (has been assigned a value) and false otherwise -
setPayerSessionInfoIsSet
public void setPayerSessionInfoIsSet(boolean value) -
getCost
-
setCost
-
unsetCost
public void unsetCost() -
isSetCost
public boolean isSetCost()Returns true if field cost is set (has been assigned a value) and false otherwise -
setCostIsSet
public void setCostIsSet(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) -
isMakeRecurrent
public boolean isMakeRecurrent() -
setMakeRecurrent
-
unsetMakeRecurrent
public void unsetMakeRecurrent() -
isSetMakeRecurrent
public boolean isSetMakeRecurrent()Returns true if field make_recurrent is set (has been assigned a value) and false otherwise -
setMakeRecurrentIsSet
public void setMakeRecurrentIsSet(boolean value) -
getProcessingDeadline
-
setProcessingDeadline
-
unsetProcessingDeadline
public void unsetProcessingDeadline() -
isSetProcessingDeadline
public boolean isSetProcessingDeadline()Returns true if field processing_deadline is set (has been assigned a value) and false otherwise -
setProcessingDeadlineIsSet
public void setProcessingDeadlineIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<InvoicePayment,InvoicePayment._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<InvoicePayment,InvoicePayment._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<InvoicePayment,InvoicePayment._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<InvoicePayment>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<InvoicePayment,InvoicePayment._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<InvoicePayment,InvoicePayment._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<InvoicePayment,InvoicePayment._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
-