Class SweepConfig.Builder

  • Enclosing class:
    SweepConfig

    public static final class SweepConfig.Builder
    extends java.lang.Object
    • Method Detail

      • pushPaymentMethod

        public SweepConfig.Builder pushPaymentMethod​(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 SweepConfig.Builder pullPaymentMethod​(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 SweepConfig.Builder minimumBalance​(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.
      • minimumBalance

        public SweepConfig.Builder minimumBalance​(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 SweepConfig.Builder statementDescriptor​(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.
      • statementDescriptor

        public SweepConfig.Builder statementDescriptor​(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 SweepConfig.Builder lockedFields​(java.util.List<java.lang.String> lockedFields)
        An array of fields that are locked. To request updates, please contact Moov support.
      • lockedFields

        public SweepConfig.Builder lockedFields​(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.