Class CardOrdersApi
- java.lang.Object
-
- com.adyen.Service
-
- com.adyen.service.balanceplatform.CardOrdersApi
-
public class CardOrdersApi extends Service
-
-
Field Summary
Fields Modifier and Type Field Description static StringAPI_VERSIONprotected StringbaseURL
-
Constructor Summary
Constructors Constructor Description CardOrdersApi(Client client)Card orders constructor inpackage.CardOrdersApi(Client client, String baseURL)Card orders constructor inpackage.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PaginatedGetCardOrderItemResponsegetCardOrderItems(String id)Get card order itemsPaginatedGetCardOrderItemResponsegetCardOrderItems(String id, Integer offset, Integer limit, RequestOptions requestOptions)Get card order itemsPaginatedGetCardOrderResponselistCardOrders()Get a list of card ordersPaginatedGetCardOrderResponselistCardOrders(String id, String cardManufacturingProfileId, String status, String txVariantCode, OffsetDateTime createdSince, OffsetDateTime createdUntil, OffsetDateTime lockedSince, OffsetDateTime lockedUntil, String serviceCenter, Integer offset, Integer limit, RequestOptions requestOptions)Get a list of card orders-
Methods inherited from class com.adyen.Service
createBaseURL, getClient, isApiKeyRequired, setApiKeyRequired, setClient
-
-
-
-
Field Detail
-
API_VERSION
public static final String API_VERSION
- See Also:
- Constant Field Values
-
baseURL
protected String baseURL
-
-
Constructor Detail
-
CardOrdersApi
public CardOrdersApi(Client client)
Card orders constructor inpackage.- Parameters:
client-Client(required)
-
-
Method Detail
-
getCardOrderItems
public PaginatedGetCardOrderItemResponse getCardOrderItems(String id) throws ApiException, IOException
Get card order items- Parameters:
id-StringThe unique identifier of the card order. (required)- Returns:
PaginatedGetCardOrderItemResponse- Throws:
ApiException- if fails to make API callIOException
-
getCardOrderItems
public PaginatedGetCardOrderItemResponse getCardOrderItems(String id, Integer offset, Integer limit, RequestOptions requestOptions) throws ApiException, IOException
Get card order items- Parameters:
id-StringThe unique identifier of the card order. (required)offset-IntegerQuery: Specifies the position of an element in a list of card orders. The response includes a list of card order items that starts at the specified offset. **Default:** 0, which means that the response contains all the elements in the list of card order items. (optional)limit-IntegerQuery: The number of card order items returned per page. **Default:** 10. (optional)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
PaginatedGetCardOrderItemResponse- Throws:
ApiException- if fails to make API callIOException
-
listCardOrders
public PaginatedGetCardOrderResponse listCardOrders() throws ApiException, IOException
Get a list of card orders- Returns:
PaginatedGetCardOrderResponse- Throws:
ApiException- if fails to make API callIOException
-
listCardOrders
public PaginatedGetCardOrderResponse listCardOrders(String id, String cardManufacturingProfileId, String status, String txVariantCode, OffsetDateTime createdSince, OffsetDateTime createdUntil, OffsetDateTime lockedSince, OffsetDateTime lockedUntil, String serviceCenter, Integer offset, Integer limit, RequestOptions requestOptions) throws ApiException, IOException
Get a list of card orders- Parameters:
id-StringQuery: The unique identifier of the card order. (optional)cardManufacturingProfileId-StringQuery: The unique identifier of the card manufacturer profile. (optional)status-StringQuery: The status of the card order. (optional)txVariantCode-StringQuery: The unique code of the card manufacturer profile. Possible values: **mcmaestro**, **mc**, **visa**, **mcdebit**. (optional)createdSince-OffsetDateTimeQuery: Only include card orders that have been created on or after this point in time. The value must be in ISO 8601 format. For example, **2021-05-30T15:07:40Z**. (optional)createdUntil-OffsetDateTimeQuery: Only include card orders that have been created on or before this point in time. The value must be in ISO 8601 format. For example, **2021-05-30T15:07:40Z**. (optional)lockedSince-OffsetDateTimeQuery: Only include card orders that have been locked on or after this point in time. The value must be in ISO 8601 format. For example, **2021-05-30T15:07:40Z**. (optional)lockedUntil-OffsetDateTimeQuery: Only include card orders that have been locked on or before this point in time. The value must be in ISO 8601 format. For example, **2021-05-30T15:07:40Z**. (optional)serviceCenter-StringQuery: The service center at which the card is issued. The value is case-sensitive. (optional)offset-IntegerQuery: Specifies the position of an element in a list of card orders. The response includes a list of card orders that starts at the specified offset. **Default:** 0, which means that the response contains all the elements in the list of card orders. (optional)limit-IntegerQuery: The number of card orders returned per page. **Default:** 10. (optional)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
PaginatedGetCardOrderResponse- Throws:
ApiException- if fails to make API callIOException
-
-