Automattic\WooCommerce\StoreApi\Schemas\V1

BatchSchema{}WC 1.0

BatchSchema class.

No Hooks.

Usage

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

Methods

  1. public get_properties()

BatchSchema{} code WC 8.6.1

class BatchSchema extends AbstractSchema {
	/**
	 * The schema item name.
	 *
	 * @var string
	 */
	protected $title = 'batch';

	/**
	 * The schema item identifier.
	 *
	 * @var string
	 */
	const IDENTIFIER = 'batch';

	/**
	 * Batch schema properties.
	 *
	 * @return array
	 */
	public function get_properties() {
		return [];
	}
}