Class Payout

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

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

  • Constructor Details

  • Method Details

    • deepCopy

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

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

      public String getId()
    • setId

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

      public String getPartyId()
    • setPartyId

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

      public String getShopId()
    • setShopId

      public Payout 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)
    • getContractId

      public String getContractId()
    • setContractId

      public Payout setContractId​(String contract_id)
    • unsetContractId

      public void unsetContractId()
    • isSetContractId

      public boolean isSetContractId()
      Returns true if field contract_id is set (has been assigned a value) and false otherwise
    • setContractIdIsSet

      public void setContractIdIsSet​(boolean value)
    • getCreatedAt

      public String getCreatedAt()
    • setCreatedAt

      public Payout 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 PayoutStatus getStatus()
    • setStatus

      public Payout setStatus​(PayoutStatus 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 Payout 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 Payout 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)
    • getCurrency

      public CurrencyRef getCurrency()
    • setCurrency

      public Payout 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)
    • getPayoutFlowSize

      public int getPayoutFlowSize()
    • getPayoutFlowIterator

      public Iterator<FinalCashFlowPosting> getPayoutFlowIterator()
    • addToPayoutFlow

      public void addToPayoutFlow​(FinalCashFlowPosting elem)
    • getPayoutFlow

      public List<FinalCashFlowPosting> getPayoutFlow()
    • setPayoutFlow

      public Payout setPayoutFlow​(List<FinalCashFlowPosting> payout_flow)
    • unsetPayoutFlow

      public void unsetPayoutFlow()
    • isSetPayoutFlow

      public boolean isSetPayoutFlow()
      Returns true if field payout_flow is set (has been assigned a value) and false otherwise
    • setPayoutFlowIsSet

      public void setPayoutFlowIsSet​(boolean value)
    • getType

      public PayoutType getType()
    • setType

      public Payout setType​(PayoutType type)
    • unsetType

      public void unsetType()
    • isSetType

      public boolean isSetType()
      Returns true if field type is set (has been assigned a value) and false otherwise
    • setTypeIsSet

      public void setTypeIsSet​(boolean value)
    • getSummarySize

      public int getSummarySize()
    • getSummaryIterator

      public Iterator<PayoutSummaryItem> getSummaryIterator()
    • addToSummary

      public void addToSummary​(PayoutSummaryItem elem)
    • getSummary

      public List<PayoutSummaryItem> getSummary()
    • setSummary

      public Payout setSummary​(List<PayoutSummaryItem> summary)
    • unsetSummary

      public void unsetSummary()
    • isSetSummary

      public boolean isSetSummary()
      Returns true if field summary is set (has been assigned a value) and false otherwise
    • setSummaryIsSet

      public void setSummaryIsSet​(boolean value)
    • getMetadataSize

      public int getMetadataSize()
    • putToMetadata

      public void putToMetadata​(String key, Value val)
    • getMetadata

      public Map<String,​Value> getMetadata()
    • setMetadata

      public Payout setMetadata​(Map<String,​Value> metadata)
    • unsetMetadata

      public void unsetMetadata()
    • isSetMetadata

      public boolean isSetMetadata()
      Returns true if field metadata is set (has been assigned a value) and false otherwise
    • setMetadataIsSet

      public void setMetadataIsSet​(boolean value)
    • setFieldValue

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

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

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

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

      public boolean equals​(Payout that)
    • hashCode

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

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

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

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

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