for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Apache OSL-2
* Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
*/
namespace SprykerEco\Zed\Amazonpay\Dependency\Facade;
class AmazonpayToShipmentBridge implements AmazonpayToShipmentInterface
{
* @var \Spryker\Zed\Shipment\Business\ShipmentFacadeInterface
protected $shipmentFacade;
* @param \Spryker\Zed\Shipment\Business\ShipmentFacadeInterface $shipmentFacade
public function __construct($shipmentFacade)
$this->shipmentFacade = $shipmentFacade;
}
* @param int $idMethod
*
* @return \Generated\Shared\Transfer\ShipmentMethodTransfer
public function getShipmentMethodTransferById($idMethod)
return $this->shipmentFacade->getShipmentMethodTransferById($idMethod);