Automattic\WooCommerce\StoreApi\Schemas\V1

BatchSchema{}WC 1.0

BatchSchema class.

Хуков нет.

Использование

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

Методы

  1. public get_properties()

Код BatchSchema{} WC 6.8.0

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 [];
	}
}