Class CommonAPIOperation

java.lang.Object
dev.vality.bouncer.context.v1.CommonAPIOperation
All Implemented Interfaces:
Serializable, Cloneable, Comparable<CommonAPIOperation>, org.apache.thrift.TBase<CommonAPIOperation,​CommonAPIOperation._Fields>, org.apache.thrift.TSerializable

@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
           date="2022-08-25")
public class CommonAPIOperation
extends Object
implements org.apache.thrift.TBase<CommonAPIOperation,​CommonAPIOperation._Fields>, Serializable, Cloneable, Comparable<CommonAPIOperation>
See Also:
Serialized Form
  • Field Details

    • id

      public String id
      Например: - "GetMyParty" - "CreateInvoice" - ...
    • party

      public Entity party
    • shop

      public Entity shop
    • contract

      public Entity contract
    • invoice

      public Entity invoice
    • payment

      public Entity payment
    • refund

      public Entity refund
    • invoice_template

      public Entity invoice_template
    • customer

      public Entity customer
    • binding

      public Entity binding
    • report

      public Entity report
    • file

      public Entity file
    • webhook

      public Entity webhook
    • claim

      public Entity claim
    • payout

      public Entity payout
    • client_info

      public ClientInfo client_info
    • metaDataMap

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

    • CommonAPIOperation

      public CommonAPIOperation()
    • CommonAPIOperation

      public CommonAPIOperation​(CommonAPIOperation other)
      Performs a deep copy on other.
  • Method Details

    • deepCopy

      public CommonAPIOperation deepCopy()
      Specified by:
      deepCopy in interface org.apache.thrift.TBase<CommonAPIOperation,​CommonAPIOperation._Fields>
    • clear

      public void clear()
      Specified by:
      clear in interface org.apache.thrift.TBase<CommonAPIOperation,​CommonAPIOperation._Fields>
    • getId

      public String getId()
      Например: - "GetMyParty" - "CreateInvoice" - ...
    • setId

      public CommonAPIOperation setId​(String id)
      Например: - "GetMyParty" - "CreateInvoice" - ...
    • unsetId

      public void unsetId()
    • isSetId

      public boolean isSetId()
      Returns true if field id is set (has been assigned a value) and false otherwise
    • setIdIsSet

      public void setIdIsSet​(boolean value)
    • getParty

      public Entity getParty()
    • setParty

      public CommonAPIOperation setParty​(Entity party)
    • unsetParty

      public void unsetParty()
    • isSetParty

      public boolean isSetParty()
      Returns true if field party is set (has been assigned a value) and false otherwise
    • setPartyIsSet

      public void setPartyIsSet​(boolean value)
    • getShop

      public Entity getShop()
    • setShop

      public CommonAPIOperation setShop​(Entity shop)
    • unsetShop

      public void unsetShop()
    • isSetShop

      public boolean isSetShop()
      Returns true if field shop is set (has been assigned a value) and false otherwise
    • setShopIsSet

      public void setShopIsSet​(boolean value)
    • getContract

      public Entity getContract()
    • setContract

      public CommonAPIOperation setContract​(Entity contract)
    • unsetContract

      public void unsetContract()
    • isSetContract

      public boolean isSetContract()
      Returns true if field contract is set (has been assigned a value) and false otherwise
    • setContractIsSet

      public void setContractIsSet​(boolean value)
    • getInvoice

      public Entity getInvoice()
    • setInvoice

      public CommonAPIOperation setInvoice​(Entity invoice)
    • unsetInvoice

      public void unsetInvoice()
    • isSetInvoice

      public boolean isSetInvoice()
      Returns true if field invoice is set (has been assigned a value) and false otherwise
    • setInvoiceIsSet

      public void setInvoiceIsSet​(boolean value)
    • getPayment

      public Entity getPayment()
    • setPayment

      public CommonAPIOperation setPayment​(Entity payment)
    • unsetPayment

      public void unsetPayment()
    • isSetPayment

      public boolean isSetPayment()
      Returns true if field payment is set (has been assigned a value) and false otherwise
    • setPaymentIsSet

      public void setPaymentIsSet​(boolean value)
    • getRefund

      public Entity getRefund()
    • setRefund

      public CommonAPIOperation setRefund​(Entity refund)
    • unsetRefund

      public void unsetRefund()
    • isSetRefund

      public boolean isSetRefund()
      Returns true if field refund is set (has been assigned a value) and false otherwise
    • setRefundIsSet

      public void setRefundIsSet​(boolean value)
    • getInvoiceTemplate

      public Entity getInvoiceTemplate()
    • setInvoiceTemplate

      public CommonAPIOperation setInvoiceTemplate​(Entity invoice_template)
    • unsetInvoiceTemplate

      public void unsetInvoiceTemplate()
    • isSetInvoiceTemplate

      public boolean isSetInvoiceTemplate()
      Returns true if field invoice_template is set (has been assigned a value) and false otherwise
    • setInvoiceTemplateIsSet

      public void setInvoiceTemplateIsSet​(boolean value)
    • getCustomer

      public Entity getCustomer()
    • setCustomer

      public CommonAPIOperation setCustomer​(Entity customer)
    • unsetCustomer

      public void unsetCustomer()
    • isSetCustomer

      public boolean isSetCustomer()
      Returns true if field customer is set (has been assigned a value) and false otherwise
    • setCustomerIsSet

      public void setCustomerIsSet​(boolean value)
    • getBinding

      public Entity getBinding()
    • setBinding

      public CommonAPIOperation setBinding​(Entity binding)
    • unsetBinding

      public void unsetBinding()
    • isSetBinding

      public boolean isSetBinding()
      Returns true if field binding is set (has been assigned a value) and false otherwise
    • setBindingIsSet

      public void setBindingIsSet​(boolean value)
    • getReport

      public Entity getReport()
    • setReport

      public CommonAPIOperation setReport​(Entity report)
    • unsetReport

      public void unsetReport()
    • isSetReport

      public boolean isSetReport()
      Returns true if field report is set (has been assigned a value) and false otherwise
    • setReportIsSet

      public void setReportIsSet​(boolean value)
    • getFile

      public Entity getFile()
    • setFile

      public CommonAPIOperation setFile​(Entity file)
    • unsetFile

      public void unsetFile()
    • isSetFile

      public boolean isSetFile()
      Returns true if field file is set (has been assigned a value) and false otherwise
    • setFileIsSet

      public void setFileIsSet​(boolean value)
    • getWebhook

      public Entity getWebhook()
    • setWebhook

      public CommonAPIOperation setWebhook​(Entity webhook)
    • unsetWebhook

      public void unsetWebhook()
    • isSetWebhook

      public boolean isSetWebhook()
      Returns true if field webhook is set (has been assigned a value) and false otherwise
    • setWebhookIsSet

      public void setWebhookIsSet​(boolean value)
    • getClaim

      public Entity getClaim()
    • setClaim

      public CommonAPIOperation setClaim​(Entity claim)
    • unsetClaim

      public void unsetClaim()
    • isSetClaim

      public boolean isSetClaim()
      Returns true if field claim is set (has been assigned a value) and false otherwise
    • setClaimIsSet

      public void setClaimIsSet​(boolean value)
    • getPayout

      public Entity getPayout()
    • setPayout

      public CommonAPIOperation setPayout​(Entity payout)
    • unsetPayout

      public void unsetPayout()
    • isSetPayout

      public boolean isSetPayout()
      Returns true if field payout is set (has been assigned a value) and false otherwise
    • setPayoutIsSet

      public void setPayoutIsSet​(boolean value)
    • getClientInfo

      public ClientInfo getClientInfo()
    • setClientInfo

      public CommonAPIOperation setClientInfo​(ClientInfo client_info)
    • unsetClientInfo

      public void unsetClientInfo()
    • isSetClientInfo

      public boolean isSetClientInfo()
      Returns true if field client_info is set (has been assigned a value) and false otherwise
    • setClientInfoIsSet

      public void setClientInfoIsSet​(boolean value)
    • setFieldValue

      public void setFieldValue​(CommonAPIOperation._Fields field, Object value)
      Specified by:
      setFieldValue in interface org.apache.thrift.TBase<CommonAPIOperation,​CommonAPIOperation._Fields>
    • getFieldValue

      public Object getFieldValue​(CommonAPIOperation._Fields field)
      Specified by:
      getFieldValue in interface org.apache.thrift.TBase<CommonAPIOperation,​CommonAPIOperation._Fields>
    • isSet

      public boolean isSet​(CommonAPIOperation._Fields field)
      Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
      Specified by:
      isSet in interface org.apache.thrift.TBase<CommonAPIOperation,​CommonAPIOperation._Fields>
    • equals

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

      public boolean equals​(CommonAPIOperation that)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • compareTo

      public int compareTo​(CommonAPIOperation other)
      Specified by:
      compareTo in interface Comparable<CommonAPIOperation>
    • fieldForId

      public CommonAPIOperation._Fields fieldForId​(int fieldId)
      Specified by:
      fieldForId in interface org.apache.thrift.TBase<CommonAPIOperation,​CommonAPIOperation._Fields>
    • getFields

      public CommonAPIOperation._Fields[] getFields()
      Specified by:
      getFields in interface org.apache.thrift.TBase<CommonAPIOperation,​CommonAPIOperation._Fields>
    • getFieldMetaData

      public Map<CommonAPIOperation._Fields,​org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()
      Specified by:
      getFieldMetaData in interface org.apache.thrift.TBase<CommonAPIOperation,​CommonAPIOperation._Fields>
    • read

      public void read​(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
      Specified by:
      read in interface org.apache.thrift.TSerializable
      Throws:
      org.apache.thrift.TException
    • write

      public void write​(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
      Specified by:
      write in interface org.apache.thrift.TSerializable
      Throws:
      org.apache.thrift.TException
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validate

      public void validate() throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException