| 1 | <?php |
||
| 21 | class IdResourceModel extends AbstractModel implements ResourceModelInterface |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * API v3 ID. |
||
| 25 | * |
||
| 26 | * @SA\Type("string") |
||
| 27 | * @SA\SerializedName("id") |
||
| 28 | * |
||
| 29 | * @var string|null |
||
| 30 | */ |
||
| 31 | protected $id; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * API v2 legacy ID. |
||
| 35 | * |
||
| 36 | * @SA\Type("string") |
||
| 37 | * @SA\SerializedName("apiV2Id") |
||
| 38 | * |
||
| 39 | * @var string|null |
||
| 40 | */ |
||
| 41 | protected $apiV2Id; |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @return null|string |
||
| 45 | */ |
||
| 46 | 1 | public function getId() |
|
| 50 | |||
| 51 | /** |
||
| 52 | * @param null|string $id |
||
| 53 | * |
||
| 54 | * @return $this |
||
| 55 | */ |
||
| 56 | 1 | public function setId($id) |
|
| 62 | |||
| 63 | /** |
||
| 64 | * @return null|string |
||
| 65 | */ |
||
| 66 | 1 | public function getApiV2Id() |
|
| 70 | |||
| 71 | /** |
||
| 72 | * @param null|string $apiV2Id |
||
| 73 | * |
||
| 74 | * @return $this |
||
| 75 | */ |
||
| 76 | 1 | public function setApiV2Id($apiV2Id) |
|
| 82 | } |
||
| 83 |