Cartalyst\Stripe\Api\InvoiceItems::create PHP Method

create() public method

Creates a new invoice item on the given customer
public create ( string $customerId, array $parameters = [] ) : array
$customerId string
$parameters array
return array
    public function create($customerId, array $parameters = [])
    {
        $parameters = array_merge($parameters, ['customer' => $customerId]);
        return $this->_post('invoiceitems', $parameters);
    }