Class TermsViolated

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

@Generated(value="Autogenerated by Thrift Compiler (0.19.0)", date="2024-08-02") public class TermsViolated extends org.apache.thrift.TUnion<TermsViolated,TermsViolated._Fields>
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • deepCopy

      public TermsViolated deepCopy()
    • insufficient_merchant_funds

      public static TermsViolated insufficient_merchant_funds(GeneralFailure value)
    • checkType

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

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

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

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

      public TermsViolated._Fields[] getFields()
    • getFieldMetaData

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

      public TermsViolated._Fields fieldForId(int fieldId)
    • getInsufficientMerchantFunds

      public GeneralFailure getInsufficientMerchantFunds()
    • setInsufficientMerchantFunds

      public void setInsufficientMerchantFunds(GeneralFailure value)
    • isSetInsufficientMerchantFunds

      public boolean isSetInsufficientMerchantFunds()
    • equals

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

      public boolean equals(TermsViolated other)
    • compareTo

      public int compareTo(TermsViolated other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object