| Total Complexity | 5 | 
| Total Lines | 40 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 19 | class AmazonPayCommunicationFactory extends AbstractCommunicationFactory | ||
| 20 | { | ||
| 21 | /** | ||
| 22 | * @return \SprykerEco\Zed\AmazonPay\Dependency\Facade\AmazonPayToSalesInterface | ||
| 23 | */ | ||
| 24 | public function getSalesFacade() | ||
| 25 |     { | ||
| 26 | return $this->getProvidedDependency(AmazonPayDependencyProvider::FACADE_SALES); | ||
| 27 | } | ||
| 28 | |||
| 29 | /** | ||
| 30 | * @return \SprykerEco\Zed\AmazonPay\Dependency\Facade\AmazonPayToOmsInterface | ||
| 31 | */ | ||
| 32 | public function getOmsFacade() | ||
| 33 |     { | ||
| 34 | return $this->getProvidedDependency(AmazonPayDependencyProvider::FACADE_OMS); | ||
| 35 | } | ||
| 36 | |||
| 37 | /** | ||
| 38 | * @return \SprykerEco\Zed\AmazonPay\Dependency\Facade\AmazonPayToRefundInterface | ||
| 39 | */ | ||
| 40 | public function getRefundFacade() | ||
| 41 |     { | ||
| 42 | return $this->getProvidedDependency(AmazonPayDependencyProvider::FACADE_REFUND); | ||
| 43 | } | ||
| 44 | |||
| 45 | /** | ||
| 46 | * @return \SprykerEco\Zed\AmazonPay\Business\Payment\RequestAmountCalculatorInterface | ||
| 47 | */ | ||
| 48 | public function createRequestAmountCalculator() | ||
| 51 | } | ||
| 52 | |||
| 53 | /** | ||
| 54 | * @return \SprykerEco\Zed\AmazonPay\Business\Converter\AmazonPayEntityToTransferConverterInterface | ||
| 55 | */ | ||
| 56 | public function createPaymentAmazonpayConverter() | ||
| 59 | } | ||
| 60 | } | ||
| 61 |