src/PayPalRestApiClient/Builder/TransactionsBuilder.php
public function build(array $transactions)
    {
        $results = array();
        foreach ($transactions as $transaction) {
            $results[] = $this->buildTransaction($transaction);
        }

        return $results;
    }
public function build(array $transactions)
    {
        $results = array();
        foreach ($transactions as $transaction) {
            $results[] = $this->buildTransaction($transaction);
        }

        return $results;
    }
Build an array of PayPalRestApiClient\Model\Transaction instances given an array of arrays

@param array $transactions Should contains arrays with at least the amount key set

@return array of PayPalRestApiClient\Model\Transaction instances

@throws PayPalRestApiClient\Exception\BuilderException If not all keys are set for each transaction

@see https://developer.paypal.com/docs/api/#transaction-object