Class ListPaymentMethodsRequest.Builder

  • Enclosing class:
    ListPaymentMethodsRequest

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

      • sourceID

        public ListPaymentMethodsRequest.Builder sourceID​(java.lang.String sourceID)
        Optional parameter to filter the account's payment methods by source ID.

        A source ID can be a [walletID](https://docs.moov.io/api/sources/wallets/list/), [cardID](https://docs.moov.io/api/sources/cards/list/), or [bankAccountID](https://docs.moov.io/api/sources/bank-accounts/list/).

      • sourceID

        public ListPaymentMethodsRequest.Builder sourceID​(java.util.Optional<java.lang.String> sourceID)
        Optional parameter to filter the account's payment methods by source ID.

        A source ID can be a [walletID](https://docs.moov.io/api/sources/wallets/list/), [cardID](https://docs.moov.io/api/sources/cards/list/), or [bankAccountID](https://docs.moov.io/api/sources/bank-accounts/list/).