Merge pull request #13693 from woocommerce/orders-refunds-fix-schema

Include missing api_refund item to order refunds schema
This commit is contained in:
Mike Jolley 2017-03-22 15:21:37 +00:00 committed by GitHub
commit a876862bfb
1 changed files with 6 additions and 0 deletions

View File

@ -524,6 +524,12 @@ class WC_REST_Order_Refunds_Controller extends WC_REST_Orders_Controller {
),
),
),
'api_refund' => array(
'description' => __( 'When true, the payment gateway API is used to generate the refund.', 'woocommerce' ),
'type' => 'boolean',
'context' => array( 'edit' ),
'default' => true,
),
),
);