public/wordpress/wp-content/plugins/wp-courseware/includes/gateways/stripe/stripe-api.php
/**
	 * Internal Stripe Api: Get Stripe Charge.
	 *
	 * @since 4.3.0
	 *
	 * @param string $charge_id The stripe charge id.
	 *
	 * @return Charge|object The stripe charge object or error object on failure.
	 */
Internal Stripe Api: Get Stripe Charge.

@param string $charge_id The stripe charge id.

@return Charge|object The stripe charge object or error object on failure.
Internal Stripe Api : Get Stripe Charge . @param string $charge_id The stripe charge id . @return Charge|object The stripe charge object or error object on failure .
protected function api_get_charge( $charge_id = '' ) {
		if ( empty( $charge_id ) ) {
			throw new Stripe_Exception( 'stripe-api-get-charge-id-empty', esc_html__( 'The charge id needed to retrieve the stripe charge was empty. Please try again.', 'wp-courseware' ) );
		}
		return Charge::retrieve( array( 'id' => $charge_id, 'expand' => array( 'balance_transaction' ) ) );
	}
protected function api_get_charge ( $ charge_id = '' ) { if ( empty ( $ charge_id ) ) { throw new Stripe_Exception ( 'stripe-api-get-charge-id-empty' , esc_html__ ( 'The charge id needed to retrieve the stripe charge was empty. Please try again.' , 'wp-courseware' ) ) ; } return Charge :: retrieve ( array ( 'id' => $ charge_id , 'expand' => array ( 'balance_transaction' ) ) ) ; }
Internal Stripe Api: Get Stripe Charge.
Internal Stripe Api : Get Stripe Charge .