Class Payer

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

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

    • metaDataMap

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

  • Method Details

    • deepCopy

      public Payer deepCopy()
    • payment_resource

      public static Payer payment_resource(PaymentResourcePayer value)
    • customer

      public static Payer customer(CustomerPayer value)
    • recurrent

      public static Payer recurrent(RecurrentPayer value)
    • checkType

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

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

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

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

      public Payer._Fields[] getFields()
    • getFieldMetaData

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

      public Payer._Fields fieldForId(int fieldId)
    • getPaymentResource

      public PaymentResourcePayer getPaymentResource()
    • setPaymentResource

      public void setPaymentResource(PaymentResourcePayer value)
    • getCustomer

      public CustomerPayer getCustomer()
    • setCustomer

      public void setCustomer(CustomerPayer value)
    • getRecurrent

      public RecurrentPayer getRecurrent()
    • setRecurrent

      public void setRecurrent(RecurrentPayer value)
    • isSetPaymentResource

      public boolean isSetPaymentResource()
    • isSetCustomer

      public boolean isSetCustomer()
    • isSetRecurrent

      public boolean isSetRecurrent()
    • equals

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

      public boolean equals(Payer other)
    • compareTo

      public int compareTo(Payer other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object