Bml.php 703 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Paypal\Model\Payflow;
  7. use Magento\Paypal\Model;
  8. class Bml extends Model\Express
  9. {
  10. /**
  11. * Payment method code
  12. * @var string
  13. */
  14. protected $_code = Model\Config::METHOD_WPP_PE_BML;
  15. /**
  16. * Checkout payment form
  17. * @var string
  18. */
  19. protected $_formBlockType = \Magento\Paypal\Block\Payflow\Bml\Form::class;
  20. /**
  21. * Checkout redirect URL getter for onepage checkout
  22. *
  23. * @return string
  24. */
  25. public function getCheckoutRedirectUrl()
  26. {
  27. return $this->_urlBuilder->getUrl('paypal/payflowbml/start');
  28. }
  29. }