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\Yves\AmazonPay\Dependency\Client;
use Generated\Shared\Transfer\QuoteTransfer;
class AmazonPayToShipmentBridge implements AmazonPayToShipmentInterface
{
* @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\ShipmentMethodsCollectionTransfer
public function getAvailableMethodsByShipment(QuoteTransfer $quoteTransfer)
return $this->shipmentClient->getAvailableMethodsByShipment($quoteTransfer);