Customer resource helpers for QuickBooks.
Summary
Functions
Creates a customer.
Fetches a customer by ID.
Lists customers, optionally filtered with a WHERE clause and query pagination.
Updates a customer.
Functions
@spec create(ExQuickbooks.Client.t(), map(), keyword()) :: {:ok, map()} | {:error, ExQuickbooks.Error.t()}
Creates a customer.
@spec get(ExQuickbooks.Client.t(), String.t() | integer(), keyword()) :: {:ok, map()} | {:error, ExQuickbooks.Error.t()}
Fetches a customer by ID.
@spec list( ExQuickbooks.Client.t(), keyword() ) :: {:ok, [map()]} | {:error, ExQuickbooks.Error.t()}
Lists customers, optionally filtered with a WHERE clause and query pagination.
@spec update(ExQuickbooks.Client.t(), map(), keyword()) :: {:ok, map()} | {:error, ExQuickbooks.Error.t()}
Updates a customer.