for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* MIT License
* Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
*/
namespace SprykerEco\Yves\Payone\Dependency\Client;
use Generated\Shared\Transfer\QuoteTransfer;
class PayoneToShipmentBridge implements PayoneToShipmentInterface
{
* @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);