public/wordpress/wp-content/plugins/wp-courseware/includes/gateways/stripe/stripe-api.php
/**
	 * Internal Stripe API: Get Source Object.
	 *
	 * @param string $source_id The source id.
	 *
	 * @return Source|object A source object or error object on failure.
	 */
Internal Stripe API: Get Source Object.
@param string $source_id The source id.

@return Source|object A source object or error object on failure.
Internal Stripe API : Get Source Object . @param string $source_id The source id . @return Source|object A source object or error object on failure .
protected function api_get_source( $source_id = '' ) {
		if ( empty( $source_id ) ) {
			throw new Stripe_Exception( 'stripe-api-source-empty', esc_html__( 'Source Id is empty. Please try again.', 'wp-courseware' ) );
		}
		return Source::retrieve( $source_id );
	}
protected function api_get_source ( $ source_id = '' ) { if ( empty ( $ source_id ) ) { throw new Stripe_Exception ( 'stripe-api-source-empty' , esc_html__ ( 'Source Id is empty. Please try again.' , 'wp-courseware' ) ) ; } return Source :: retrieve ( $ source_id ) ; }
Internal Stripe API: Get Source Object.
Internal Stripe API : Get Source Object .