Bml.php 638 B

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