Package io.moov.sdk.models.components
Class CreateReversal
- java.lang.Object
-
- io.moov.sdk.models.components.CreateReversal
-
public class CreateReversal extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateReversal.Builder
-
Constructor Summary
Constructors Constructor Description CreateReversal(long amount)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description longamount()Amount to reverse in cents.static CreateReversal.Builderbuilder()booleanequals(java.lang.Object o)inthashCode()java.lang.StringtoString()CreateReversalwithAmount(long amount)Amount to reverse in cents.
-
-
-
Method Detail
-
amount
public long amount()
Amount to reverse in cents. Partial amounts will automatically trigger a refund instead of a cancellation.
-
builder
public static final CreateReversal.Builder builder()
-
withAmount
public CreateReversal withAmount(long amount)
Amount to reverse in cents. Partial amounts will automatically trigger a refund instead of a cancellation.
-
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
-
-