Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
WC_Order_Item_Coupon
get_discount
WC_Order_Item_Coupon::get_discount PHP Méthode
WC_Order_Item_Coupon Class Documentation
Afficher le fichier
Open project: woocommerce/woocommerce
get_discount()
public
méthode
Get discount amount.
public
get_discount
(
string
$context
= 'view' ) :
string
$context
string
Résultat
string
public function get_discount($context = 'view') { return $this->get_prop('discount', $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