1 | <?php |
||
10 | class ProductSelling extends Service implements ProductSellingInterface |
||
11 | { |
||
12 | |||
13 | /** |
||
14 | * @var SoapClient|null |
||
15 | */ |
||
16 | private $_client; |
||
17 | |||
18 | /** |
||
19 | * Category constructor |
||
20 | * endPoint set edildi. |
||
21 | * @throws N11Exception|\SoapFault |
||
22 | */ |
||
23 | public function __construct() |
||
28 | |||
29 | /** |
||
30 | * @param int $productId |
||
31 | * @return mixed |
||
32 | * @description Satışta olmayan bir ürünün N11 ürün ID si kullanılarak satışa başlanması için kullanılır. |
||
33 | */ |
||
34 | public function startSellingProductByProductId(int $productId): object |
||
39 | |||
40 | /** |
||
41 | * @param string $productSellerCode |
||
42 | * @return mixed |
||
43 | * @description Satışta olmayan bir ürünün mağaza ürün kodu kullanılarak satışa başlanması için kullanılır. |
||
44 | */ |
||
45 | public function startSellingProductBySellerCode(string $productSellerCode): object |
||
50 | |||
51 | /** |
||
52 | * @param int $productId |
||
53 | * @return mixed |
||
54 | * @description Satışta olan ürünün n11 ürün ID si kullanılarak satışa kapatılması için kullanılır. |
||
55 | */ |
||
56 | public function stopSellingProductByProductId(int $productId): object |
||
61 | |||
62 | /** |
||
63 | * @param string $productSellerCode |
||
64 | * @return mixed |
||
65 | * @description Satışta olan ürünün mağaza ürün kodu kullanılarak satışının durdurulması için kullanılır. |
||
66 | */ |
||
67 | public function stopSellingProductBySellerCode(string $productSellerCode): object |
||
72 | |||
73 | } |
||
74 |