Class InvoicePayment

java.lang.Object
com.blockchyp.client.dto.InvoicePayment

public class InvoicePayment extends Object
Models information about payments against an invoice.
  • Constructor Details

    • InvoicePayment

      public InvoicePayment()
  • Method Details

    • setId

      public void setId(String value)
      Sets the line item id.
      Parameters:
      value - the line item id.
    • getId

      public String getId()
      Gets the line item id.
      Returns:
      the line item id.
    • setTimestamp

      public void setTimestamp(Date value)
      Sets timestamp the payment was authorized.
      Parameters:
      value - timestamp the payment was authorized.
    • getTimestamp

      public Date getTimestamp()
      Gets timestamp the payment was authorized.
      Returns:
      timestamp the payment was authorized.
    • setTransactionType

      public void setTransactionType(String value)
      Sets the type of disbursement transaction.
      Parameters:
      value - the type of disbursement transaction.
    • getTransactionType

      public String getTransactionType()
      Gets the type of disbursement transaction.
      Returns:
      the type of disbursement transaction.
    • setPaymentType

      public void setPaymentType(String value)
      Sets the payment method used to fund the disbursement.
      Parameters:
      value - the payment method used to fund the disbursement.
    • getPaymentType

      public String getPaymentType()
      Gets the payment method used to fund the disbursement.
      Returns:
      the payment method used to fund the disbursement.
    • setAuthCode

      public void setAuthCode(String value)
      Sets the auth code associated with credit card payment methods.
      Parameters:
      value - the auth code associated with credit card payment methods.
    • getAuthCode

      public String getAuthCode()
      Gets the auth code associated with credit card payment methods.
      Returns:
      the auth code associated with credit card payment methods.
    • setMaskedPan

      public void setMaskedPan(String value)
      Sets the masked account number into which funds were deposited.
      Parameters:
      value - the masked account number into which funds were deposited.
    • getMaskedPan

      public String getMaskedPan()
      Gets the masked account number into which funds were deposited.
      Returns:
      the masked account number into which funds were deposited.
    • setPending

      public void setPending(boolean value)
      Sets that payment is still pending.
      Parameters:
      value - that payment is still pending.
    • isPending

      public boolean isPending()
      Gets that payment is still pending.
      Returns:
      that payment is still pending.
    • setApproved

      public void setApproved(boolean value)
      Sets that payment is approved.
      Parameters:
      value - that payment is approved.
    • isApproved

      public boolean isApproved()
      Gets that payment is approved.
      Returns:
      that payment is approved.
    • setResponseDescription

      public void setResponseDescription(String value)
      Sets a response description from the disbursement payment platform, in any.
      Parameters:
      value - a response description from the disbursement payment platform, in any.
    • getResponseDescription

      public String getResponseDescription()
      Gets a response description from the disbursement payment platform, in any.
      Returns:
      a response description from the disbursement payment platform, in any.
    • setAmount

      public void setAmount(float value)
      Sets the amount disbursed in floating point format.
      Parameters:
      value - the amount disbursed in floating point format.
    • getAmount

      public float getAmount()
      Gets the amount disbursed in floating point format.
      Returns:
      the amount disbursed in floating point format.
    • setAmountFormatted

      public void setAmountFormatted(String value)
      Sets the currency formatted form of amount.
      Parameters:
      value - the currency formatted form of amount.
    • getAmountFormatted

      public String getAmountFormatted()
      Gets the currency formatted form of amount.
      Returns:
      the currency formatted form of amount.