Class Varset

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

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

  • Constructor Details

    • Varset

      public Varset()
    • Varset

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

    • deepCopy

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

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

      public CategoryRef getCategory()
    • setCategory

      public Varset setCategory(CategoryRef category)
    • unsetCategory

      public void unsetCategory()
    • isSetCategory

      public boolean isSetCategory()
      Returns true if field category is set (has been assigned a value) and false otherwise
    • setCategoryIsSet

      public void setCategoryIsSet(boolean value)
    • getCurrency

      public CurrencyRef getCurrency()
    • setCurrency

      public Varset setCurrency(CurrencyRef currency)
    • unsetCurrency

      public void unsetCurrency()
    • isSetCurrency

      public boolean isSetCurrency()
      Returns true if field currency is set (has been assigned a value) and false otherwise
    • setCurrencyIsSet

      public void setCurrencyIsSet(boolean value)
    • getAmount

      public Cash getAmount()
    • setAmount

      public Varset setAmount(Cash 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)
    • getPaymentMethod

      public PaymentMethodRef getPaymentMethod()
    • setPaymentMethod

      public Varset setPaymentMethod(PaymentMethodRef payment_method)
    • unsetPaymentMethod

      public void unsetPaymentMethod()
    • isSetPaymentMethod

      public boolean isSetPaymentMethod()
      Returns true if field payment_method is set (has been assigned a value) and false otherwise
    • setPaymentMethodIsSet

      public void setPaymentMethodIsSet(boolean value)
    • getWalletId

      public String getWalletId()
    • setWalletId

      public Varset setWalletId(String wallet_id)
    • unsetWalletId

      public void unsetWalletId()
    • isSetWalletId

      public boolean isSetWalletId()
      Returns true if field wallet_id is set (has been assigned a value) and false otherwise
    • setWalletIdIsSet

      public void setWalletIdIsSet(boolean value)
    • getShopId

      public String getShopId()
    • setShopId

      public Varset 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)
    • getIdentificationLevel

      public ContractorIdentificationLevel getIdentificationLevel()
      See Also:
    • setIdentificationLevel

      public Varset setIdentificationLevel(ContractorIdentificationLevel identification_level)
      See Also:
    • unsetIdentificationLevel

      public void unsetIdentificationLevel()
    • isSetIdentificationLevel

      public boolean isSetIdentificationLevel()
      Returns true if field identification_level is set (has been assigned a value) and false otherwise
    • setIdentificationLevelIsSet

      public void setIdentificationLevelIsSet(boolean value)
    • getPaymentTool

      public PaymentTool getPaymentTool()
    • setPaymentTool

      public Varset setPaymentTool(PaymentTool payment_tool)
    • unsetPaymentTool

      public void unsetPaymentTool()
    • isSetPaymentTool

      public boolean isSetPaymentTool()
      Returns true if field payment_tool is set (has been assigned a value) and false otherwise
    • setPaymentToolIsSet

      public void setPaymentToolIsSet(boolean value)
    • getPartyId

      public String getPartyId()
    • setPartyId

      public Varset 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)
    • getBinData

      public BinData getBinData()
    • setBinData

      public Varset setBinData(BinData bin_data)
    • unsetBinData

      public void unsetBinData()
    • isSetBinData

      public boolean isSetBinData()
      Returns true if field bin_data is set (has been assigned a value) and false otherwise
    • setBinDataIsSet

      public void setBinDataIsSet(boolean value)
    • setFieldValue

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

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

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

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

      public boolean equals(Varset that)
    • hashCode

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

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

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

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

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