Class WalletEffect

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

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

    • metaDataMap

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

  • Method Details

    • deepCopy

      public WalletEffect deepCopy()
    • created

      public static WalletEffect created​(Wallet value)
    • account_created

      public static WalletEffect account_created​(WalletAccount value)
    • checkType

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

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

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

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

      public WalletEffect._Fields[] getFields()
    • getFieldMetaData

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

      public WalletEffect._Fields fieldForId​(int fieldId)
    • getCreated

      public Wallet getCreated()
    • setCreated

      public void setCreated​(Wallet value)
    • getAccountCreated

      public WalletAccount getAccountCreated()
    • setAccountCreated

      public void setAccountCreated​(WalletAccount value)
    • isSetCreated

      public boolean isSetCreated()
    • isSetAccountCreated

      public boolean isSetAccountCreated()
    • equals

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

      public boolean equals​(WalletEffect other)
    • compareTo

      public int compareTo​(WalletEffect other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object