src/Genesis/API/Request/Financial/Alternatives/Klarna/Items.php
public function toArray()
    {
        return [
            'order_tax_amount' => CurrencyUtils::amountToExponent($this->getOrderTaxAmount(), $this->currency),
            'items'            => array_map(
                function ($item) {
                    return ['item' => $item->toArray()];
                },
                $this->items
            )
        ];
    }
public function toArray()
    {
        return [
            'order_tax_amount' => CurrencyUtils::amountToExponent($this->getOrderTaxAmount(), $this->currency),
            'items'            => array_map(
                function ($item) {
                    return ['item' => $item->toArray()];
                },
                $this->items
            )
        ];
    }
public function toArray ( ) { return [ 'order_tax_amount' => CurrencyUtils :: amountToExponent ( $ this -> getOrderTaxAmount ( ) , $ this -> currency ) , 'items' => array_map ( function ( $ item ) { return [ 'item' => $ item -> toArray ( ) ] ; } , $ this -> items ) ] ; }
Return items request attributes
@return array
Return items request attributes