1 | <?php |
||
12 | class ArticleService extends AbstractService |
||
13 | { |
||
14 | /** |
||
15 | * Get the articles. |
||
16 | * |
||
17 | * @param string $articleNumber Article number to filter on. |
||
18 | 3 | * @return Get\ApiResponse |
|
19 | */ |
||
20 | 3 | public function getArticles($articleNumber = null) |
|
29 | |||
30 | /** |
||
31 | * Get one article by article number. |
||
32 | * |
||
33 | * @param string $articleNumber Article number of the article to get. |
||
34 | * @return Article|null |
||
35 | */ |
||
36 | public function getArticle($articleNumber) |
||
50 | |||
51 | /** |
||
52 | * Get the checkout URL for an article. |
||
53 | * |
||
54 | * @param string $articleNumber Article number of the article to get the checkout URL. |
||
55 | * @param Customer $customer The customer for witch the checkout URL should be created. |
||
56 | * @return string |
||
57 | */ |
||
58 | public function getCheckoutURL($articleNumber, Customer $customer = null) |
||
76 | } |
||
77 |