Automattic\WooCommerce\Internal\Agentic\Enums\Specs

RefundType{}WC 1.0

Refund types as defined in the Agentic Commerce Protocol.

No Hooks.

Usage

$RefundType = new RefundType();
// use class methods

Methods

No Methods in class.

RefundType{} code WC 10.5.0

class RefundType {
	/**
	 * Refund to store credit.
	 */
	const STORE_CREDIT = 'store_credit';

	/**
	 * Refund to original payment method.
	 */
	const ORIGINAL_PAYMENT = 'original_payment';
}