Class StatPayment

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

@Generated(value="Autogenerated by Thrift Compiler (0.19.0)", date="2024-08-02") public class StatPayment extends Object implements org.apache.thrift.TBase<StatPayment,StatPayment._Fields>, Serializable, Cloneable, Comparable<StatPayment>
* Информация о платеже. * *
See Also:
  • Field Details

    • id

      public String id
    • invoice_id

      public String invoice_id
    • owner_id

      public String owner_id
    • shop_id

      public String shop_id
    • created_at

      public String created_at
    • status

      public InvoicePaymentStatus status
    • amount

      public long amount
    • fee

      public long fee
    • currency_symbolic_code

      public String currency_symbolic_code
    • payer

      public Payer payer
    • context

      public Content context
    • location_info

      public LocationInfo location_info
    • flow

      public InvoicePaymentFlow flow
    • short_id

      public String short_id
    • make_recurrent

      public boolean make_recurrent
    • domain_revision

      public long domain_revision
    • cart

      public InvoiceCart cart
    • additional_transaction_info

      public AdditionalTransactionInfo additional_transaction_info
    • external_id

      public String external_id
    • provider_id

      public ProviderRef provider_id
    • terminal_id

      public TerminalRef terminal_id
    • allocation

      public Allocation allocation
    • metaDataMap

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

  • Method Details

    • deepCopy

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

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

      public String getId()
    • setId

      public StatPayment 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)
    • getInvoiceId

      public String getInvoiceId()
    • setInvoiceId

      public StatPayment 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)
    • getOwnerId

      public String getOwnerId()
    • setOwnerId

      public StatPayment setOwnerId(String owner_id)
    • unsetOwnerId

      public void unsetOwnerId()
    • isSetOwnerId

      public boolean isSetOwnerId()
      Returns true if field owner_id is set (has been assigned a value) and false otherwise
    • setOwnerIdIsSet

      public void setOwnerIdIsSet(boolean value)
    • getShopId

      public String getShopId()
    • setShopId

      public StatPayment 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)
    • getCreatedAt

      public String getCreatedAt()
    • setCreatedAt

      public StatPayment 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)
    • getStatus

      public InvoicePaymentStatus getStatus()
    • setStatus

      public StatPayment setStatus(InvoicePaymentStatus status)
    • unsetStatus

      public void unsetStatus()
    • isSetStatus

      public boolean isSetStatus()
      Returns true if field status is set (has been assigned a value) and false otherwise
    • setStatusIsSet

      public void setStatusIsSet(boolean value)
    • getAmount

      public long getAmount()
    • setAmount

      public StatPayment 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)
    • getFee

      public long getFee()
    • setFee

      public StatPayment 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)
    • getCurrencySymbolicCode

      public String getCurrencySymbolicCode()
    • setCurrencySymbolicCode

      public StatPayment setCurrencySymbolicCode(String currency_symbolic_code)
    • unsetCurrencySymbolicCode

      public void unsetCurrencySymbolicCode()
    • isSetCurrencySymbolicCode

      public boolean isSetCurrencySymbolicCode()
      Returns true if field currency_symbolic_code is set (has been assigned a value) and false otherwise
    • setCurrencySymbolicCodeIsSet

      public void setCurrencySymbolicCodeIsSet(boolean value)
    • getPayer

      public Payer getPayer()
    • setPayer

      public StatPayment setPayer(Payer payer)
    • unsetPayer

      public void unsetPayer()
    • isSetPayer

      public boolean isSetPayer()
      Returns true if field payer is set (has been assigned a value) and false otherwise
    • setPayerIsSet

      public void setPayerIsSet(boolean value)
    • getContext

      public Content getContext()
    • setContext

      public StatPayment 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)
    • getLocationInfo

      public LocationInfo getLocationInfo()
    • setLocationInfo

      public StatPayment setLocationInfo(LocationInfo location_info)
    • unsetLocationInfo

      public void unsetLocationInfo()
    • isSetLocationInfo

      public boolean isSetLocationInfo()
      Returns true if field location_info is set (has been assigned a value) and false otherwise
    • setLocationInfoIsSet

      public void setLocationInfoIsSet(boolean value)
    • getFlow

      public InvoicePaymentFlow getFlow()
    • setFlow

      public StatPayment setFlow(InvoicePaymentFlow flow)
    • unsetFlow

      public void unsetFlow()
    • isSetFlow

      public boolean isSetFlow()
      Returns true if field flow is set (has been assigned a value) and false otherwise
    • setFlowIsSet

      public void setFlowIsSet(boolean value)
    • getShortId

      public String getShortId()
    • setShortId

      public StatPayment setShortId(String short_id)
    • unsetShortId

      public void unsetShortId()
    • isSetShortId

      public boolean isSetShortId()
      Returns true if field short_id is set (has been assigned a value) and false otherwise
    • setShortIdIsSet

      public void setShortIdIsSet(boolean value)
    • isMakeRecurrent

      public boolean isMakeRecurrent()
    • setMakeRecurrent

      public StatPayment setMakeRecurrent(boolean make_recurrent)
    • unsetMakeRecurrent

      public void unsetMakeRecurrent()
    • isSetMakeRecurrent

      public boolean isSetMakeRecurrent()
      Returns true if field make_recurrent is set (has been assigned a value) and false otherwise
    • setMakeRecurrentIsSet

      public void setMakeRecurrentIsSet(boolean value)
    • getDomainRevision

      public long getDomainRevision()
    • setDomainRevision

      public StatPayment setDomainRevision(long domain_revision)
    • unsetDomainRevision

      public void unsetDomainRevision()
    • isSetDomainRevision

      public boolean isSetDomainRevision()
      Returns true if field domain_revision is set (has been assigned a value) and false otherwise
    • setDomainRevisionIsSet

      public void setDomainRevisionIsSet(boolean value)
    • getCart

      public InvoiceCart getCart()
    • setCart

      public StatPayment setCart(InvoiceCart cart)
    • unsetCart

      public void unsetCart()
    • isSetCart

      public boolean isSetCart()
      Returns true if field cart is set (has been assigned a value) and false otherwise
    • setCartIsSet

      public void setCartIsSet(boolean value)
    • getAdditionalTransactionInfo

      public AdditionalTransactionInfo getAdditionalTransactionInfo()
    • setAdditionalTransactionInfo

      public StatPayment setAdditionalTransactionInfo(AdditionalTransactionInfo additional_transaction_info)
    • unsetAdditionalTransactionInfo

      public void unsetAdditionalTransactionInfo()
    • isSetAdditionalTransactionInfo

      public boolean isSetAdditionalTransactionInfo()
      Returns true if field additional_transaction_info is set (has been assigned a value) and false otherwise
    • setAdditionalTransactionInfoIsSet

      public void setAdditionalTransactionInfoIsSet(boolean value)
    • getExternalId

      public String getExternalId()
    • setExternalId

      public StatPayment 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)
    • getProviderId

      public ProviderRef getProviderId()
    • setProviderId

      public StatPayment setProviderId(ProviderRef provider_id)
    • unsetProviderId

      public void unsetProviderId()
    • isSetProviderId

      public boolean isSetProviderId()
      Returns true if field provider_id is set (has been assigned a value) and false otherwise
    • setProviderIdIsSet

      public void setProviderIdIsSet(boolean value)
    • getTerminalId

      public TerminalRef getTerminalId()
    • setTerminalId

      public StatPayment setTerminalId(TerminalRef terminal_id)
    • unsetTerminalId

      public void unsetTerminalId()
    • isSetTerminalId

      public boolean isSetTerminalId()
      Returns true if field terminal_id is set (has been assigned a value) and false otherwise
    • setTerminalIdIsSet

      public void setTerminalIdIsSet(boolean value)
    • getAllocation

      public Allocation getAllocation()
    • setAllocation

      public StatPayment setAllocation(Allocation allocation)
    • unsetAllocation

      public void unsetAllocation()
    • isSetAllocation

      public boolean isSetAllocation()
      Returns true if field allocation is set (has been assigned a value) and false otherwise
    • setAllocationIsSet

      public void setAllocationIsSet(boolean value)
    • setFieldValue

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

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

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

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

      public boolean equals(StatPayment that)
    • hashCode

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

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

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

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

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