Lines: 1 to 34 of 34
<?php if ( ! defined( 'ABSPATH' ) ) { exit; } /* class WC_Payment_Gateway */ /* function WC_Payment_Gateway::get_tokens() – Returns a users saved tokens for this gateway. */ /* function WC_Payment_Gateway::get_method_title() – Return the title for admin screens. */ /* function WC_Payment_Gateway::get_method_description() – Return the description for admin screens. */ /* function WC_Payment_Gateway::admin_options() – Output the gateway settings screen. */ /* function WC_Payment_Gateway::init_settings() – Init settings for gateways. */ /* function WC_Payment_Gateway::get_return_url() – Get the return url (thank you page). */ /* function WC_Payment_Gateway::get_transaction_url() – Get a link to the transaction on the 3rd party gateway size (if applicable). */ /* function WC_Payment_Gateway::get_order_total() – Get the order total in checkout and pay_for_order. */ /* function WC_Payment_Gateway::is_available() – Check if the gateway is available for use. */ /* function WC_Payment_Gateway::has_fields() – Check if the gateway has fields on the checkout. */ /* function WC_Payment_Gateway::get_title() – Return the gateway’s title. */ /* function WC_Payment_Gateway::get_description() – Return the gateway’s description. */ /* function WC_Payment_Gateway::get_icon() – Return the gateway’s icon. */ /* function WC_Payment_Gateway::set_current() – Set as current gateway. */ /* function WC_Payment_Gateway::process_payment() – Process Payment. */ /* function WC_Payment_Gateway::process_refund() – Process refund. */ /* function WC_Payment_Gateway::validate_fields() – Validate frontend fields. */ /* function WC_Payment_Gateway::payment_fields() – If There are no payment fields show the description if set. */ /* function WC_Payment_Gateway::supports() – Check if a gateway supports a given feature. */ /* function WC_Payment_Gateway::credit_card_form() – Core credit card form which gateways can used if needed. Deprecated – inheirt WC_Payment_Gateway_CC instead. */ /* function WC_Payment_Gateway::tokenization_script() – Enqueues our tokenization script to handle some of the new form options. */ /* function WC_Payment_Gateway::saved_payment_methods() – Grab and display our saved payment methods. */ /* function WC_Payment_Gateway::get_saved_payment_method_option_html() – Gets saved payment method HTML from a token. */ /* function WC_Payment_Gateway::get_new_payment_method_option_html() – Displays a radio button for entering a new payment method (new CC details) instead of using a saved method. */ /* function WC_Payment_Gateway::save_payment_method_checkbox() – Outputs a checkbox for saving a new payment method to the database. */ /* function WC_Payment_Gateway::add_payment_method */