| 1 | <?php |
||
| 19 | class IdResourceModel implements ResourceModelInterface |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * API v3 ID. |
||
| 23 | * |
||
| 24 | * @SA\Type("string") |
||
| 25 | * @SA\SerializedName("id") |
||
| 26 | * |
||
| 27 | * @var string|null |
||
| 28 | */ |
||
| 29 | protected $id; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * API v2 legacy ID. |
||
| 33 | * |
||
| 34 | * @SA\Type("string") |
||
| 35 | * @SA\SerializedName("apiV2Id") |
||
| 36 | * |
||
| 37 | * @var string|null |
||
| 38 | */ |
||
| 39 | protected $apiV2Id; |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @return null|string |
||
| 43 | */ |
||
| 44 | 1 | public function getId() |
|
| 48 | |||
| 49 | /** |
||
| 50 | * @param null|string $id |
||
| 51 | * |
||
| 52 | * @return $this |
||
| 53 | */ |
||
| 54 | 1 | public function setId($id) |
|
| 60 | |||
| 61 | /** |
||
| 62 | * @return null|string |
||
| 63 | */ |
||
| 64 | 1 | public function getApiV2Id() |
|
| 68 | |||
| 69 | /** |
||
| 70 | * @param null|string $apiV2Id |
||
| 71 | * |
||
| 72 | * @return $this |
||
| 73 | */ |
||
| 74 | 1 | public function setApiV2Id($apiV2Id) |
|
| 80 | } |
||
| 81 |