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.util.Optional<java.lang.String> xMoovVersion, 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.ListPaymentMethodsRequestwithXMoovVersion(java.lang.String xMoovVersion)Specify an API version.ListPaymentMethodsRequestwithXMoovVersion(java.util.Optional<java.lang.String> xMoovVersion)Specify an API version.java.util.Optional<java.lang.String>xMoovVersion()Specify an API version.
-
-
-
Constructor Detail
-
ListPaymentMethodsRequest
public ListPaymentMethodsRequest(java.util.Optional<java.lang.String> xMoovVersion, 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
-
xMoovVersion
public java.util.Optional<java.lang.String> xMoovVersion()
Specify an API version.API versioning follows the format `vYYYY.QQ.BB`, where - `YYYY` is the year - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10) - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
-
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 final ListPaymentMethodsRequest.Builder builder()
-
withXMoovVersion
public ListPaymentMethodsRequest withXMoovVersion(java.lang.String xMoovVersion)
Specify an API version.API versioning follows the format `vYYYY.QQ.BB`, where - `YYYY` is the year - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10) - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
-
withXMoovVersion
public ListPaymentMethodsRequest withXMoovVersion(java.util.Optional<java.lang.String> xMoovVersion)
Specify an API version.API versioning follows the format `vYYYY.QQ.BB`, where - `YYYY` is the year - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10) - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter. - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
-
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
-
-