Payment/Observer/Multishipping.php
function execute(O $o) {
		if (df_is_checkout_multishipping()) {
			$p = $o['payment']; /** @var OP $p */
			/**
			 * 2017-08-28
			 * I intentionally do not use @see dfp_my() here, 
			 * because this function will instantiate a @see \Df\Payment\Method instance
			 * (or use a previously cached instance). 
			 */
			if (df_starts_with(($code = $p->getMethod()), 'dfe_')) { /** @var string $code */
				Method::sgReset();
				if ($cardId = Token::exchangedGet($code)) {  /** @var string|null $cardId */
					dfp_add_info($p, [Token::KEY => $cardId]);
				}
			}
		}
	}
function execute(O $o) {
		if (df_is_checkout_multishipping()) {
			$p = $o['payment']; /** @var OP $p */
			/**
			 * 2017-08-28
			 * I intentionally do not use @see dfp_my() here, 
			 * because this function will instantiate a @see \Df\Payment\Method instance
			 * (or use a previously cached instance). 
			 */
			if (df_starts_with(($code = $p->getMethod()), 'dfe_')) { /** @var string $code */
				Method::sgReset();
				if ($cardId = Token::exchangedGet($code)) {  /** @var string|null $cardId */
					dfp_add_info($p, [Token::KEY => $cardId]);
				}
			}
		}
	}
function execute ( O $ o ) { if ( df_is_checkout_multishipping ( ) ) { $ p = $ o [ 'payment' ] ; /** @var OP $p */ /**
			 * 2017-08-28
			 * I intentionally do not use @see dfp_my() here, 
			 * because this function will instantiate a @see \Df\Payment\Method instance
			 * (or use a previously cached instance). 
			 */ if ( df_starts_with ( ( $ code = $ p -> getMethod ( ) ) , 'dfe_' ) ) { /** @var string $code */ Method :: sgReset ( ) ; if ( $ cardId = Token :: exchangedGet ( $ code ) ) { /** @var string|null $cardId */ dfp_add_info ( $ p , [ Token :: KEY => $ cardId ] ) ; } } } }
2017-08-28
@override
@see ObserverInterface::execute()
@used-by \Magento\Framework\Event\Invoker\InvokerDefault::_callObserverMethod()
@param O $o
2017 - 08 - 28