Метод |
Описание |
|
get_code ( string $context = 'view' ) : string |
Get coupon code. |
|
get_discount ( string $context = 'view' ) : string |
Get discount amount. |
|
get_discount_tax ( $context = 'view' ) : string |
Get discounted tax amount. |
|
get_name ( string $context = 'view' ) : string |
Get order item name. |
|
get_type ( ) : string |
Get order item type. |
|
offsetExists ( string $offset ) : boolean |
offsetExists for ArrayAccess |
|
offsetGet ( string $offset ) : mixed |
offsetGet for ArrayAccess/Backwards compatibility. |
|
offsetSet ( string $offset, mixed $value ) |
offsetSet for ArrayAccess/Backwards compatibility. |
|
set_code ( string $value ) |
Set code. |
|
set_discount ( string $value ) |
Set discount amount. |
|
set_discount_tax ( string $value ) |
Set discounted tax amount. |
|
set_name ( string $value ) |
Set order item name. |
|