RestApiUtil
Class: Helper methos for the REST API.
Source: src/Internal/RestApiUtil.php:15
Class: Helper methos for the REST API.
Source: src/Internal/RestApiUtil.php:15
Method: Converts a create refund request from the public API format:
Source: src/Internal/RestApiUtil.php:60
Method: Calculate the “amount” parameter for the request based on the amounts found in line items.
Source: src/Internal/RestApiUtil.php:96
Method: Convert the line items of a refund request to internal format (see adjust_create_refund_request_parameters).
Source: src/Internal/RestApiUtil.php:133
Method: Adjust the taxes array from a line item in a refund request, see adjust_create_refund_parameters.
Source: src/Internal/RestApiUtil.php:168
Method: Is an array sequential or associative?
Source: src/Internal/RestApiUtil.php:193