Class Balances


  • public final class Balances
    extends java.lang.Object
    balances The payment balances
    • Constructor Summary

      Constructors 
      Constructor Description
      Balances()  
      Balances​(java.lang.Integer totalAuthorized, java.lang.Integer totalVoided, java.lang.Integer availableToVoid, java.lang.Integer totalCaptured, java.lang.Integer availableToCapture, java.lang.Integer totalRefunded, java.lang.Integer availableToRefund)
      Creates a new Balances instance.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static Balances.BalancesBuilder builder()  
      boolean equals​(java.lang.Object o)  
      java.lang.Integer getAvailableToCapture()
      The total amount that is still available for capture [Optional]
      java.lang.Integer getAvailableToRefund()
      The total amount that is still available for refund [Optional]
      java.lang.Integer getAvailableToVoid()
      The total amount that is still available for voiding [Optional]
      java.lang.Integer getTotalAuthorized()
      The total amount that has been authorized [Optional]
      java.lang.Integer getTotalCaptured()
      The total amount that has been captured [Optional]
      java.lang.Integer getTotalRefunded()
      The total amount that has been refunded [Optional]
      java.lang.Integer getTotalVoided()
      The total amount that has been voided [Optional]
      int hashCode()  
      void setAvailableToCapture​(java.lang.Integer availableToCapture)
      The total amount that is still available for capture [Optional]
      void setAvailableToRefund​(java.lang.Integer availableToRefund)
      The total amount that is still available for refund [Optional]
      void setAvailableToVoid​(java.lang.Integer availableToVoid)
      The total amount that is still available for voiding [Optional]
      void setTotalAuthorized​(java.lang.Integer totalAuthorized)
      The total amount that has been authorized [Optional]
      void setTotalCaptured​(java.lang.Integer totalCaptured)
      The total amount that has been captured [Optional]
      void setTotalRefunded​(java.lang.Integer totalRefunded)
      The total amount that has been refunded [Optional]
      void setTotalVoided​(java.lang.Integer totalVoided)
      The total amount that has been voided [Optional]
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Balances

        public Balances()
      • Balances

        public Balances​(java.lang.Integer totalAuthorized,
                        java.lang.Integer totalVoided,
                        java.lang.Integer availableToVoid,
                        java.lang.Integer totalCaptured,
                        java.lang.Integer availableToCapture,
                        java.lang.Integer totalRefunded,
                        java.lang.Integer availableToRefund)
        Creates a new Balances instance.
        Parameters:
        totalAuthorized - The total amount that has been authorized [Optional]
        totalVoided - The total amount that has been voided [Optional]
        availableToVoid - The total amount that is still available for voiding [Optional]
        totalCaptured - The total amount that has been captured [Optional]
        availableToCapture - The total amount that is still available for capture [Optional]
        totalRefunded - The total amount that has been refunded [Optional]
        availableToRefund - The total amount that is still available for refund [Optional]
    • Method Detail

      • getTotalAuthorized

        public java.lang.Integer getTotalAuthorized()
        The total amount that has been authorized [Optional]
      • getTotalVoided

        public java.lang.Integer getTotalVoided()
        The total amount that has been voided [Optional]
      • getAvailableToVoid

        public java.lang.Integer getAvailableToVoid()
        The total amount that is still available for voiding [Optional]
      • getTotalCaptured

        public java.lang.Integer getTotalCaptured()
        The total amount that has been captured [Optional]
      • getAvailableToCapture

        public java.lang.Integer getAvailableToCapture()
        The total amount that is still available for capture [Optional]
      • getTotalRefunded

        public java.lang.Integer getTotalRefunded()
        The total amount that has been refunded [Optional]
      • getAvailableToRefund

        public java.lang.Integer getAvailableToRefund()
        The total amount that is still available for refund [Optional]
      • setTotalAuthorized

        public void setTotalAuthorized​(java.lang.Integer totalAuthorized)
        The total amount that has been authorized [Optional]
      • setTotalVoided

        public void setTotalVoided​(java.lang.Integer totalVoided)
        The total amount that has been voided [Optional]
      • setAvailableToVoid

        public void setAvailableToVoid​(java.lang.Integer availableToVoid)
        The total amount that is still available for voiding [Optional]
      • setTotalCaptured

        public void setTotalCaptured​(java.lang.Integer totalCaptured)
        The total amount that has been captured [Optional]
      • setAvailableToCapture

        public void setAvailableToCapture​(java.lang.Integer availableToCapture)
        The total amount that is still available for capture [Optional]
      • setTotalRefunded

        public void setTotalRefunded​(java.lang.Integer totalRefunded)
        The total amount that has been refunded [Optional]
      • setAvailableToRefund

        public void setAvailableToRefund​(java.lang.Integer availableToRefund)
        The total amount that is still available for refund [Optional]
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object