Class InvoicePayment

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

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

  • Constructor Details

  • Method Details

    • deepCopy

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

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

      public InvoicePayment getPayment()
    • setPayment

      public InvoicePayment setPayment​(InvoicePayment payment)
    • unsetPayment

      public void unsetPayment()
    • isSetPayment

      public boolean isSetPayment()
      Returns true if field payment is set (has been assigned a value) and false otherwise
    • setPaymentIsSet

      public void setPaymentIsSet​(boolean value)
    • getRoute

      public PaymentRoute getRoute()
    • setRoute

      public InvoicePayment 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)
    • getCashFlowSize

      public int getCashFlowSize()
    • getCashFlowIterator

      public Iterator<FinalCashFlowPosting> getCashFlowIterator()
    • addToCashFlow

      public void addToCashFlow​(FinalCashFlowPosting elem)
    • getCashFlow

      public List<FinalCashFlowPosting> getCashFlow()
    • setCashFlow

      public InvoicePayment setCashFlow​(List<FinalCashFlowPosting> cash_flow)
    • unsetCashFlow

      public void unsetCashFlow()
    • isSetCashFlow

      public boolean isSetCashFlow()
      Returns true if field cash_flow is set (has been assigned a value) and false otherwise
    • setCashFlowIsSet

      public void setCashFlowIsSet​(boolean value)
    • getAdjustmentsSize

      public int getAdjustmentsSize()
    • getAdjustmentsIterator

      public Iterator<InvoicePaymentAdjustment> getAdjustmentsIterator()
    • addToAdjustments

      public void addToAdjustments​(InvoicePaymentAdjustment elem)
    • getAdjustments

      public List<InvoicePaymentAdjustment> getAdjustments()
    • setAdjustments

      public InvoicePayment setAdjustments​(List<InvoicePaymentAdjustment> adjustments)
    • unsetAdjustments

      public void unsetAdjustments()
    • isSetAdjustments

      public boolean isSetAdjustments()
      Returns true if field adjustments is set (has been assigned a value) and false otherwise
    • setAdjustmentsIsSet

      public void setAdjustmentsIsSet​(boolean value)
    • getRefundsSize

      public int getRefundsSize()
    • getRefundsIterator

      public Iterator<InvoicePaymentRefund> getRefundsIterator()
    • addToRefunds

      public void addToRefunds​(InvoicePaymentRefund elem)
    • getRefunds

      public List<InvoicePaymentRefund> getRefunds()
    • setRefunds

      public InvoicePayment setRefunds​(List<InvoicePaymentRefund> refunds)
    • unsetRefunds

      public void unsetRefunds()
    • isSetRefunds

      public boolean isSetRefunds()
      Returns true if field refunds is set (has been assigned a value) and false otherwise
    • setRefundsIsSet

      public void setRefundsIsSet​(boolean value)
    • getSessionsSize

      public int getSessionsSize()
    • getSessionsIterator

      public Iterator<InvoicePaymentSession> getSessionsIterator()
    • addToSessions

      public void addToSessions​(InvoicePaymentSession elem)
    • getSessions

      public List<InvoicePaymentSession> getSessions()
    • setSessions

      public InvoicePayment setSessions​(List<InvoicePaymentSession> sessions)
    • unsetSessions

      public void unsetSessions()
    • isSetSessions

      public boolean isSetSessions()
      Returns true if field sessions is set (has been assigned a value) and false otherwise
    • setSessionsIsSet

      public void setSessionsIsSet​(boolean value)
    • getChargebacksSize

      public int getChargebacksSize()
    • getChargebacksIterator

      public Iterator<InvoicePaymentChargeback> getChargebacksIterator()
    • addToChargebacks

      public void addToChargebacks​(InvoicePaymentChargeback elem)
    • getChargebacks

      public List<InvoicePaymentChargeback> getChargebacks()
    • setChargebacks

      public InvoicePayment setChargebacks​(List<InvoicePaymentChargeback> chargebacks)
    • unsetChargebacks

      public void unsetChargebacks()
    • isSetChargebacks

      public boolean isSetChargebacks()
      Returns true if field chargebacks is set (has been assigned a value) and false otherwise
    • setChargebacksIsSet

      public void setChargebacksIsSet​(boolean value)
    • getLastTransactionInfo

      public TransactionInfo getLastTransactionInfo()
    • setLastTransactionInfo

      public InvoicePayment setLastTransactionInfo​(TransactionInfo last_transaction_info)
    • unsetLastTransactionInfo

      public void unsetLastTransactionInfo()
    • isSetLastTransactionInfo

      public boolean isSetLastTransactionInfo()
      Returns true if field last_transaction_info is set (has been assigned a value) and false otherwise
    • setLastTransactionInfoIsSet

      public void setLastTransactionInfoIsSet​(boolean value)
    • getAllocation

      public Allocation getAllocation()
    • setAllocation

      public InvoicePayment 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)
    • getLegacyRefundsSize

      public int getLegacyRefundsSize()
    • getLegacyRefundsIterator

      public Iterator<InvoicePaymentRefund> getLegacyRefundsIterator()
    • addToLegacyRefunds

      public void addToLegacyRefunds​(InvoicePaymentRefund elem)
    • getLegacyRefunds

      public List<InvoicePaymentRefund> getLegacyRefunds()
    • setLegacyRefunds

      public InvoicePayment setLegacyRefunds​(List<InvoicePaymentRefund> legacy_refunds)
    • unsetLegacyRefunds

      public void unsetLegacyRefunds()
    • isSetLegacyRefunds

      public boolean isSetLegacyRefunds()
      Returns true if field legacy_refunds is set (has been assigned a value) and false otherwise
    • setLegacyRefundsIsSet

      public void setLegacyRefundsIsSet​(boolean value)
    • setFieldValue

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

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

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

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

      public boolean equals​(InvoicePayment that)
    • hashCode

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

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

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

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

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