Package io.moov.sdk.models.components
Class SweepConfigPaymentMethod
- java.lang.Object
-
- io.moov.sdk.models.components.SweepConfigPaymentMethod
-
public class SweepConfigPaymentMethod extends java.lang.ObjectSweepConfigPaymentMethodThe payment method used to push or pull funds to a bank account. The push payment method can only be ach-credit-standard or ach-credit-same-day. The pull payment method can only be ach-debit-fund.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSweepConfigPaymentMethod.Builder
-
Constructor Summary
Constructors Constructor Description SweepConfigPaymentMethod(java.lang.String paymentMethodID)SweepConfigPaymentMethod(java.lang.String paymentMethodID, java.util.Optional<java.time.OffsetDateTime> disabledOn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SweepConfigPaymentMethod.Builderbuilder()java.util.Optional<java.time.OffsetDateTime>disabledOn()booleanequals(java.lang.Object o)inthashCode()java.lang.StringpaymentMethodID()ID of the payment method.java.lang.StringtoString()SweepConfigPaymentMethodwithDisabledOn(java.time.OffsetDateTime disabledOn)SweepConfigPaymentMethodwithDisabledOn(java.util.Optional<java.time.OffsetDateTime> disabledOn)SweepConfigPaymentMethodwithPaymentMethodID(java.lang.String paymentMethodID)ID of the payment method.
-
-
-
Method Detail
-
paymentMethodID
public java.lang.String paymentMethodID()
ID of the payment method.
-
disabledOn
public java.util.Optional<java.time.OffsetDateTime> disabledOn()
-
builder
public static final SweepConfigPaymentMethod.Builder builder()
-
withPaymentMethodID
public SweepConfigPaymentMethod withPaymentMethodID(java.lang.String paymentMethodID)
ID of the payment method.
-
withDisabledOn
public SweepConfigPaymentMethod withDisabledOn(java.time.OffsetDateTime disabledOn)
-
withDisabledOn
public SweepConfigPaymentMethod withDisabledOn(java.util.Optional<java.time.OffsetDateTime> disabledOn)
-
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
-
-