Package io.moov.sdk.models.components
Class CreateRefund.Builder
- java.lang.Object
-
- io.moov.sdk.models.components.CreateRefund.Builder
-
- Enclosing class:
- CreateRefund
public static final class CreateRefund.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateRefund.Builderamount(long amount)Amount to refund in cents.CreateRefund.Builderamount(java.util.Optional<java.lang.Long> amount)Amount to refund in cents.CreateRefundbuild()
-
-
-
Method Detail
-
amount
public CreateRefund.Builder amount(long amount)
Amount to refund in cents. If null, the original transfer's full amount will be refunded.
-
amount
public CreateRefund.Builder amount(java.util.Optional<java.lang.Long> amount)
Amount to refund in cents. If null, the original transfer's full amount will be refunded.
-
build
public CreateRefund build()
-
-