Peacemaker.Product (Peacemaker v3.3.5-rc.7) View Source

Link to this section Summary

Link to this section Types

Link to this type

create_or_update_params()

View Source

Specs

create_or_update_params() :: %{}

Specs

t() :: %{name: String.t(), price: String.t(), sku: String.t()}

Link to this section Functions

Link to this function

changeset(struct \\ %__MODULE__{}, attrs)

View Source

Specs

create_or_update(create_or_update_params()) :: t()
Link to this function

format_raw_product(product_id)

View Source
Link to this function

update_one(product, attrs)

View Source
Link to this function

validate_offer_has_no_deleted_product_ids(list_of_ids)

View Source