Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
RestApiUtil::adjust_line_items_for_create_refund_request( array $line_items )
Convert the line items of a refund request to internal format (see adjust_create_refund_request_parameters).
Description Description
Parameters Parameters
- $line_items
-
(Required) The line items to convert.
Return Return
(array) The converted line items.
Source Source
File: src/Internal/RestApiUtil.php