controller/jobs/src/Controller/Jobs/Order/Email/Payment/Standard.php
protected function processItem( \Aimeos\Client\Html\Iface $client, \Aimeos\MShop\Order\Item\Iface $orderItem,
		\Aimeos\MShop\Order\Item\Base\Iface $orderBaseItem, \Aimeos\MShop\Order\Item\Base\Address\Iface $addrItem )
	{
		$context = $this->getContext();
		$langId = ( $addrItem->getLanguageId() ?: $orderBaseItem->getLocale()->getLanguageId() );

		$view = $this->getView( $context, $orderBaseItem, $langId );
		$view->extAddressItem = $addrItem;
		$view->extOrderBaseItem = $orderBaseItem;
		$view->extOrderItem = $orderItem;

		$client->setView( $view );
		$client->getHeader();
		$client->getBody();

		$context->getMail()->send( $view->mail() );
	}
protected function processItem( \Aimeos\Client\Html\Iface $client, \Aimeos\MShop\Order\Item\Iface $orderItem,
		\Aimeos\MShop\Order\Item\Base\Iface $orderBaseItem, \Aimeos\MShop\Order\Item\Base\Address\Iface $addrItem )
	{
		$context = $this->getContext();
		$langId = ( $addrItem->getLanguageId() ?: $orderBaseItem->getLocale()->getLanguageId() );

		$view = $this->getView( $context, $orderBaseItem, $langId );
		$view->extAddressItem = $addrItem;
		$view->extOrderBaseItem = $orderBaseItem;
		$view->extOrderItem = $orderItem;

		$client->setView( $view );
		$client->getHeader();
		$client->getBody();

		$context->getMail()->send( $view->mail() );
	}
protected function processItem ( \ Aimeos \ Client \ Html \ Iface $ client , \ Aimeos \ MShop \ Order \ Item \ Iface $ orderItem , \ Aimeos \ MShop \ Order \ Item \ Base \ Iface $ orderBaseItem , \ Aimeos \ MShop \ Order \ Item \ Base \ Address \ Iface $ addrItem ) { $ context = $ this -> getContext ( ) ; $ langId = ( $ addrItem -> getLanguageId ( ) ? : $ orderBaseItem -> getLocale ( ) -> getLanguageId ( ) ) ; $ view = $ this -> getView ( $ context , $ orderBaseItem , $ langId ) ; $ view -> extAddressItem = $ addrItem ; $ view -> extOrderBaseItem = $ orderBaseItem ; $ view -> extOrderItem = $ orderItem ; $ client -> setView ( $ view ) ; $ client -> getHeader ( ) ; $ client -> getBody ( ) ; $ context -> getMail ( ) -> send ( $ view -> mail ( ) ) ; }
Sends the payment related e-mail for a single order

@param \Aimeos\Client\Html\Iface $client HTML client object for rendering the payment e-mails
@param \Aimeos\MShop\Order\Item\Iface $orderItem Order item the payment related e-mail should be sent for
@param \Aimeos\MShop\Order\Item\Base\Iface $orderBaseItem Complete order including addresses, products, services
@param \Aimeos\MShop\Order\Item\Base\Address\Iface $addrItem Address item to send the e-mail to
Sends the payment related e - mail for a single order