Class StatChargeback

java.lang.Object
dev.vality.damsel.merch_stat.StatChargeback
All Implemented Interfaces:
Serializable, Cloneable, Comparable<StatChargeback>, org.apache.thrift.TBase<StatChargeback,StatChargeback._Fields>, org.apache.thrift.TSerializable

@Generated(value="Autogenerated by Thrift Compiler (0.19.0)", date="2024-08-02") public class StatChargeback extends Object implements org.apache.thrift.TBase<StatChargeback,StatChargeback._Fields>, Serializable, Cloneable, Comparable<StatChargeback>
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • deepCopy

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

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

      public String getInvoiceId()
    • setInvoiceId

      public StatChargeback setInvoiceId(String invoice_id)
    • unsetInvoiceId

      public void unsetInvoiceId()
    • isSetInvoiceId

      public boolean isSetInvoiceId()
      Returns true if field invoice_id is set (has been assigned a value) and false otherwise
    • setInvoiceIdIsSet

      public void setInvoiceIdIsSet(boolean value)
    • getPaymentId

      public String getPaymentId()
    • setPaymentId

      public StatChargeback setPaymentId(String payment_id)
    • unsetPaymentId

      public void unsetPaymentId()
    • isSetPaymentId

      public boolean isSetPaymentId()
      Returns true if field payment_id is set (has been assigned a value) and false otherwise
    • setPaymentIdIsSet

      public void setPaymentIdIsSet(boolean value)
    • getChargebackId

      public String getChargebackId()
    • setChargebackId

      public StatChargeback setChargebackId(String chargeback_id)
    • unsetChargebackId

      public void unsetChargebackId()
    • isSetChargebackId

      public boolean isSetChargebackId()
      Returns true if field chargeback_id is set (has been assigned a value) and false otherwise
    • setChargebackIdIsSet

      public void setChargebackIdIsSet(boolean value)
    • getPartyId

      public String getPartyId()
    • setPartyId

      public StatChargeback setPartyId(String party_id)
    • unsetPartyId

      public void unsetPartyId()
    • isSetPartyId

      public boolean isSetPartyId()
      Returns true if field party_id is set (has been assigned a value) and false otherwise
    • setPartyIdIsSet

      public void setPartyIdIsSet(boolean value)
    • getShopId

      public String getShopId()
    • setShopId

      public StatChargeback setShopId(String shop_id)
    • unsetShopId

      public void unsetShopId()
    • isSetShopId

      public boolean isSetShopId()
      Returns true if field shop_id is set (has been assigned a value) and false otherwise
    • setShopIdIsSet

      public void setShopIdIsSet(boolean value)
    • getChargebackStatus

      public InvoicePaymentChargebackStatus getChargebackStatus()
    • setChargebackStatus

      public StatChargeback setChargebackStatus(InvoicePaymentChargebackStatus chargeback_status)
    • unsetChargebackStatus

      public void unsetChargebackStatus()
    • isSetChargebackStatus

      public boolean isSetChargebackStatus()
      Returns true if field chargeback_status is set (has been assigned a value) and false otherwise
    • setChargebackStatusIsSet

      public void setChargebackStatusIsSet(boolean value)
    • getCreatedAt

      public String getCreatedAt()
    • setCreatedAt

      public StatChargeback setCreatedAt(String created_at)
    • unsetCreatedAt

      public void unsetCreatedAt()
    • isSetCreatedAt

      public boolean isSetCreatedAt()
      Returns true if field created_at is set (has been assigned a value) and false otherwise
    • setCreatedAtIsSet

      public void setCreatedAtIsSet(boolean value)
    • getChargebackReason

      public InvoicePaymentChargebackReason getChargebackReason()
    • setChargebackReason

      public StatChargeback setChargebackReason(InvoicePaymentChargebackReason chargeback_reason)
    • unsetChargebackReason

      public void unsetChargebackReason()
    • isSetChargebackReason

      public boolean isSetChargebackReason()
      Returns true if field chargeback_reason is set (has been assigned a value) and false otherwise
    • setChargebackReasonIsSet

      public void setChargebackReasonIsSet(boolean value)
    • getLevyAmount

      public long getLevyAmount()
    • setLevyAmount

      public StatChargeback setLevyAmount(long levy_amount)
    • unsetLevyAmount

      public void unsetLevyAmount()
    • isSetLevyAmount

      public boolean isSetLevyAmount()
      Returns true if field levy_amount is set (has been assigned a value) and false otherwise
    • setLevyAmountIsSet

      public void setLevyAmountIsSet(boolean value)
    • getLevyCurrencyCode

      public Currency getLevyCurrencyCode()
    • setLevyCurrencyCode

      public StatChargeback setLevyCurrencyCode(Currency levy_currency_code)
    • unsetLevyCurrencyCode

      public void unsetLevyCurrencyCode()
    • isSetLevyCurrencyCode

      public boolean isSetLevyCurrencyCode()
      Returns true if field levy_currency_code is set (has been assigned a value) and false otherwise
    • setLevyCurrencyCodeIsSet

      public void setLevyCurrencyCodeIsSet(boolean value)
    • getAmount

      public long getAmount()
    • setAmount

      public StatChargeback setAmount(long amount)
    • unsetAmount

      public void unsetAmount()
    • isSetAmount

      public boolean isSetAmount()
      Returns true if field amount is set (has been assigned a value) and false otherwise
    • setAmountIsSet

      public void setAmountIsSet(boolean value)
    • getCurrencyCode

      public Currency getCurrencyCode()
    • setCurrencyCode

      public StatChargeback setCurrencyCode(Currency currency_code)
    • unsetCurrencyCode

      public void unsetCurrencyCode()
    • isSetCurrencyCode

      public boolean isSetCurrencyCode()
      Returns true if field currency_code is set (has been assigned a value) and false otherwise
    • setCurrencyCodeIsSet

      public void setCurrencyCodeIsSet(boolean value)
    • getFee

      public long getFee()
    • setFee

      public StatChargeback setFee(long fee)
    • unsetFee

      public void unsetFee()
    • isSetFee

      public boolean isSetFee()
      Returns true if field fee is set (has been assigned a value) and false otherwise
    • setFeeIsSet

      public void setFeeIsSet(boolean value)
    • getProviderFee

      public long getProviderFee()
    • setProviderFee

      public StatChargeback setProviderFee(long provider_fee)
    • unsetProviderFee

      public void unsetProviderFee()
    • isSetProviderFee

      public boolean isSetProviderFee()
      Returns true if field provider_fee is set (has been assigned a value) and false otherwise
    • setProviderFeeIsSet

      public void setProviderFeeIsSet(boolean value)
    • getExternalFee

      public long getExternalFee()
    • setExternalFee

      public StatChargeback setExternalFee(long external_fee)
    • unsetExternalFee

      public void unsetExternalFee()
    • isSetExternalFee

      public boolean isSetExternalFee()
      Returns true if field external_fee is set (has been assigned a value) and false otherwise
    • setExternalFeeIsSet

      public void setExternalFeeIsSet(boolean value)
    • getStage

      public InvoicePaymentChargebackStage getStage()
    • setStage

    • unsetStage

      public void unsetStage()
    • isSetStage

      public boolean isSetStage()
      Returns true if field stage is set (has been assigned a value) and false otherwise
    • setStageIsSet

      public void setStageIsSet(boolean value)
    • getContent

      public Content getContent()
    • setContent

      public StatChargeback setContent(Content content)
    • unsetContent

      public void unsetContent()
    • isSetContent

      public boolean isSetContent()
      Returns true if field content is set (has been assigned a value) and false otherwise
    • setContentIsSet

      public void setContentIsSet(boolean value)
    • getExternalId

      public String getExternalId()
    • setExternalId

      public StatChargeback setExternalId(String external_id)
    • unsetExternalId

      public void unsetExternalId()
    • isSetExternalId

      public boolean isSetExternalId()
      Returns true if field external_id is set (has been assigned a value) and false otherwise
    • setExternalIdIsSet

      public void setExternalIdIsSet(boolean value)
    • setFieldValue

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

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

      public boolean isSet(StatChargeback._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<StatChargeback,StatChargeback._Fields>
    • equals

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

      public boolean equals(StatChargeback that)
    • hashCode

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

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

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

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

      public Map<StatChargeback._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()
      Specified by:
      getFieldMetaData in interface org.apache.thrift.TBase<StatChargeback,StatChargeback._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