init
This commit is contained in:
+22
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © Magento, Inc. All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
namespace Magento\InstantPurchase\CustomerData;
|
||||
|
||||
use Magento\InstantPurchase\PaymentMethodIntegration\PaymentTokenFormatterInterface;
|
||||
use Magento\Vault\Api\Data\PaymentTokenInterface;
|
||||
|
||||
class StubPaymentTokenFormatter implements PaymentTokenFormatterInterface
|
||||
{
|
||||
const VALUE = 'stub payment token formatting result';
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function formatPaymentToken(PaymentTokenInterface $paymentToken): string
|
||||
{
|
||||
return self::VALUE;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user