Class FeePlans
- java.lang.Object
-
- io.moov.sdk.FeePlans
-
- All Implemented Interfaces:
SDKMethodInterfaces.MethodCallCreateFeePlanAgreements,SDKMethodInterfaces.MethodCallListFeePlanAgreements,SDKMethodInterfaces.MethodCallListFeePlans,SDKMethodInterfaces.MethodCallListFeesFetch,SDKMethodInterfaces.MethodCallListPartnerPricing,SDKMethodInterfaces.MethodCallListPartnerPricingAgreements,SDKMethodInterfaces.MethodCallRetrieveFees
public class FeePlans extends java.lang.Object implements SDKMethodInterfaces.MethodCallListFeePlanAgreements, SDKMethodInterfaces.MethodCallCreateFeePlanAgreements, SDKMethodInterfaces.MethodCallListFeePlans, SDKMethodInterfaces.MethodCallRetrieveFees, SDKMethodInterfaces.MethodCallListFeesFetch, SDKMethodInterfaces.MethodCallListPartnerPricing, SDKMethodInterfaces.MethodCallListPartnerPricingAgreements
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateFeePlanAgreementsRequestBuildercreateFeePlanAgreements()Creates the subscription of a fee plan to a merchant account.CreateFeePlanAgreementsResponsecreateFeePlanAgreements(java.lang.String accountID, CreateFeePlanAgreement createFeePlanAgreement)Creates the subscription of a fee plan to a merchant account.CreateFeePlanAgreementsResponsecreateFeePlanAgreements(java.util.Optional<java.lang.String> xMoovVersion, java.lang.String accountID, CreateFeePlanAgreement createFeePlanAgreement)Creates the subscription of a fee plan to a merchant account.ListFeePlanAgreementsRequestBuilderlistFeePlanAgreements()List all fee plan agreements associated with an account.ListFeePlanAgreementsResponselistFeePlanAgreements(ListFeePlanAgreementsRequest request)List all fee plan agreements associated with an account.ListFeePlansRequestBuilderlistFeePlans()List all fee plans available for use by an account.ListFeePlansResponselistFeePlans(java.lang.String accountID)List all fee plans available for use by an account.ListFeePlansResponselistFeePlans(java.util.Optional<java.lang.String> xMoovVersion, java.lang.String accountID, java.util.Optional<? extends java.util.List<java.lang.String>> planIDs)List all fee plans available for use by an account.ListFeesFetchRequestBuilderlistFeesFetch()List fees associated with an account.ListFeesFetchResponselistFeesFetch(java.lang.String accountID)List fees associated with an account.ListFeesFetchResponselistFeesFetch(java.util.Optional<java.lang.String> xMoovVersion, java.lang.String accountID, java.util.Optional<? extends ListFeesFetchRequest> listFeesFetchRequest)List fees associated with an account.ListPartnerPricingRequestBuilderlistPartnerPricing()List all partner pricing plans available for use by an account.ListPartnerPricingResponselistPartnerPricing(java.lang.String accountID)List all partner pricing plans available for use by an account.ListPartnerPricingResponselistPartnerPricing(java.util.Optional<java.lang.String> xMoovVersion, java.lang.String accountID, java.util.Optional<? extends java.util.List<java.lang.String>> planIDs)List all partner pricing plans available for use by an account.ListPartnerPricingAgreementsRequestBuilderlistPartnerPricingAgreements()List all partner pricing agreements associated with an account.ListPartnerPricingAgreementsResponselistPartnerPricingAgreements(ListPartnerPricingAgreementsRequest request)List all partner pricing agreements associated with an account.RetrieveFeesRequestBuilderretrieveFees()Retrieve fees associated with an account.RetrieveFeesResponseretrieveFees(RetrieveFeesRequest request)Retrieve fees associated with an account.
-
-
-
Method Detail
-
listFeePlanAgreements
public ListFeePlanAgreementsRequestBuilder listFeePlanAgreements()
List all fee plan agreements associated with an account.To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/profile.read` scope.
- Returns:
- The call builder
-
listFeePlanAgreements
public ListFeePlanAgreementsResponse listFeePlanAgreements(ListFeePlanAgreementsRequest request) throws java.lang.Exception
List all fee plan agreements associated with an account.To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/profile.read` scope.
- Specified by:
listFeePlanAgreementsin interfaceSDKMethodInterfaces.MethodCallListFeePlanAgreements- Parameters:
request- The request object containing all of the parameters for the API call.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
createFeePlanAgreements
public CreateFeePlanAgreementsRequestBuilder createFeePlanAgreements()
Creates the subscription of a fee plan to a merchant account. Merchants are required to accept the fee plan terms prior to activation.To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/profile.write` scope.
- Returns:
- The call builder
-
createFeePlanAgreements
public CreateFeePlanAgreementsResponse createFeePlanAgreements(java.lang.String accountID, CreateFeePlanAgreement createFeePlanAgreement) throws java.lang.Exception
Creates the subscription of a fee plan to a merchant account. Merchants are required to accept the fee plan terms prior to activation.To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/profile.write` scope.
- Parameters:
accountID-createFeePlanAgreement-- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
createFeePlanAgreements
public CreateFeePlanAgreementsResponse createFeePlanAgreements(java.util.Optional<java.lang.String> xMoovVersion, java.lang.String accountID, CreateFeePlanAgreement createFeePlanAgreement) throws java.lang.Exception
Creates the subscription of a fee plan to a merchant account. Merchants are required to accept the fee plan terms prior to activation.To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/profile.write` scope.
- Specified by:
createFeePlanAgreementsin interfaceSDKMethodInterfaces.MethodCallCreateFeePlanAgreements- Parameters:
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-createFeePlanAgreement-- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
listFeePlans
public ListFeePlansRequestBuilder listFeePlans()
List all fee plans available for use by an account. This is intended to be used by an account when selecting a fee plan to apply to a connected account.To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/profile.read` scope.
- Returns:
- The call builder
-
listFeePlans
public ListFeePlansResponse listFeePlans(java.lang.String accountID) throws java.lang.Exception
List all fee plans available for use by an account. This is intended to be used by an account when selecting a fee plan to apply to a connected account.To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/profile.read` scope.
- Parameters:
accountID-- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
listFeePlans
public ListFeePlansResponse listFeePlans(java.util.Optional<java.lang.String> xMoovVersion, java.lang.String accountID, java.util.Optional<? extends java.util.List<java.lang.String>> planIDs) throws java.lang.Exception
List all fee plans available for use by an account. This is intended to be used by an account when selecting a fee plan to apply to a connected account.To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/profile.read` scope.
- Specified by:
listFeePlansin interfaceSDKMethodInterfaces.MethodCallListFeePlans- Parameters:
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-planIDs- A comma-separated list of plan IDs to filter the results by.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
retrieveFees
public RetrieveFeesRequestBuilder retrieveFees()
Retrieve fees associated with an account.To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
- Returns:
- The call builder
-
retrieveFees
public RetrieveFeesResponse retrieveFees(RetrieveFeesRequest request) throws java.lang.Exception
Retrieve fees associated with an account.To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
- Specified by:
retrieveFeesin interfaceSDKMethodInterfaces.MethodCallRetrieveFees- Parameters:
request- The request object containing all of the parameters for the API call.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
listFeesFetch
public ListFeesFetchRequestBuilder listFeesFetch()
List fees associated with an account.To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
- Returns:
- The call builder
-
listFeesFetch
public ListFeesFetchResponse listFeesFetch(java.lang.String accountID) throws java.lang.Exception
List fees associated with an account.To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
- Parameters:
accountID-- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
listFeesFetch
public ListFeesFetchResponse listFeesFetch(java.util.Optional<java.lang.String> xMoovVersion, java.lang.String accountID, java.util.Optional<? extends ListFeesFetchRequest> listFeesFetchRequest) throws java.lang.Exception
List fees associated with an account.To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
- Specified by:
listFeesFetchin interfaceSDKMethodInterfaces.MethodCallListFeesFetch- Parameters:
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-listFeesFetchRequest- Array of fee IDs to fetch.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
listPartnerPricing
public ListPartnerPricingRequestBuilder listPartnerPricing()
List all partner pricing plans available for use by an account.To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/profile.read` scope.
- Returns:
- The call builder
-
listPartnerPricing
public ListPartnerPricingResponse listPartnerPricing(java.lang.String accountID) throws java.lang.Exception
List all partner pricing plans available for use by an account.To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/profile.read` scope.
- Parameters:
accountID-- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
listPartnerPricing
public ListPartnerPricingResponse listPartnerPricing(java.util.Optional<java.lang.String> xMoovVersion, java.lang.String accountID, java.util.Optional<? extends java.util.List<java.lang.String>> planIDs) throws java.lang.Exception
List all partner pricing plans available for use by an account.To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/profile.read` scope.
- Specified by:
listPartnerPricingin interfaceSDKMethodInterfaces.MethodCallListPartnerPricing- Parameters:
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-planIDs- A comma-separated list of plan IDs to filter the results by.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
listPartnerPricingAgreements
public ListPartnerPricingAgreementsRequestBuilder listPartnerPricingAgreements()
List all partner pricing agreements associated with an account.To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/profile.read` scope.
- Returns:
- The call builder
-
listPartnerPricingAgreements
public ListPartnerPricingAgreementsResponse listPartnerPricingAgreements(ListPartnerPricingAgreementsRequest request) throws java.lang.Exception
List all partner pricing agreements associated with an account.To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/profile.read` scope.
- Specified by:
listPartnerPricingAgreementsin interfaceSDKMethodInterfaces.MethodCallListPartnerPricingAgreements- Parameters:
request- The request object containing all of the parameters for the API call.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
-