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

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