Class RecurrentPaymentTool

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

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

  • Constructor Details

  • Method Details

    • deepCopy

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

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

      public String getId()
    • setId

      public RecurrentPaymentTool 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)
    • getShopId

      public String getShopId()
    • setShopId

      public RecurrentPaymentTool 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)
    • getPartyId

      public String getPartyId()
    • setPartyId

      public RecurrentPaymentTool 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)
    • getPartyRevision

      public long getPartyRevision()
    • setPartyRevision

      public RecurrentPaymentTool setPartyRevision​(long party_revision)
    • unsetPartyRevision

      public void unsetPartyRevision()
    • isSetPartyRevision

      public boolean isSetPartyRevision()
      Returns true if field party_revision is set (has been assigned a value) and false otherwise
    • setPartyRevisionIsSet

      public void setPartyRevisionIsSet​(boolean value)
    • getDomainRevision

      public long getDomainRevision()
    • setDomainRevision

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

      public RecurrentPaymentToolStatus getStatus()
    • setStatus

      public RecurrentPaymentTool setStatus​(RecurrentPaymentToolStatus 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)
    • getCreatedAt

      public String getCreatedAt()
    • setCreatedAt

      public RecurrentPaymentTool 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)
    • getPaymentResource

      public DisposablePaymentResource getPaymentResource()
    • setPaymentResource

      public RecurrentPaymentTool setPaymentResource​(DisposablePaymentResource payment_resource)
    • unsetPaymentResource

      public void unsetPaymentResource()
    • isSetPaymentResource

      public boolean isSetPaymentResource()
      Returns true if field payment_resource is set (has been assigned a value) and false otherwise
    • setPaymentResourceIsSet

      public void setPaymentResourceIsSet​(boolean value)
    • getRecToken

      public String getRecToken()
    • setRecToken

      public RecurrentPaymentTool setRecToken​(String rec_token)
    • unsetRecToken

      public void unsetRecToken()
    • isSetRecToken

      public boolean isSetRecToken()
      Returns true if field rec_token is set (has been assigned a value) and false otherwise
    • setRecTokenIsSet

      public void setRecTokenIsSet​(boolean value)
    • getRoute

      public PaymentRoute getRoute()
    • setRoute

      public RecurrentPaymentTool setRoute​(PaymentRoute route)
    • unsetRoute

      public void unsetRoute()
    • isSetRoute

      public boolean isSetRoute()
      Returns true if field route is set (has been assigned a value) and false otherwise
    • setRouteIsSet

      public void setRouteIsSet​(boolean value)
    • getMinimalPaymentCost

      public Cash getMinimalPaymentCost()
    • setMinimalPaymentCost

      public RecurrentPaymentTool setMinimalPaymentCost​(Cash minimal_payment_cost)
    • unsetMinimalPaymentCost

      public void unsetMinimalPaymentCost()
    • isSetMinimalPaymentCost

      public boolean isSetMinimalPaymentCost()
      Returns true if field minimal_payment_cost is set (has been assigned a value) and false otherwise
    • setMinimalPaymentCostIsSet

      public void setMinimalPaymentCostIsSet​(boolean value)
    • setFieldValue

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

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

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

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

      public boolean equals​(RecurrentPaymentTool that)
    • hashCode

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

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

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

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

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