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\Client;
use Generated\Shared\Transfer\QuoteTransfer;
class AmazonpayToShipmentBridge implements AmazonpayToShipmentBridgeInterface
{
* @var \Spryker\Client\Shipment\ShipmentClientInterface
protected $shipmentClient;
* @param \Spryker\Client\Shipment\ShipmentClientInterface $shipmentClient
public function __construct($shipmentClient)
$this->shipmentClient = $shipmentClient;
}
* @param \Generated\Shared\Transfer\QuoteTransfer $quoteTransfer
*
* @return \Generated\Shared\Transfer\ShipmentMethodsTransfer
public function getAvailableMethods(QuoteTransfer $quoteTransfer)
return $this->shipmentClient->getAvailableMethods($quoteTransfer);