Class EventSource

java.lang.Object
org.apache.thrift.TUnion<EventSource,​EventSource._Fields>
dev.vality.damsel.payment_processing.EventSource
All Implemented Interfaces:
Serializable, Comparable<EventSource>, org.apache.thrift.TBase<EventSource,​EventSource._Fields>, org.apache.thrift.TSerializable

@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
           date="2022-10-25")
public class EventSource
extends org.apache.thrift.TUnion<EventSource,​EventSource._Fields>
See Also:
Serialized Form
  • Field Details

    • metaDataMap

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

  • Method Details

    • deepCopy

      public EventSource deepCopy()
    • invoice_id

      public static EventSource invoice_id​(String value)
    • party_id

      public static EventSource party_id​(String value)
    • invoice_template_id

      public static EventSource invoice_template_id​(String value)
    • customer_id

      public static EventSource customer_id​(String value)
    • checkType

      protected void checkType​(EventSource._Fields setField, Object value) throws ClassCastException
      Specified by:
      checkType in class org.apache.thrift.TUnion<EventSource,​EventSource._Fields>
      Throws:
      ClassCastException
    • standardSchemeReadValue

      protected Object standardSchemeReadValue​(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TField field) throws org.apache.thrift.TException
      Specified by:
      standardSchemeReadValue in class org.apache.thrift.TUnion<EventSource,​EventSource._Fields>
      Throws:
      org.apache.thrift.TException
    • standardSchemeWriteValue

      protected void standardSchemeWriteValue​(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
      Specified by:
      standardSchemeWriteValue in class org.apache.thrift.TUnion<EventSource,​EventSource._Fields>
      Throws:
      org.apache.thrift.TException
    • tupleSchemeReadValue

      protected Object tupleSchemeReadValue​(org.apache.thrift.protocol.TProtocol iprot, short fieldID) throws org.apache.thrift.TException
      Specified by:
      tupleSchemeReadValue in class org.apache.thrift.TUnion<EventSource,​EventSource._Fields>
      Throws:
      org.apache.thrift.TException
    • tupleSchemeWriteValue

      protected void tupleSchemeWriteValue​(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
      Specified by:
      tupleSchemeWriteValue in class org.apache.thrift.TUnion<EventSource,​EventSource._Fields>
      Throws:
      org.apache.thrift.TException
    • getFieldDesc

      protected org.apache.thrift.protocol.TField getFieldDesc​(EventSource._Fields setField)
      Specified by:
      getFieldDesc in class org.apache.thrift.TUnion<EventSource,​EventSource._Fields>
    • getStructDesc

      protected org.apache.thrift.protocol.TStruct getStructDesc()
      Specified by:
      getStructDesc in class org.apache.thrift.TUnion<EventSource,​EventSource._Fields>
    • enumForId

      protected EventSource._Fields enumForId​(short id)
      Specified by:
      enumForId in class org.apache.thrift.TUnion<EventSource,​EventSource._Fields>
    • getFields

      public EventSource._Fields[] getFields()
    • getFieldMetaData

      public Map<EventSource._Fields,​org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()
    • fieldForId

      public EventSource._Fields fieldForId​(int fieldId)
    • getInvoiceId

      public String getInvoiceId()
      Идентификатор инвойса, который породил событие.
    • setInvoiceId

      public void setInvoiceId​(String value)
      Идентификатор инвойса, который породил событие.
    • getPartyId

      public String getPartyId()
      Идентификатор участника, который породил событие.
    • setPartyId

      public void setPartyId​(String value)
      Идентификатор участника, который породил событие.
    • getInvoiceTemplateId

      public String getInvoiceTemplateId()
      Идентификатор шаблона инвойса, который породил событие.
    • setInvoiceTemplateId

      public void setInvoiceTemplateId​(String value)
      Идентификатор шаблона инвойса, который породил событие.
    • getCustomerId

      public String getCustomerId()
      Идентификатор плательщика, который породил событие.
    • setCustomerId

      public void setCustomerId​(String value)
      Идентификатор плательщика, который породил событие.
    • isSetInvoiceId

      public boolean isSetInvoiceId()
    • isSetPartyId

      public boolean isSetPartyId()
    • isSetInvoiceTemplateId

      public boolean isSetInvoiceTemplateId()
    • isSetCustomerId

      public boolean isSetCustomerId()
    • equals

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

      public boolean equals​(EventSource other)
    • compareTo

      public int compareTo​(EventSource other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object