CreditCardTokenFactory.php 507 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Vault\Model;
  7. /**
  8. * Class CreditCardTokenFactory
  9. * @deprecated 101.0.0
  10. * @see PaymentTokenFactoryInterface
  11. */
  12. class CreditCardTokenFactory extends AbstractPaymentTokenFactory
  13. {
  14. /**
  15. * @var string
  16. */
  17. const TOKEN_TYPE_CREDIT_CARD = 'card';
  18. /**
  19. * @inheritdoc
  20. */
  21. public function getType()
  22. {
  23. return self::TOKEN_TYPE_CREDIT_CARD;
  24. }
  25. }