namespace WPForms\Integrations\Stripe\Api;
* API class initialization.
public function set_config();
* Initial Stripe app configuration.
public function setup_stripe();
* Set payment tokens from a submitted form data.
* @param array $entry Copy of original $_POST.
public function set_payment_tokens( $entry );
* Process single payment.
* @param array $args Single payment arguments.
public function process_single( $args );
* @param array $args Subscription arguments.
public function process_subscription( $args );
* Get API configuration array or its key.
* @param string $key Name of the key to retrieve.
public function get_config( $key = '' );
* Get saved Stripe payment object or its key.
* @param string $key Name of the key to retrieve.
public function get_payment( $key = '' );
* Get saved Stripe customer object or its key.
* @param string $key Name of the key to retrieve.
public function get_customer( $key = '' );
* Get saved Stripe subscription object or its key.
* @param string $key Name of the key to retrieve.
public function get_subscription( $key = '' );
* Get details from a saved Charge object.
* @param string|array $keys Key or an array of keys to retrieve.
public function get_charge_details( $keys );
public function get_error();
public function get_exception();