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
  • Field Details

    • id

      public String id
    • created_at

      public String created_at
    • status

      public InvoicePaymentStatus status
    • context

      public Content context
    • cost

      public Cash cost
    • domain_revision

      public long domain_revision
    • flow

      public InvoicePaymentFlow flow
    • payer

      public Payer payer
    • payer_session_info

      public PayerSessionInfo payer_session_info
    • party_revision

      public long party_revision
    • owner_id

      public String owner_id
    • shop_id

      public String shop_id
    • make_recurrent

      public boolean make_recurrent
    • external_id

      public String external_id
    • processing_deadline

      public String processing_deadline
    • metaDataMap

      public static final Map<InvoicePayment._Fields,​org.apache.thrift.meta_data.FieldMetaData> metaDataMap
  • Constructor Details

  • Method Details

    • deepCopy

      public InvoicePayment deepCopy()
      Specified by:
      deepCopy in interface org.apache.thrift.TBase<InvoicePayment,​InvoicePayment._Fields>
    • clear

      public void clear()
      Specified by:
      clear in interface org.apache.thrift.TBase<InvoicePayment,​InvoicePayment._Fields>
    • getId

      public String getId()
    • setId

      public InvoicePayment setId​(String id)
    • 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

      public String getCreatedAt()
    • setCreatedAt

      public InvoicePayment setCreatedAt​(String created_at)
    • 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

      public InvoicePaymentStatus getStatus()
    • setStatus

      public InvoicePayment setStatus​(InvoicePaymentStatus status)
    • 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

      public Content getContext()
    • setContext

      public InvoicePayment setContext​(Content context)
    • 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

      public Cash getCost()
    • setCost

      public InvoicePayment setCost​(Cash cost)
    • 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

      public InvoicePayment setDomainRevision​(long domain_revision)
    • 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

      public InvoicePaymentFlow getFlow()
    • setFlow

      public InvoicePayment setFlow​(InvoicePaymentFlow flow)
    • 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

      public Payer getPayer()
    • setPayer

      public InvoicePayment setPayer​(Payer payer)
    • 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

      public PayerSessionInfo getPayerSessionInfo()
    • setPayerSessionInfo

      public InvoicePayment setPayerSessionInfo​(PayerSessionInfo payer_session_info)
    • 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

      public InvoicePayment setPartyRevision​(long party_revision)
    • 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

      public String getOwnerId()
    • setOwnerId

      public InvoicePayment setOwnerId​(String owner_id)
    • 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

      public String getShopId()
    • setShopId

      public InvoicePayment setShopId​(String shop_id)
    • 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

      public InvoicePayment setMakeRecurrent​(boolean make_recurrent)
    • 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

      public String getExternalId()
    • setExternalId

      public InvoicePayment setExternalId​(String external_id)
    • 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

      public String getProcessingDeadline()
    • setProcessingDeadline

      public InvoicePayment setProcessingDeadline​(String processing_deadline)
    • 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

      public void setFieldValue​(InvoicePayment._Fields field, Object value)
      Specified by:
      setFieldValue in interface org.apache.thrift.TBase<InvoicePayment,​InvoicePayment._Fields>
    • getFieldValue

      public Object getFieldValue​(InvoicePayment._Fields field)
      Specified by:
      getFieldValue in interface org.apache.thrift.TBase<InvoicePayment,​InvoicePayment._Fields>
    • isSet

      public boolean isSet​(InvoicePayment._Fields field)
      Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
      Specified by:
      isSet in interface org.apache.thrift.TBase<InvoicePayment,​InvoicePayment._Fields>
    • equals

      public boolean equals​(Object that)
      Overrides:
      equals in class Object
    • equals

      public boolean equals​(InvoicePayment that)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • compareTo

      public int compareTo​(InvoicePayment other)
      Specified by:
      compareTo in interface Comparable<InvoicePayment>
    • fieldForId

      public InvoicePayment._Fields fieldForId​(int fieldId)
      Specified by:
      fieldForId in interface org.apache.thrift.TBase<InvoicePayment,​InvoicePayment._Fields>
    • getFields

      public InvoicePayment._Fields[] getFields()
      Specified by:
      getFields in interface org.apache.thrift.TBase<InvoicePayment,​InvoicePayment._Fields>
    • getFieldMetaData

      public Map<InvoicePayment._Fields,​org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()
      Specified by:
      getFieldMetaData in interface org.apache.thrift.TBase<InvoicePayment,​InvoicePayment._Fields>
    • read

      public void read​(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
      Specified by:
      read in interface org.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:
      write in interface org.apache.thrift.TSerializable
      Throws:
      org.apache.thrift.TException
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validate

      public void validate() throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException