Class SweepConfig


  • public class SweepConfig
    extends java.lang.Object
    • 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)
    • Method Detail

      • sweepConfigID

        public java.lang.String sweepConfigID()
      • walletID

        public java.lang.String walletID()
      • 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, ach-credit-same-day, or rtp-credit. 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, ach-credit-same-day, or rtp-credit. 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()
      • withSweepConfigID

        public SweepConfig withSweepConfigID​(java.lang.String sweepConfigID)
      • withWalletID

        public SweepConfig withWalletID​(java.lang.String walletID)
      • 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, ach-credit-same-day, or rtp-credit. 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, ach-credit-same-day, or rtp-credit. 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:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object