Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
WC_Order_Item_Coupon
get_code
WC_Order_Item_Coupon::get_code PHP Method
WC_Order_Item_Coupon Class Documentation
ファイルを表示
Open project: woocommerce/woocommerce
get_code()
public
method
Get coupon code.
public
get_code
(
string
$context
= 'view' ) :
string
$context
string
return
string
public function get_code($context = 'view') { return $this->get_prop('code', $context); }
WC_Order_Item_Coupon
get_code
get_discount
get_discount_tax
get_name
get_type
offsetExists
offsetGet
offsetSet
set_code
set_discount
set_discount_tax
set_name