WC_Customer_Download::set_order_id()publicWC 1.0

Set order_id.

Method of the class: WC_Customer_Download{}

No Hooks.

Return

null. Nothing (null).

Usage

$WC_Customer_Download = new WC_Customer_Download();
$WC_Customer_Download->set_order_id( $value );
$value(int) (required)
Order ID.

WC_Customer_Download::set_order_id() code WC 9.3.3

public function set_order_id( $value ) {
	$this->set_prop( 'order_id', absint( $value ) );
}