Package dev.vality.damsel.domain
Class InvoicePayment
java.lang.Object
dev.vality.damsel.domain.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 ContentcontextCashcostStringcreated_atlongdomain_revisionStringexternal_idInvoicePaymentFlowflowStringidbooleanmake_recurrentstatic Map<InvoicePayment._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringowner_idlongparty_revisionPayerpayerPayerSessionInfopayer_session_infoStringprocessing_deadlineStringshop_idInvoicePaymentStatusstatus -
Constructor Summary
Constructors Constructor Description InvoicePayment()InvoicePayment(InvoicePayment other)Performs a deep copy on other.InvoicePayment(String id, String created_at, InvoicePaymentStatus status, Cash cost, long domain_revision, InvoicePaymentFlow flow, Payer payer) -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(InvoicePayment other)InvoicePaymentdeepCopy()booleanequals(InvoicePayment that)booleanequals(Object that)InvoicePayment._FieldsfieldForId(int fieldId)ContentgetContext()CashgetCost()StringgetCreatedAt()longgetDomainRevision()StringgetExternalId()Map<InvoicePayment._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()InvoicePayment._Fields[]getFields()ObjectgetFieldValue(InvoicePayment._Fields field)InvoicePaymentFlowgetFlow()StringgetId()StringgetOwnerId()longgetPartyRevision()PayergetPayer()PayerSessionInfogetPayerSessionInfo()StringgetProcessingDeadline()StringgetShopId()InvoicePaymentStatusgetStatus()inthashCode()booleanisMakeRecurrent()booleanisSet(InvoicePayment._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetContext()Returns true if field context 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 otherwisebooleanisSetDomainRevision()Returns true if field domain_revision is set (has been assigned a value) and false otherwisebooleanisSetExternalId()Returns true if field external_id is set (has been assigned a value) and false otherwisebooleanisSetFlow()Returns true if field flow 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 otherwisebooleanisSetOwnerId()Returns true if field owner_id is set (has been assigned a value) and false otherwisebooleanisSetPartyRevision()Returns true if field party_revision is set (has been assigned a value) and false otherwisebooleanisSetPayer()Returns true if field payer 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 otherwisebooleanisSetProcessingDeadline()Returns true if field processing_deadline is set (has been assigned a value) and false otherwisebooleanisSetShopId()Returns true if field shop_id is set (has been assigned a value) and false otherwisebooleanisSetStatus()Returns true if field status is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)InvoicePaymentsetContext(Content context)voidsetContextIsSet(boolean value)InvoicePaymentsetCost(Cash cost)voidsetCostIsSet(boolean value)InvoicePaymentsetCreatedAt(String created_at)voidsetCreatedAtIsSet(boolean value)InvoicePaymentsetDomainRevision(long domain_revision)voidsetDomainRevisionIsSet(boolean value)InvoicePaymentsetExternalId(String external_id)voidsetExternalIdIsSet(boolean value)voidsetFieldValue(InvoicePayment._Fields field, Object value)InvoicePaymentsetFlow(InvoicePaymentFlow flow)voidsetFlowIsSet(boolean value)InvoicePaymentsetId(String id)voidsetIdIsSet(boolean value)InvoicePaymentsetMakeRecurrent(boolean make_recurrent)voidsetMakeRecurrentIsSet(boolean value)InvoicePaymentsetOwnerId(String owner_id)voidsetOwnerIdIsSet(boolean value)InvoicePaymentsetPartyRevision(long party_revision)voidsetPartyRevisionIsSet(boolean value)InvoicePaymentsetPayer(Payer payer)voidsetPayerIsSet(boolean value)InvoicePaymentsetPayerSessionInfo(PayerSessionInfo payer_session_info)voidsetPayerSessionInfoIsSet(boolean value)InvoicePaymentsetProcessingDeadline(String processing_deadline)voidsetProcessingDeadlineIsSet(boolean value)InvoicePaymentsetShopId(String shop_id)voidsetShopIdIsSet(boolean value)InvoicePaymentsetStatus(InvoicePaymentStatus status)voidsetStatusIsSet(boolean value)StringtoString()voidunsetContext()voidunsetCost()voidunsetCreatedAt()voidunsetDomainRevision()voidunsetExternalId()voidunsetFlow()voidunsetId()voidunsetMakeRecurrent()voidunsetOwnerId()voidunsetPartyRevision()voidunsetPayer()voidunsetPayerSessionInfo()voidunsetProcessingDeadline()voidunsetShopId()voidunsetStatus()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
id
-
created_at
-
status
-
context
-
cost
-
domain_revision
public long domain_revision -
flow
-
payer
-
payer_session_info
-
party_revision
public long party_revision -
owner_id
-
shop_id
-
make_recurrent
public boolean make_recurrent -
external_id
-
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, InvoicePaymentStatus status, Cash cost, long domain_revision, InvoicePaymentFlow flow, Payer payer) -
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) -
getStatus
-
setStatus
-
unsetStatus
public void unsetStatus() -
isSetStatus
public boolean isSetStatus()Returns true if field status is set (has been assigned a value) and false otherwise -
setStatusIsSet
public void setStatusIsSet(boolean value) -
getContext
-
setContext
-
unsetContext
public void unsetContext() -
isSetContext
public boolean isSetContext()Returns true if field context is set (has been assigned a value) and false otherwise -
setContextIsSet
public void setContextIsSet(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) -
getDomainRevision
public long getDomainRevision() -
setDomainRevision
-
unsetDomainRevision
public void unsetDomainRevision() -
isSetDomainRevision
public boolean isSetDomainRevision()Returns true if field domain_revision is set (has been assigned a value) and false otherwise -
setDomainRevisionIsSet
public void setDomainRevisionIsSet(boolean value) -
getFlow
-
setFlow
-
unsetFlow
public void unsetFlow() -
isSetFlow
public boolean isSetFlow()Returns true if field flow is set (has been assigned a value) and false otherwise -
setFlowIsSet
public void setFlowIsSet(boolean value) -
getPayer
-
setPayer
-
unsetPayer
public void unsetPayer() -
isSetPayer
public boolean isSetPayer()Returns true if field payer is set (has been assigned a value) and false otherwise -
setPayerIsSet
public void setPayerIsSet(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) -
getPartyRevision
public long getPartyRevision() -
setPartyRevision
-
unsetPartyRevision
public void unsetPartyRevision() -
isSetPartyRevision
public boolean isSetPartyRevision()Returns true if field party_revision is set (has been assigned a value) and false otherwise -
setPartyRevisionIsSet
public void setPartyRevisionIsSet(boolean value) -
getOwnerId
-
setOwnerId
-
unsetOwnerId
public void unsetOwnerId() -
isSetOwnerId
public boolean isSetOwnerId()Returns true if field owner_id is set (has been assigned a value) and false otherwise -
setOwnerIdIsSet
public void setOwnerIdIsSet(boolean value) -
getShopId
-
setShopId
-
unsetShopId
public void unsetShopId() -
isSetShopId
public boolean isSetShopId()Returns true if field shop_id is set (has been assigned a value) and false otherwise -
setShopIdIsSet
public void setShopIdIsSet(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) -
getExternalId
-
setExternalId
-
unsetExternalId
public void unsetExternalId() -
isSetExternalId
public boolean isSetExternalId()Returns true if field external_id is set (has been assigned a value) and false otherwise -
setExternalIdIsSet
public void setExternalIdIsSet(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
-