Package io.moov.sdk.models.components
Class SweepSubtotal
- java.lang.Object
-
- io.moov.sdk.models.components.SweepSubtotal
-
public class SweepSubtotal extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSweepSubtotal.Builder
-
Constructor Summary
Constructors Constructor Description SweepSubtotal(WalletTransactionType type, long count, AmountDecimal amount)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AmountDecimalamount()The value of transactions of this type accrued in the sweep.static SweepSubtotal.Builderbuilder()longcount()The number of transactions of this type accrued in the sweep.booleanequals(java.lang.Object o)inthashCode()java.lang.StringtoString()WalletTransactionTypetype()The type of wallet transaction the subtotal is for.SweepSubtotalwithAmount(AmountDecimal amount)The value of transactions of this type accrued in the sweep.SweepSubtotalwithCount(long count)The number of transactions of this type accrued in the sweep.SweepSubtotalwithType(WalletTransactionType type)The type of wallet transaction the subtotal is for.
-
-
-
Constructor Detail
-
SweepSubtotal
public SweepSubtotal(WalletTransactionType type, long count, AmountDecimal amount)
-
-
Method Detail
-
type
public WalletTransactionType type()
The type of wallet transaction the subtotal is for.
-
count
public long count()
The number of transactions of this type accrued in the sweep.
-
amount
public AmountDecimal amount()
The value of transactions of this type accrued in the sweep.
-
builder
public static SweepSubtotal.Builder builder()
-
withType
public SweepSubtotal withType(WalletTransactionType type)
The type of wallet transaction the subtotal is for.
-
withCount
public SweepSubtotal withCount(long count)
The number of transactions of this type accrued in the sweep.
-
withAmount
public SweepSubtotal withAmount(AmountDecimal amount)
The value of transactions of this type accrued in the sweep.
-
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
-
-