| 1 |
<?php |
| 2 |
/** |
| 3 |
* Class Rest_API\Letterbox\Item_Info file. |
| 4 |
* |
| 5 |
* @package PostNLWooCommerce\Rest_API\Legacy\Letterbox |
| 6 |
*/ |
| 7 |
|
| 8 |
namespace PostNLWooCommerce\Rest_API\Legacy\Letterbox; |
| 9 |
|
| 10 |
use PostNLWooCommerce\Rest_API\Legacy\Shipping; |
| 11 |
|
| 12 |
if ( ! defined( 'ABSPATH' ) ) { |
| 13 |
exit; |
| 14 |
} |
| 15 |
|
| 16 |
/** |
| 17 |
* Class Item_Info |
| 18 |
* |
| 19 |
* @package PostNLWooCommerce\Rest_API\Legacy\Letterbox |
| 20 |
*/ |
| 21 |
class Item_Info extends Shipping\Item_Info { |
| 22 |
/** |
| 23 |
* Get product code from api args. |
| 24 |
* |
| 25 |
* @return String. |
| 26 |
*/ |
| 27 |
public function get_product_code() { |
| 28 |
return '2928'; |
| 29 |
} |
| 30 |
|
| 31 |
/** |
| 32 |
* Get product options from api args. |
| 33 |
* |
| 34 |
* @return String. |
| 35 |
*/ |
| 36 |
public function get_product_options() { |
| 37 |
return array(); |
| 38 |
} |
| 39 |
} |
| 40 |
|