WC_REST_Payment_Gateways_V2_Controller
Paymenga gateways controller class.
Description Description
Source Source
File: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
Methods Methods
- get_collection_params — Get any query params needed.
- get_gateway — Get a gateway based on the current request object.
- get_item — Get a single payment gateway.
- get_item_permissions_check — Check if a given request has access to read a payment gateway.
- get_item_schema — Get the payment gateway schema, conforming to JSON Schema.
- get_items — Get payment gateways.
- get_items_permissions_check — Check whether a given request has permission to view payment gateways.
- get_settings — Return settings associated with this payment gateway.
- prepare_item_for_response — Prepare a payment gateway for response.
- prepare_links — Prepare links for the request.
- register_routes — Register the route for /payment_gateways and /payment_gateways/
- update_item — Update A Single Payment Method.
- update_items_permissions_check — Check whether a given request has permission to edit payment gateways.