Automattic\WooCommerce\Internal\Fulfillments

Fulfillment::set_is_fulfilledprivateWC 1.0

Set if the fulfillment is fulfilled. This is an internal method which is bound to the fulfillment status.

Method of the class: Fulfillment{}

No Hooks.

Returns

null. Nothing (null).

Usage

// private - for code of main (parent) class only
$result = $this->set_is_fulfilled( $is_fulfilled ): void;
$is_fulfilled(true|false) (required)
Whether the fulfillment is fulfilled.

@return void.

Fulfillment::set_is_fulfilled() code WC 10.3.3

private function set_is_fulfilled( bool $is_fulfilled ): void {
	$this->data['is_fulfilled'] = $is_fulfilled;
}