Method |
Description |
|
get_method_id ( string $context = 'view' ) : string |
Get method ID. |
|
get_method_title ( string $context = 'view' ) : string |
Get title. |
|
get_name ( string $context = 'view' ) : string |
Get order item name. |
|
get_taxes ( string $context = 'view' ) : array |
Get taxes. |
|
get_total ( string $context = 'view' ) : string |
Get total cost. |
|
get_total_tax ( string $context = 'view' ) : string |
Get total tax. |
|
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_method_id ( string $value ) |
Set shipping method id. |
|
set_method_title ( string $value ) |
Set method title. |
|
set_name ( string $value ) |
Set order item name. |
|
set_shipping_rate ( $shipping_rate ) |
Set properties based on passed in shipping rate object. |
|
set_taxes ( array $raw_tax_data ) |
Set taxes. |
|
set_total ( string $value ) |
Set total. |
|