Class Balances
- java.lang.Object
-
- com.checkout.handlepaymentsandpayouts.payments.postpayments.responses.requestapaymentorpayoutresponsecreated.balances.Balances
-
public final class Balances extends java.lang.Objectbalances The payment balances
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBalances.BalancesBuilder
-
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 newBalancesinstance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Balances.BalancesBuilderbuilder()booleanequals(java.lang.Object o)java.lang.IntegergetAvailableToCapture()The total amount that is still available for capture [Optional]java.lang.IntegergetAvailableToRefund()The total amount that is still available for refund [Optional]java.lang.IntegergetAvailableToVoid()The total amount that is still available for voiding [Optional]java.lang.IntegergetTotalAuthorized()The total amount that has been authorized [Optional]java.lang.IntegergetTotalCaptured()The total amount that has been captured [Optional]java.lang.IntegergetTotalRefunded()The total amount that has been refunded [Optional]java.lang.IntegergetTotalVoided()The total amount that has been voided [Optional]inthashCode()voidsetAvailableToCapture(java.lang.Integer availableToCapture)The total amount that is still available for capture [Optional]voidsetAvailableToRefund(java.lang.Integer availableToRefund)The total amount that is still available for refund [Optional]voidsetAvailableToVoid(java.lang.Integer availableToVoid)The total amount that is still available for voiding [Optional]voidsetTotalAuthorized(java.lang.Integer totalAuthorized)The total amount that has been authorized [Optional]voidsetTotalCaptured(java.lang.Integer totalCaptured)The total amount that has been captured [Optional]voidsetTotalRefunded(java.lang.Integer totalRefunded)The total amount that has been refunded [Optional]voidsetTotalVoided(java.lang.Integer totalVoided)The total amount that has been voided [Optional]java.lang.StringtoString()
-
-
-
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 newBalancesinstance.- 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
-
builder
public static Balances.BalancesBuilder builder()
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-