Class CardIssuing
- java.lang.Object
-
- io.moov.sdk.CardIssuing
-
- All Implemented Interfaces:
SDKMethodInterfaces.MethodCallGetFullIssuedCard,SDKMethodInterfaces.MethodCallGetIssuedCard,SDKMethodInterfaces.MethodCallListIssuedCards,SDKMethodInterfaces.MethodCallRequestCard,SDKMethodInterfaces.MethodCallUpdateIssuedCard
public class CardIssuing extends java.lang.Object implements SDKMethodInterfaces.MethodCallRequestCard, SDKMethodInterfaces.MethodCallListIssuedCards, SDKMethodInterfaces.MethodCallGetIssuedCard, SDKMethodInterfaces.MethodCallUpdateIssuedCard, SDKMethodInterfaces.MethodCallGetFullIssuedCard
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetIssuedCardRequestBuilderget()Retrieve a single issued card associated with a Moov account.GetIssuedCardResponseget(java.lang.String accountID, java.lang.String issuedCardID)Retrieve a single issued card associated with a Moov account.GetIssuedCardResponseget(java.util.Optional<java.lang.String> xMoovVersion, java.lang.String accountID, java.lang.String issuedCardID)Retrieve a single issued card associated with a Moov account.GetFullIssuedCardRequestBuildergetFull()Get issued card with PAN, CVV, and expiration.GetFullIssuedCardResponsegetFull(java.lang.String accountID, java.lang.String issuedCardID)Get issued card with PAN, CVV, and expiration.GetFullIssuedCardResponsegetFull(java.util.Optional<java.lang.String> xMoovVersion, java.lang.String accountID, java.lang.String issuedCardID)Get issued card with PAN, CVV, and expiration.ListIssuedCardsRequestBuilderlist()List Moov issued cards existing for the account.ListIssuedCardsResponselist(ListIssuedCardsRequest request)List Moov issued cards existing for the account.RequestCardRequestBuilderrequest()Request a virtual card be issued.RequestCardResponserequest(java.lang.String accountID, RequestCard requestCard)Request a virtual card be issued.RequestCardResponserequest(java.util.Optional<java.lang.String> xMoovVersion, java.lang.String accountID, RequestCard requestCard)Request a virtual card be issued.UpdateIssuedCardRequestBuilderupdate()Update a Moov issued card.UpdateIssuedCardResponseupdate(java.lang.String accountID, java.lang.String issuedCardID, UpdateIssuedCard updateIssuedCard)Update a Moov issued card.UpdateIssuedCardResponseupdate(java.util.Optional<java.lang.String> xMoovVersion, java.lang.String accountID, java.lang.String issuedCardID, UpdateIssuedCard updateIssuedCard)Update a Moov issued card.
-
-
-
Method Detail
-
request
public RequestCardRequestBuilder request()
Request a virtual card be issued.To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/issued-cards.write` scope.
- Returns:
- The call builder
-
request
public RequestCardResponse request(java.lang.String accountID, RequestCard requestCard) throws java.lang.Exception
Request a virtual card be issued.To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/issued-cards.write` scope.
- Parameters:
accountID- The Moov business account for which the card is to be issued.requestCard-- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
request
public RequestCardResponse request(java.util.Optional<java.lang.String> xMoovVersion, java.lang.String accountID, RequestCard requestCard) throws java.lang.Exception
Request a virtual card be issued.To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/issued-cards.write` scope.
- Specified by:
requestin interfaceSDKMethodInterfaces.MethodCallRequestCard- 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- The Moov business account for which the card is to be issued.requestCard-- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
list
public ListIssuedCardsRequestBuilder list()
List Moov issued cards existing for the 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}/issued-cards.read` scope.
- Returns:
- The call builder
-
list
public ListIssuedCardsResponse list(ListIssuedCardsRequest request) throws java.lang.Exception
List Moov issued cards existing for the 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}/issued-cards.read` scope.
- Specified by:
listin interfaceSDKMethodInterfaces.MethodCallListIssuedCards- 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
-
get
public GetIssuedCardRequestBuilder get()
Retrieve a single issued card associated with a Moov 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}/issued-cards.read` scope.
- Returns:
- The call builder
-
get
public GetIssuedCardResponse get(java.lang.String accountID, java.lang.String issuedCardID) throws java.lang.Exception
Retrieve a single issued card associated with a Moov 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}/issued-cards.read` scope.
- Parameters:
accountID- The Moov business account for which the card was issued.issuedCardID-- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
get
public GetIssuedCardResponse get(java.util.Optional<java.lang.String> xMoovVersion, java.lang.String accountID, java.lang.String issuedCardID) throws java.lang.Exception
Retrieve a single issued card associated with a Moov 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}/issued-cards.read` scope.
- Specified by:
getin interfaceSDKMethodInterfaces.MethodCallGetIssuedCard- 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- The Moov business account for which the card was issued.issuedCardID-- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
update
public UpdateIssuedCardRequestBuilder update()
Update a Moov issued card.To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/issued-cards.write` scope.
- Returns:
- The call builder
-
update
public UpdateIssuedCardResponse update(java.lang.String accountID, java.lang.String issuedCardID, UpdateIssuedCard updateIssuedCard) throws java.lang.Exception
Update a Moov issued card.To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/issued-cards.write` scope.
- Parameters:
accountID- The Moov business account for which the card was issued.issuedCardID-updateIssuedCard-- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
update
public UpdateIssuedCardResponse update(java.util.Optional<java.lang.String> xMoovVersion, java.lang.String accountID, java.lang.String issuedCardID, UpdateIssuedCard updateIssuedCard) throws java.lang.Exception
Update a Moov issued card.To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/issued-cards.write` scope.
- Specified by:
updatein interfaceSDKMethodInterfaces.MethodCallUpdateIssuedCard- 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- The Moov business account for which the card was issued.issuedCardID-updateIssuedCard-- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
getFull
public GetFullIssuedCardRequestBuilder getFull()
Get issued card with PAN, CVV, and expiration.Only use this endpoint if you have provided Moov with a copy of your PCI attestation of compliance.
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/issued-cards.read-secure` scope.
- Returns:
- The call builder
-
getFull
public GetFullIssuedCardResponse getFull(java.lang.String accountID, java.lang.String issuedCardID) throws java.lang.Exception
Get issued card with PAN, CVV, and expiration.Only use this endpoint if you have provided Moov with a copy of your PCI attestation of compliance.
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/issued-cards.read-secure` scope.
- Parameters:
accountID- The Moov business account for which the card was issued.issuedCardID-- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
getFull
public GetFullIssuedCardResponse getFull(java.util.Optional<java.lang.String> xMoovVersion, java.lang.String accountID, java.lang.String issuedCardID) throws java.lang.Exception
Get issued card with PAN, CVV, and expiration.Only use this endpoint if you have provided Moov with a copy of your PCI attestation of compliance.
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/issued-cards.read-secure` scope.
- Specified by:
getFullin interfaceSDKMethodInterfaces.MethodCallGetFullIssuedCard- 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- The Moov business account for which the card was issued.issuedCardID-- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
-