public function upcomingInvoice($customerId, $subscriptionId = null, array $parameters = [])
    {
        $parameters = array_merge($parameters, [
            'customer'     => $customerId,
            'subscription' => $subscriptionId,
        ]);

        return $this->_get('invoices/upcoming', $parameters);
    }
public function upcomingInvoice($customerId, $subscriptionId = null, array $parameters = [])
    {
        $parameters = array_merge($parameters, [
            'customer'     => $customerId,
            'subscription' => $subscriptionId,
        ]);

        return $this->_get('invoices/upcoming', $parameters);
    }
public function upcomingInvoice ( $ customerId , $ subscriptionId = null , array $ parameters = [ ] ) { $ parameters = array_merge ( $ parameters , [ 'customer' => $ customerId , 'subscription' => $ subscriptionId , ] ) ; return $ this -> _get ( 'invoices/upcoming' , $ parameters ) ; }
Retrieves the given customer upcoming invoices.

@param  string  $customerId
@param  string  $subscriptionId
@param  array  $parameters
@return array
Retrieves the given customer upcoming invoices .