public function getCustomerTransactions($code = null) {
		$txns = array();
		$subscriptions = $this->getCustomerSubscriptions($code);
		foreach ($subscriptions as $subscription) {
			if (isset($subscription['invoices'])) {
				foreach ($subscription['invoices'] as $key => $i) {
					if (isset($i['transactions'])) {
						foreach ($i['transactions'] as $idx => $t) {
							$txns[$idx] = $t;
						}
					}
				}
			}
		}
		return $txns;
	}
public function getCustomerTransactions($code = null) {
		$txns = array();
		$subscriptions = $this->getCustomerSubscriptions($code);
		foreach ($subscriptions as $subscription) {
			if (isset($subscription['invoices'])) {
				foreach ($subscription['invoices'] as $key => $i) {
					if (isset($i['transactions'])) {
						foreach ($i['transactions'] as $idx => $t) {
							$txns[$idx] = $t;
						}
					}
				}
			}
		}
		return $txns;
	}
public function getCustomerTransactions ( $ code = null ) { $ txns = array ( ) ; $ subscriptions = $ this -> getCustomerSubscriptions ( $ code ) ; foreach ( $ subscriptions as $ subscription ) { if ( isset ( $ subscription [ 'invoices' ] ) ) { foreach ( $ subscription [ 'invoices' ] as $ key => $ i ) { if ( isset ( $ i [ 'transactions' ] ) ) { foreach ( $ i [ 'transactions' ] as $ idx => $ t ) { $ txns [ $ idx ] = $ t ; } } } } } return $ txns ; }
Get an array representation of a single customer's transactions

@param $code string your code for the customer - required if more than one customer is in the response
@throws CheddarGetter_Response_Exception if the response type is incompatible or if a $code is not provided and the response contains more than one customer
@return array|false
Get an array representation of a single customer s transactions