Total Complexity | 4 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | class ComputopFactory extends AbstractFactory |
||
20 | { |
||
21 | /** |
||
22 | * @return \SprykerEco\Client\Computop\Zed\ComputopStubInterface |
||
23 | */ |
||
24 | public function createZedStub(): ComputopStubInterface |
||
25 | { |
||
26 | return new ComputopStub( |
||
27 | $this->getZedRequestClient(), |
||
28 | $this->getConfig() |
||
29 | ); |
||
30 | } |
||
31 | |||
32 | /** |
||
33 | * @return \Spryker\Client\ZedRequest\ZedRequestClientInterface |
||
34 | */ |
||
35 | public function getZedRequestClient(): ZedRequestClientInterface |
||
38 | } |
||
39 | |||
40 | /** |
||
41 | * @return \SprykerEco\Client\Computop\Dependency\Client\ComputopToShipmentClientInterface |
||
42 | */ |
||
43 | public function getShipmentClient(): ComputopToShipmentClientInterface |
||
46 | } |
||
47 | |||
48 | /** |
||
49 | * @return \SprykerEco\Client\Computop\ComputopQuoteDefaultShipmentExpanderInterface |
||
50 | */ |
||
51 | public function createComputopQuoteDefaultShipmentExpander(): ComputopQuoteDefaultShipmentExpanderInterface |
||
56 |