WC_REST_Order_Refunds_V1_Controller
REST API Order Refunds controller class.
Description Description
Source Source
File: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
Methods Methods
- __construct — Order refunds actions.
- create_item — Create a single item.
- get_collection_params — Get the query params for collections.
- get_item_schema — Get the Order's schema, conforming to JSON Schema.
- prepare_item_for_response — Prepare a single order refund output for response.
- prepare_links — Prepare links for the request.
- query_args — Query args.
- register_routes — Register the routes for order refunds.