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.19.0)",
date="2024-08-02")
public class InvoicePayment
extends Object
implements org.apache.thrift.TBase<InvoicePayment,InvoicePayment._Fields>, Serializable, Cloneable, Comparable<InvoicePayment>
- 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 TypeFieldDescriptionbooleanstatic final Map<InvoicePayment._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionInvoicePayment(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 TypeMethodDescriptionvoidclear()intcompareTo(InvoicePayment other) deepCopy()booleanequals(InvoicePayment that) booleanfieldForId(int fieldId) getCost()Map<InvoicePayment._Fields,org.apache.thrift.meta_data.FieldMetaData> getId()getTrx()inthashCode()booleanbooleanisSet(InvoicePayment._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field contact_info is set (has been assigned a value) and false otherwisebooleanReturns true if field cost is set (has been assigned a value) and false otherwisebooleanReturns 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 otherwisebooleanReturns true if field make_recurrent is set (has been assigned a value) and false otherwisebooleanReturns true if field payer_session_info is set (has been assigned a value) and false otherwisebooleanReturns true if field payment_resource is set (has been assigned a value) and false otherwisebooleanReturns true if field payment_service is set (has been assigned a value) and false otherwisebooleanReturns 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) setContactInfo(ContactInfo contact_info) voidsetContactInfoIsSet(boolean value) voidsetCostIsSet(boolean value) setCreatedAt(String created_at) voidsetCreatedAtIsSet(boolean value) voidsetFieldValue(InvoicePayment._Fields field, Object value) voidsetIdIsSet(boolean value) setMakeRecurrent(boolean make_recurrent) voidsetMakeRecurrentIsSet(boolean value) setPayerSessionInfo(PayerSessionInfo payer_session_info) voidsetPayerSessionInfoIsSet(boolean value) setPaymentResource(PaymentResource payment_resource) voidsetPaymentResourceIsSet(boolean value) setPaymentService(PaymentService payment_service) voidsetPaymentServiceIsSet(boolean value) setProcessingDeadline(String processing_deadline) voidsetProcessingDeadlineIsSet(boolean value) setTrx(TransactionInfo trx) voidsetTrxIsSet(boolean value) toString()voidvoidvoidvoidunsetId()voidvoidvoidvoidvoidvoidunsetTrx()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
-