Values accepted for Type in the Products API.
Prefer the documented atoms returned by values/0. The type also accepts strings so a
newer server value can be preserved by an older SDK instead of failing during decoding.
Manages products and the prices, media, and attributes used to sell them.
Products are reusable catalog records. Publishing controls availability to public purchasing surfaces; archiving retires a product without rewriting historical orders that reference it.
Summary
Functions
Returns the documented Inttegro.Products.Type atoms known by this SDK version.
Types
@type t() :: :physical | :digital | :service | :voucher | :custom | :cause | String.t()
A type atom or an unknown wire value preserved as a string.
Functions
@spec values() :: [t()]
Returns the documented Inttegro.Products.Type atoms known by this SDK version.