get All Charge Intents
suspend fun getAllChargeIntents(page: Int?, perPage: Int?): Pair<ChargeIntentResponses.ListChargeIntentsResponse?, NetworkingError?>
Retrieves a paginated list of all charge intents for the merchant.
Return
A Pair containing a ChargeIntentResponses.ListChargeIntentsResponse on success, or a NetworkingError on failure.
Parameters
page
The 1-based page number to retrieve, or null to use the API default.
per Page
The number of results per page, or null to use the API default.
fun getAllChargeIntents(page: Int?, perPage: Int?, completionHandler: (ChargeIntentResponses.ListChargeIntentsResponse?, NetworkingError?) -> Unit)
Retrieves a paginated list of all charge intents for the merchant.
Parameters
page
The 1-based page number to retrieve, or null to use the API default.
per Page
The number of results per page, or null to use the API default.
completion Handler
Called with a ChargeIntentResponses.ListChargeIntentsResponse on success, or a NetworkingError on failure.