Package io.moov.sdk.models.operations
Class ListPaymentMethodsRequest
- java.lang.Object
-
- io.moov.sdk.models.operations.ListPaymentMethodsRequest
-
public class ListPaymentMethodsRequest extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListPaymentMethodsRequest.Builder
-
Constructor Summary
Constructors Constructor Description ListPaymentMethodsRequest(java.lang.String accountID)ListPaymentMethodsRequest(java.lang.String accountID, java.util.Optional<java.lang.String> sourceID, java.util.Optional<? extends PaymentMethodType> paymentMethodType)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringaccountID()static ListPaymentMethodsRequest.Builderbuilder()booleanequals(java.lang.Object o)inthashCode()java.util.Optional<PaymentMethodType>paymentMethodType()Optional parameter to filter the account's payment methods by payment method type.java.util.Optional<java.lang.String>sourceID()Optional parameter to filter the account's payment methods by source ID.java.lang.StringtoString()ListPaymentMethodsRequestwithAccountID(java.lang.String accountID)ListPaymentMethodsRequestwithPaymentMethodType(PaymentMethodType paymentMethodType)Optional parameter to filter the account's payment methods by payment method type.ListPaymentMethodsRequestwithPaymentMethodType(java.util.Optional<? extends PaymentMethodType> paymentMethodType)Optional parameter to filter the account's payment methods by payment method type.ListPaymentMethodsRequestwithSourceID(java.lang.String sourceID)Optional parameter to filter the account's payment methods by source ID.ListPaymentMethodsRequestwithSourceID(java.util.Optional<java.lang.String> sourceID)Optional parameter to filter the account's payment methods by source ID.
-
-
-
Constructor Detail
-
ListPaymentMethodsRequest
public ListPaymentMethodsRequest(java.lang.String accountID, java.util.Optional<java.lang.String> sourceID, java.util.Optional<? extends PaymentMethodType> paymentMethodType)
-
ListPaymentMethodsRequest
public ListPaymentMethodsRequest(java.lang.String accountID)
-
-
Method Detail
-
accountID
public java.lang.String accountID()
-
sourceID
public 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/).
-
paymentMethodType
public java.util.Optional<PaymentMethodType> paymentMethodType()
Optional parameter to filter the account's payment methods by payment method type.
-
builder
public static ListPaymentMethodsRequest.Builder builder()
-
withAccountID
public ListPaymentMethodsRequest withAccountID(java.lang.String accountID)
-
withSourceID
public ListPaymentMethodsRequest withSourceID(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/).
-
withSourceID
public ListPaymentMethodsRequest withSourceID(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/).
-
withPaymentMethodType
public ListPaymentMethodsRequest withPaymentMethodType(PaymentMethodType paymentMethodType)
Optional parameter to filter the account's payment methods by payment method type.
-
withPaymentMethodType
public ListPaymentMethodsRequest withPaymentMethodType(java.util.Optional<? extends PaymentMethodType> paymentMethodType)
Optional parameter to filter the account's payment methods by payment method type.
-
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
-
-