Class StatInvoice

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

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

    • id

      public String id
    • owner_id

      public String owner_id
    • shop_id

      public String shop_id
    • created_at

      public String created_at
    • status

      public InvoiceStatus status
    • product

      public String product
    • description

      public String description
    • due

      public String due
    • amount

      public long amount
    • currency_symbolic_code

      public String currency_symbolic_code
    • context

      public Content context
    • cart

      public InvoiceCart cart
    • external_id

      public String external_id
    • allocation

      public Allocation allocation
    • metaDataMap

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

  • Method Details

    • deepCopy

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

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

      public String getId()
    • setId

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

      public String getOwnerId()
    • setOwnerId

      public StatInvoice 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 StatInvoice 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 StatInvoice 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 InvoiceStatus getStatus()
    • setStatus

      public StatInvoice setStatus(InvoiceStatus 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)
    • getProduct

      public String getProduct()
    • setProduct

      public StatInvoice setProduct(String product)
    • unsetProduct

      public void unsetProduct()
    • isSetProduct

      public boolean isSetProduct()
      Returns true if field product is set (has been assigned a value) and false otherwise
    • setProductIsSet

      public void setProductIsSet(boolean value)
    • getDescription

      public String getDescription()
    • setDescription

      public StatInvoice setDescription(String description)
    • unsetDescription

      public void unsetDescription()
    • isSetDescription

      public boolean isSetDescription()
      Returns true if field description is set (has been assigned a value) and false otherwise
    • setDescriptionIsSet

      public void setDescriptionIsSet(boolean value)
    • getDue

      public String getDue()
    • setDue

      public StatInvoice setDue(String due)
    • unsetDue

      public void unsetDue()
    • isSetDue

      public boolean isSetDue()
      Returns true if field due is set (has been assigned a value) and false otherwise
    • setDueIsSet

      public void setDueIsSet(boolean value)
    • getAmount

      public long getAmount()
    • setAmount

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

      public String getCurrencySymbolicCode()
    • setCurrencySymbolicCode

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

      public Content getContext()
    • setContext

      public StatInvoice 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)
    • getCart

      public InvoiceCart getCart()
    • setCart

      public StatInvoice 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)
    • getExternalId

      public String getExternalId()
    • setExternalId

      public StatInvoice 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)
    • getAllocation

      public Allocation getAllocation()
    • setAllocation

      public StatInvoice 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(StatInvoice._Fields field, Object value)
      Specified by:
      setFieldValue in interface org.apache.thrift.TBase<StatInvoice,StatInvoice._Fields>
    • getFieldValue

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

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

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

      public boolean equals(StatInvoice that)
    • hashCode

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

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

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

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

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