public/wordpress/wp-content/plugins/wp-courseware/includes/gateways/stripe/stripe-api.php
/**
	 * Internal Stripe Api: Get Invoices.
	 *
	 * @since 4.3.0
	 *
	 * @param array $args The invoice query.
	 *
	 * @return Collection A collection object with invoices.
	 */
Internal Stripe Api: Get Invoices.

@param array $args The invoice query.

@return Collection A collection object with invoices.
Internal Stripe Api : Get Invoices . @param array $args The invoice query . @return Collection A collection object with invoices .
public function api_get_invoices( $args = array() ) {
		if ( empty( $args ) ) {
			throw new Stripe_Exception( 'stripe-api-invoice-query-args-empty', esc_html__( 'The query args to retrieve invoices are empty. Please try again.', 'wp-courseware' ) );
		}
		return Invoice::all( $args );
	}
public function api_get_invoices ( $ args = array ( ) ) { if ( empty ( $ args ) ) { throw new Stripe_Exception ( 'stripe-api-invoice-query-args-empty' , esc_html__ ( 'The query args to retrieve invoices are empty. Please try again.' , 'wp-courseware' ) ) ; } return Invoice :: all ( $ args ) ; }
Internal Stripe Api: Get Invoices.
Internal Stripe Api : Get Invoices .