Class InvoicePaymentChargebackParams

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

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

    • id

      public String id
      Идентификатор чарджбэка
    • reason

      Код причины чарджбэка
    • levy

      public Cash levy
      Сумма списания: количество денежных средств, подлежащих удержанию со счёта продавца.
    • body

      public Cash body
      Размер опротестования. Если не указан, то считаем, что это возврат на полную сумму платежа. Не может быть больше суммы платежа.
    • transaction_info

      public TransactionInfo transaction_info
      Данные проведённой вручную транзакции
    • external_id

      public String external_id
      Внешний идентификатор объекта
    • context

      public Content context
      Дополнительные метаданные по чарджбэку
    • occurred_at

      public String occurred_at
      Фактическое время создания
    • metaDataMap

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

    • InvoicePaymentChargebackParams

      public InvoicePaymentChargebackParams()
    • InvoicePaymentChargebackParams

      public InvoicePaymentChargebackParams​(String id, InvoicePaymentChargebackReason reason, Cash levy)
    • InvoicePaymentChargebackParams

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

    • deepCopy

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

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

      public String getId()
      Идентификатор чарджбэка
    • setId

      public InvoicePaymentChargebackParams setId​(String id)
      Идентификатор чарджбэка
    • 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)
    • getReason

      public InvoicePaymentChargebackReason getReason()
      Код причины чарджбэка
    • setReason

      Код причины чарджбэка
    • unsetReason

      public void unsetReason()
    • isSetReason

      public boolean isSetReason()
      Returns true if field reason is set (has been assigned a value) and false otherwise
    • setReasonIsSet

      public void setReasonIsSet​(boolean value)
    • getLevy

      public Cash getLevy()
      Сумма списания: количество денежных средств, подлежащих удержанию со счёта продавца.
    • setLevy

      public InvoicePaymentChargebackParams setLevy​(Cash levy)
      Сумма списания: количество денежных средств, подлежащих удержанию со счёта продавца.
    • unsetLevy

      public void unsetLevy()
    • isSetLevy

      public boolean isSetLevy()
      Returns true if field levy is set (has been assigned a value) and false otherwise
    • setLevyIsSet

      public void setLevyIsSet​(boolean value)
    • getBody

      public Cash getBody()
      Размер опротестования. Если не указан, то считаем, что это возврат на полную сумму платежа. Не может быть больше суммы платежа.
    • setBody

      public InvoicePaymentChargebackParams setBody​(Cash body)
      Размер опротестования. Если не указан, то считаем, что это возврат на полную сумму платежа. Не может быть больше суммы платежа.
    • unsetBody

      public void unsetBody()
    • isSetBody

      public boolean isSetBody()
      Returns true if field body is set (has been assigned a value) and false otherwise
    • setBodyIsSet

      public void setBodyIsSet​(boolean value)
    • getTransactionInfo

      public TransactionInfo getTransactionInfo()
      Данные проведённой вручную транзакции
    • setTransactionInfo

      public InvoicePaymentChargebackParams setTransactionInfo​(TransactionInfo transaction_info)
      Данные проведённой вручную транзакции
    • unsetTransactionInfo

      public void unsetTransactionInfo()
    • isSetTransactionInfo

      public boolean isSetTransactionInfo()
      Returns true if field transaction_info is set (has been assigned a value) and false otherwise
    • setTransactionInfoIsSet

      public void setTransactionInfoIsSet​(boolean value)
    • getExternalId

      public String getExternalId()
      Внешний идентификатор объекта
    • setExternalId

      public InvoicePaymentChargebackParams 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)
    • getContext

      public Content getContext()
      Дополнительные метаданные по чарджбэку
    • setContext

      public InvoicePaymentChargebackParams setContext​(Content context)
      Дополнительные метаданные по чарджбэку
    • unsetContext

      public void unsetContext()
    • isSetContext

      public boolean isSetContext()
      Returns true if field context is set (has been assigned a value) and false otherwise
    • setContextIsSet

      public void setContextIsSet​(boolean value)
    • getOccurredAt

      public String getOccurredAt()
      Фактическое время создания
    • setOccurredAt

      public InvoicePaymentChargebackParams setOccurredAt​(String occurred_at)
      Фактическое время создания
    • unsetOccurredAt

      public void unsetOccurredAt()
    • isSetOccurredAt

      public boolean isSetOccurredAt()
      Returns true if field occurred_at is set (has been assigned a value) and false otherwise
    • setOccurredAtIsSet

      public void setOccurredAtIsSet​(boolean value)
    • setFieldValue

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

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

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

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

      public boolean equals​(InvoicePaymentChargebackParams that)
    • hashCode

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

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

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

      Specified by:
      getFields in interface org.apache.thrift.TBase<InvoicePaymentChargebackParams,​InvoicePaymentChargebackParams._Fields>
    • getFieldMetaData

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