@@ -88,6 +88,9 @@ discard block |
||
| 88 | 88 | return $this->collection; |
| 89 | 89 | } |
| 90 | 90 | |
| 91 | + /** |
|
| 92 | + * @param string $merchant_id |
|
| 93 | + */ |
|
| 91 | 94 | public function populatePriceData($offer, $item, $merchant_id) |
| 92 | 95 | { |
| 93 | 96 | // New price model object |
@@ -113,6 +116,9 @@ discard block |
||
| 113 | 116 | return $price; |
| 114 | 117 | } |
| 115 | 118 | |
| 119 | + /** |
|
| 120 | + * @param string $key |
|
| 121 | + */ |
|
| 116 | 122 | public function addParam($key, $value) |
| 117 | 123 | { |
| 118 | 124 | $this->search->{'set'.$key}($value); |
@@ -32,6 +32,9 @@ discard block |
||
| 32 | 32 | |
| 33 | 33 | abstract public function addPricesToCollection($response); |
| 34 | 34 | |
| 35 | + /** |
|
| 36 | + * @param string $key |
|
| 37 | + */ |
|
| 35 | 38 | public function addParam($key, $value) |
| 36 | 39 | { |
| 37 | 40 | $this->query[$key] = $value; |
@@ -69,6 +72,9 @@ discard block |
||
| 69 | 72 | return new PriceDto(); |
| 70 | 73 | } |
| 71 | 74 | |
| 75 | + /** |
|
| 76 | + * @param PriceDto $price |
|
| 77 | + */ |
|
| 72 | 78 | public function addPriceToCollection($price) |
| 73 | 79 | { |
| 74 | 80 | $this->collection[] = $price; |