Class EventPayload

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

@Generated(value="Autogenerated by Thrift Compiler (0.19.0)", date="2024-08-02") public class EventPayload extends org.apache.thrift.TUnion<EventPayload,EventPayload._Fields>
Один из возможных вариантов содержания события.
See Also:
  • Field Details

    • metaDataMap

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

  • Method Details

    • deepCopy

      public EventPayload deepCopy()
    • invoice_changes

      public static EventPayload invoice_changes(List<InvoiceChange> value)
    • party_changes

      public static EventPayload party_changes(List<PartyChange> value)
    • invoice_template_changes

      public static EventPayload invoice_template_changes(List<InvoiceTemplateChange> value)
    • customer_changes

      public static EventPayload customer_changes(List<CustomerChange> value)
    • checkType

      protected void checkType(EventPayload._Fields setField, Object value) throws ClassCastException
      Specified by:
      checkType in class org.apache.thrift.TUnion<EventPayload,EventPayload._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<EventPayload,EventPayload._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<EventPayload,EventPayload._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<EventPayload,EventPayload._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<EventPayload,EventPayload._Fields>
      Throws:
      org.apache.thrift.TException
    • getFieldDesc

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

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

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

      public EventPayload._Fields[] getFields()
    • getFieldMetaData

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

      public EventPayload._Fields fieldForId(int fieldId)
    • getInvoiceChanges

      public List<InvoiceChange> getInvoiceChanges()
      Набор изменений, порождённых инвойсом.
    • setInvoiceChanges

      public void setInvoiceChanges(List<InvoiceChange> value)
      Набор изменений, порождённых инвойсом.
    • getPartyChanges

      public List<PartyChange> getPartyChanges()
      Набор изменений, порождённых участником.
    • setPartyChanges

      public void setPartyChanges(List<PartyChange> value)
      Набор изменений, порождённых участником.
    • getInvoiceTemplateChanges

      public List<InvoiceTemplateChange> getInvoiceTemplateChanges()
      Набор изменений, порождённых шаблоном инвойса.
    • setInvoiceTemplateChanges

      public void setInvoiceTemplateChanges(List<InvoiceTemplateChange> value)
      Набор изменений, порождённых шаблоном инвойса.
    • getCustomerChanges

      public List<CustomerChange> getCustomerChanges()
      Некоторое событие, порождённое плательщиком.
    • setCustomerChanges

      public void setCustomerChanges(List<CustomerChange> value)
      Некоторое событие, порождённое плательщиком.
    • isSetInvoiceChanges

      public boolean isSetInvoiceChanges()
    • isSetPartyChanges

      public boolean isSetPartyChanges()
    • isSetInvoiceTemplateChanges

      public boolean isSetInvoiceTemplateChanges()
    • isSetCustomerChanges

      public boolean isSetCustomerChanges()
    • equals

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

      public boolean equals(EventPayload other)
    • compareTo

      public int compareTo(EventPayload other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object