View Source ExPipedrive.Product (ex_pipedrive v0.1.0)
Product entity decoded from Pipedrive API v2 responses.
Prices are kept as maps (currency, price, cost, direct_cost, …).
Product variations live on a separate API and are not embedded here.
The raw payload remains on original_object.
Summary
Types
@type t() :: %ExPipedrive.Product{ add_time: (DateTime.t() | NaiveDateTime.t()) | nil, billing_frequency: String.t() | nil, billing_frequency_cycles: integer() | nil, category: (String.t() | number()) | nil, code: String.t() | nil, custom_fields: map(), description: String.t() | nil, id: pos_integer() | nil, is_deleted: boolean() | nil, is_linkable: boolean() | nil, name: String.t(), original_object: map() | nil, owner_id: pos_integer() | nil, prices: list(), tax: number() | nil, unit: String.t() | nil, update_time: (DateTime.t() | NaiveDateTime.t()) | nil, visible_to: (String.t() | non_neg_integer()) | nil }