Class ContractEffect

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

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

  • Constructor Details

  • Method Details

    • deepCopy

      public ContractEffect deepCopy()
    • created

      public static ContractEffect created​(Contract value)
    • status_changed

      public static ContractEffect status_changed​(ContractStatus value)
    • adjustment_created

      public static ContractEffect adjustment_created​(ContractAdjustment value)
    • payout_tool_created

      public static ContractEffect payout_tool_created​(PayoutTool value)
    • payout_tool_info_changed

      public static ContractEffect payout_tool_info_changed​(PayoutToolInfoChanged value)
    • report_preferences_changed

      public static ContractEffect report_preferences_changed​(ReportPreferences value)
    • contractor_changed

      public static ContractEffect contractor_changed​(String value)
    • checkType

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

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

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

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

      public ContractEffect._Fields[] getFields()
    • getFieldMetaData

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

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

      public Contract getCreated()
    • setCreated

      public void setCreated​(Contract value)
    • getStatusChanged

      public ContractStatus getStatusChanged()
    • setStatusChanged

      public void setStatusChanged​(ContractStatus value)
    • getAdjustmentCreated

      public ContractAdjustment getAdjustmentCreated()
    • setAdjustmentCreated

      public void setAdjustmentCreated​(ContractAdjustment value)
    • getPayoutToolCreated

      public PayoutTool getPayoutToolCreated()
    • setPayoutToolCreated

      public void setPayoutToolCreated​(PayoutTool value)
    • getPayoutToolInfoChanged

      public PayoutToolInfoChanged getPayoutToolInfoChanged()
    • setPayoutToolInfoChanged

      public void setPayoutToolInfoChanged​(PayoutToolInfoChanged value)
    • getLegalAgreementBound

      public LegalAgreement getLegalAgreementBound()
    • setLegalAgreementBound

      public void setLegalAgreementBound​(LegalAgreement value)
    • getReportPreferencesChanged

      public ReportPreferences getReportPreferencesChanged()
    • setReportPreferencesChanged

      public void setReportPreferencesChanged​(ReportPreferences value)
    • getContractorChanged

      public String getContractorChanged()
    • setContractorChanged

      public void setContractorChanged​(String value)
    • isSetCreated

      public boolean isSetCreated()
    • isSetStatusChanged

      public boolean isSetStatusChanged()
    • isSetAdjustmentCreated

      public boolean isSetAdjustmentCreated()
    • isSetPayoutToolCreated

      public boolean isSetPayoutToolCreated()
    • isSetPayoutToolInfoChanged

      public boolean isSetPayoutToolInfoChanged()
    • isSetLegalAgreementBound

      public boolean isSetLegalAgreementBound()
    • isSetReportPreferencesChanged

      public boolean isSetReportPreferencesChanged()
    • isSetContractorChanged

      public boolean isSetContractorChanged()
    • equals

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

      public boolean equals​(ContractEffect other)
    • compareTo

      public int compareTo​(ContractEffect other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object