WC_Order_Item_Coupon::set_name()publicWC 1.0

Set order item name.

Method of the class: WC_Order_Item_Coupon{}

No Hooks.

Return

null. Nothing (null).

Usage

$WC_Order_Item_Coupon = new WC_Order_Item_Coupon();
$WC_Order_Item_Coupon->set_name( $value );
$value(string) (required)
Coupon code.

WC_Order_Item_Coupon::set_name() code WC 9.3.3

public function set_name( $value ) {
	return $this->set_code( $value );
}