Package io.moov.sdk.models.components
Class SweepConfig
- java.lang.Object
-
- io.moov.sdk.models.components.SweepConfig
-
public class SweepConfig extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSweepConfig.Builder
-
Constructor Summary
Constructors Constructor Description SweepConfig(java.lang.String sweepConfigID, java.lang.String walletID, SweepConfigStatus status, SweepConfigPaymentMethod pushPaymentMethod, SweepConfigPaymentMethod pullPaymentMethod, java.time.OffsetDateTime createdOn, java.time.OffsetDateTime updatedOn)SweepConfig(java.lang.String sweepConfigID, java.lang.String walletID, SweepConfigStatus status, SweepConfigPaymentMethod pushPaymentMethod, SweepConfigPaymentMethod pullPaymentMethod, java.util.Optional<java.lang.String> minimumBalance, java.util.Optional<java.lang.String> statementDescriptor, java.util.Optional<? extends java.util.List<java.lang.String>> lockedFields, java.time.OffsetDateTime createdOn, java.time.OffsetDateTime updatedOn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SweepConfig.Builderbuilder()java.time.OffsetDateTimecreatedOn()booleanequals(java.lang.Object o)inthashCode()java.util.Optional<java.util.List<java.lang.String>>lockedFields()An array of fields that are locked.java.util.Optional<java.lang.String>minimumBalance()An optional field to specify an amount to maintain in the wallet.SweepConfigPaymentMethodpullPaymentMethod()The payment method used to push or pull funds to a bank account.SweepConfigPaymentMethodpushPaymentMethod()The payment method used to push or pull funds to a bank account.java.util.Optional<java.lang.String>statementDescriptor()The text that appears on the banking statement.SweepConfigStatusstatus()java.lang.StringsweepConfigID()java.lang.StringtoString()java.time.OffsetDateTimeupdatedOn()java.lang.StringwalletID()SweepConfigwithCreatedOn(java.time.OffsetDateTime createdOn)SweepConfigwithLockedFields(java.util.List<java.lang.String> lockedFields)An array of fields that are locked.SweepConfigwithLockedFields(java.util.Optional<? extends java.util.List<java.lang.String>> lockedFields)An array of fields that are locked.SweepConfigwithMinimumBalance(java.lang.String minimumBalance)An optional field to specify an amount to maintain in the wallet.SweepConfigwithMinimumBalance(java.util.Optional<java.lang.String> minimumBalance)An optional field to specify an amount to maintain in the wallet.SweepConfigwithPullPaymentMethod(SweepConfigPaymentMethod pullPaymentMethod)The payment method used to push or pull funds to a bank account.SweepConfigwithPushPaymentMethod(SweepConfigPaymentMethod pushPaymentMethod)The payment method used to push or pull funds to a bank account.SweepConfigwithStatementDescriptor(java.lang.String statementDescriptor)The text that appears on the banking statement.SweepConfigwithStatementDescriptor(java.util.Optional<java.lang.String> statementDescriptor)The text that appears on the banking statement.SweepConfigwithStatus(SweepConfigStatus status)SweepConfigwithSweepConfigID(java.lang.String sweepConfigID)SweepConfigwithUpdatedOn(java.time.OffsetDateTime updatedOn)SweepConfigwithWalletID(java.lang.String walletID)
-
-
-
Constructor Detail
-
SweepConfig
public SweepConfig(java.lang.String sweepConfigID, java.lang.String walletID, SweepConfigStatus status, SweepConfigPaymentMethod pushPaymentMethod, SweepConfigPaymentMethod pullPaymentMethod, java.util.Optional<java.lang.String> minimumBalance, java.util.Optional<java.lang.String> statementDescriptor, java.util.Optional<? extends java.util.List<java.lang.String>> lockedFields, java.time.OffsetDateTime createdOn, java.time.OffsetDateTime updatedOn)
-
SweepConfig
public SweepConfig(java.lang.String sweepConfigID, java.lang.String walletID, SweepConfigStatus status, SweepConfigPaymentMethod pushPaymentMethod, SweepConfigPaymentMethod pullPaymentMethod, java.time.OffsetDateTime createdOn, java.time.OffsetDateTime updatedOn)
-
-
Method Detail
-
sweepConfigID
public java.lang.String sweepConfigID()
-
walletID
public java.lang.String walletID()
-
status
public SweepConfigStatus status()
-
pushPaymentMethod
public SweepConfigPaymentMethod pushPaymentMethod()
The 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.
-
pullPaymentMethod
public SweepConfigPaymentMethod pullPaymentMethod()
The 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.
-
minimumBalance
public java.util.Optional<java.lang.String> minimumBalance()
An optional field to specify an amount to maintain in the wallet. This is a decimal-formatted numerical string that represents up to 2 decimal place precision. In USD for example, 12.34 is $12.34 and 0.99 is $0.99. If not supplied, the default is 0.00.
-
statementDescriptor
public java.util.Optional<java.lang.String> statementDescriptor()
The text that appears on the banking statement. The default descriptor is a 10 character ID if an override is not set in the sweep configs statementDescriptor.
-
lockedFields
public java.util.Optional<java.util.List<java.lang.String>> lockedFields()
An array of fields that are locked. To request updates, please contact Moov support.
-
createdOn
public java.time.OffsetDateTime createdOn()
-
updatedOn
public java.time.OffsetDateTime updatedOn()
-
builder
public static final SweepConfig.Builder builder()
-
withSweepConfigID
public SweepConfig withSweepConfigID(java.lang.String sweepConfigID)
-
withWalletID
public SweepConfig withWalletID(java.lang.String walletID)
-
withStatus
public SweepConfig withStatus(SweepConfigStatus status)
-
withPushPaymentMethod
public SweepConfig withPushPaymentMethod(SweepConfigPaymentMethod pushPaymentMethod)
The 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.
-
withPullPaymentMethod
public SweepConfig withPullPaymentMethod(SweepConfigPaymentMethod pullPaymentMethod)
The 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.
-
withMinimumBalance
public SweepConfig withMinimumBalance(java.lang.String minimumBalance)
An optional field to specify an amount to maintain in the wallet. This is a decimal-formatted numerical string that represents up to 2 decimal place precision. In USD for example, 12.34 is $12.34 and 0.99 is $0.99. If not supplied, the default is 0.00.
-
withMinimumBalance
public SweepConfig withMinimumBalance(java.util.Optional<java.lang.String> minimumBalance)
An optional field to specify an amount to maintain in the wallet. This is a decimal-formatted numerical string that represents up to 2 decimal place precision. In USD for example, 12.34 is $12.34 and 0.99 is $0.99. If not supplied, the default is 0.00.
-
withStatementDescriptor
public SweepConfig withStatementDescriptor(java.lang.String statementDescriptor)
The text that appears on the banking statement. The default descriptor is a 10 character ID if an override is not set in the sweep configs statementDescriptor.
-
withStatementDescriptor
public SweepConfig withStatementDescriptor(java.util.Optional<java.lang.String> statementDescriptor)
The text that appears on the banking statement. The default descriptor is a 10 character ID if an override is not set in the sweep configs statementDescriptor.
-
withLockedFields
public SweepConfig withLockedFields(java.util.List<java.lang.String> lockedFields)
An array of fields that are locked. To request updates, please contact Moov support.
-
withLockedFields
public SweepConfig withLockedFields(java.util.Optional<? extends java.util.List<java.lang.String>> lockedFields)
An array of fields that are locked. To request updates, please contact Moov support.
-
withCreatedOn
public SweepConfig withCreatedOn(java.time.OffsetDateTime createdOn)
-
withUpdatedOn
public SweepConfig withUpdatedOn(java.time.OffsetDateTime updatedOn)
-
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
-
-