Méthode | Description | |
---|---|---|
__construct ( $code, $value ) | CouponContract constructor. | |
discount ( ) : string | Gets the discount amount. | |
displayValue ( ) : mixed | Displays the type of value it is for the user. |
public __construct ( $code, $value ) | ||
$code | ||
$value |
public displayValue ( ) : mixed | ||
Résultat | mixed |