Automattic\WooCommerce\Admin\Features\Fulfillments\DataStore

FulfillmentsDataStoreInterface{}interfaceWC 1.0

Interface FulfillmentsDataStoreInterface

Хуков нет.

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

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

Методы

  1. public read_fulfillments( string $entity_type, string $entity_id )

Заметки

  • Пакет: Automattic\WooCommerce\Admin\Features\Fulfillments\DataStore

Код FulfillmentsDataStoreInterface{} WC 10.8.1

interface FulfillmentsDataStoreInterface {
	/**
	 * Read the fulfillment data.
	 *
	 * @param string $entity_type The entity type.
	 * @param string $entity_id The entity ID.
	 *
	 * @return Fulfillment[] Fulfillment object.
	 */
	public function read_fulfillments( string $entity_type, string $entity_id ): array;
}