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.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 TypeFieldDescriptionlongbooleanstatic final Map<InvoicePayment._Fields,org.apache.thrift.meta_data.FieldMetaData> long -
Constructor Summary
ConstructorsConstructorDescriptionInvoicePayment(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 TypeMethodDescriptionvoidclear()intcompareTo(InvoicePayment other) deepCopy()booleanequals(InvoicePayment that) booleanfieldForId(int fieldId) getCost()longMap<InvoicePayment._Fields,org.apache.thrift.meta_data.FieldMetaData> getFlow()getId()longgetPayer()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 changed_cost is set (has been assigned a value) and false otherwisebooleanReturns true if field context 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 otherwisebooleanReturns true if field domain_revision is set (has been assigned a value) and false otherwisebooleanReturns true if field external_id is set (has been assigned a value) and false otherwisebooleanReturns 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 otherwisebooleanReturns true if field make_recurrent is set (has been assigned a value) and false otherwisebooleanReturns true if field owner_id is set (has been assigned a value) and false otherwisebooleanReturns true if field party_revision is set (has been assigned a value) and false otherwisebooleanReturns true if field payer 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 processing_deadline is set (has been assigned a value) and false otherwisebooleanReturns true if field registration_origin is set (has been assigned a value) and false otherwisebooleanReturns true if field shop_id is set (has been assigned a value) and false otherwisebooleanReturns true if field status is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) setChangedCost(Cash changed_cost) voidsetChangedCostIsSet(boolean value) setContext(Content context) voidsetContextIsSet(boolean value) voidsetCostIsSet(boolean value) setCreatedAt(String created_at) voidsetCreatedAtIsSet(boolean value) setDomainRevision(long domain_revision) voidsetDomainRevisionIsSet(boolean value) setExternalId(String external_id) voidsetExternalIdIsSet(boolean value) voidsetFieldValue(InvoicePayment._Fields field, Object value) setFlow(InvoicePaymentFlow flow) voidsetFlowIsSet(boolean value) voidsetIdIsSet(boolean value) setMakeRecurrent(boolean make_recurrent) voidsetMakeRecurrentIsSet(boolean value) setOwnerId(String owner_id) voidsetOwnerIdIsSet(boolean value) setPartyRevision(long party_revision) voidsetPartyRevisionIsSet(boolean value) voidsetPayerIsSet(boolean value) setPayerSessionInfo(PayerSessionInfo payer_session_info) voidsetPayerSessionInfoIsSet(boolean value) setProcessingDeadline(String processing_deadline) voidsetProcessingDeadlineIsSet(boolean value) setRegistrationOrigin(InvoicePaymentRegistrationOrigin registration_origin) voidsetRegistrationOriginIsSet(boolean value) voidsetShopIdIsSet(boolean value) setStatus(InvoicePaymentStatus status) voidsetStatusIsSet(boolean value) toString()voidvoidvoidvoidvoidvoidvoidvoidunsetId()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
id
-
created_at
-
status
-
context
-
cost
-
changed_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
-
registration_origin
-
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) -
getChangedCost
-
setChangedCost
-
unsetChangedCost
public void unsetChangedCost() -
isSetChangedCost
public boolean isSetChangedCost()Returns true if field changed_cost is set (has been assigned a value) and false otherwise -
setChangedCostIsSet
public void setChangedCostIsSet(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) -
getRegistrationOrigin
-
setRegistrationOrigin
-
unsetRegistrationOrigin
public void unsetRegistrationOrigin() -
isSetRegistrationOrigin
public boolean isSetRegistrationOrigin()Returns true if field registration_origin is set (has been assigned a value) and false otherwise -
setRegistrationOriginIsSet
public void setRegistrationOriginIsSet(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
-