Class InvoiceTemplate

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

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

  • Constructor Details

  • Method Details

    • deepCopy

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

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

      public String getId()
    • setId

      public InvoiceTemplate 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 InvoiceTemplate 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 InvoiceTemplate 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)
    • getInvoiceLifetime

      public LifetimeInterval getInvoiceLifetime()
    • setInvoiceLifetime

      public InvoiceTemplate setInvoiceLifetime(LifetimeInterval invoice_lifetime)
    • unsetInvoiceLifetime

      public void unsetInvoiceLifetime()
    • isSetInvoiceLifetime

      public boolean isSetInvoiceLifetime()
      Returns true if field invoice_lifetime is set (has been assigned a value) and false otherwise
    • setInvoiceLifetimeIsSet

      public void setInvoiceLifetimeIsSet(boolean value)
    • getProduct

      public String getProduct()
    • setProduct

      public InvoiceTemplate 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)
    • getName

      public String getName()
    • setName

      public InvoiceTemplate setName(String name)
    • unsetName

      public void unsetName()
    • isSetName

      public boolean isSetName()
      Returns true if field name is set (has been assigned a value) and false otherwise
    • setNameIsSet

      public void setNameIsSet(boolean value)
    • getDescription

      public String getDescription()
    • setDescription

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

      public String getCreatedAt()
    • setCreatedAt

      public InvoiceTemplate 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)
    • getDetails

      public InvoiceTemplateDetails getDetails()
    • setDetails

      public InvoiceTemplate setDetails(InvoiceTemplateDetails details)
    • unsetDetails

      public void unsetDetails()
    • isSetDetails

      public boolean isSetDetails()
      Returns true if field details is set (has been assigned a value) and false otherwise
    • setDetailsIsSet

      public void setDetailsIsSet(boolean value)
    • getContext

      public Content getContext()
    • setContext

      public InvoiceTemplate 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)
    • getMutationsSize

      public int getMutationsSize()
    • getMutationsIterator

      public Iterator<InvoiceMutationParams> getMutationsIterator()
    • addToMutations

      public void addToMutations(InvoiceMutationParams elem)
    • getMutations

      public List<InvoiceMutationParams> getMutations()
    • setMutations

      public InvoiceTemplate setMutations(List<InvoiceMutationParams> mutations)
    • unsetMutations

      public void unsetMutations()
    • isSetMutations

      public boolean isSetMutations()
      Returns true if field mutations is set (has been assigned a value) and false otherwise
    • setMutationsIsSet

      public void setMutationsIsSet(boolean value)
    • setFieldValue

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

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

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

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

      public boolean equals(InvoiceTemplate that)
    • hashCode

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

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

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

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

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