PluginProbe
PostNL for WooCommerce / 5.9.12
PostNL for WooCommerce v5.9.12
5.9.12 5.9.11 5.9.10 5.9.9 5.9.8 5.9.7 5.9.6 trunk 2.5.0 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 3.1.4 3.1.5 3.1.6 3.1.7 4.0.0 4.0.1 4.0.2 4.3.2 4.3.3 4.4.0 4.4.1 All 72 releases
woo-postnl / src / Rest_API / Legacy / Letterbox / Item_Info.php

Item_Info.php in PostNL for WooCommerce 5.9.12, at src/Rest_API/Legacy/Letterbox/Item_Info.php

40 lines 662 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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