Form.php 557 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Paypal\Block\PayflowExpress;
  7. use Magento\Paypal\Model\Config;
  8. class Form extends \Magento\Paypal\Block\Express\Form
  9. {
  10. /**
  11. * Payment method code
  12. * @var string
  13. */
  14. protected $_methodCode = Config::METHOD_WPP_PE_EXPRESS;
  15. /**
  16. * No billing agreements available for payflow express
  17. *
  18. * @return string|null
  19. */
  20. public function getBillingAgreementCode()
  21. {
  22. return false;
  23. }
  24. }