Skip to content

Commit ee3eb9c

Browse files
authored
Merge pull request #55 from cloudblue/v19-dev
Added UoM on item model
2 parents 76f4ee6 + b2f1a3b commit ee3eb9c

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

src/Item.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,12 @@ class Item extends Model
7171

7272
public $params;
7373

74+
/**
75+
* @var Unit
76+
*/
77+
78+
public $unit;
79+
7480
/**
7581
* Return a Param by ID
7682
* @param string $id

src/Unit.php

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<?php
2+
/**
3+
* This file is part of the Ingram Micro Cloud Blue Connect SDK.
4+
*
5+
* @copyright (c) 2018. Ingram Micro. All Rights Reserved.
6+
*/
7+
8+
namespace Connect;
9+
10+
11+
class Unit extends Model
12+
{
13+
14+
/**
15+
* @var string
16+
*/
17+
public $id;
18+
19+
/**
20+
* @var string
21+
*/
22+
public $title;
23+
24+
/**
25+
* @var string
26+
*/
27+
public $unit;
28+
29+
}

0 commit comments

Comments
 (0)