Values accepted for Activity Type in the PurchaseIntents 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.
Creates and manages public purchasing opportunities.
A purchase intent describes what may be bought and can produce an order when a buyer accepts it. It is distinct from the resulting order: update or cancel the intent before acceptance, then use the Orders API for payment and fulfillment state.
Summary
Functions
Returns the documented Inttegro.PurchaseIntents.ActivityType atoms known by this SDK version.
Types
@type t() :: :expired_viewed | :order_created | :payment_failed | :payment_started | :viewed | String.t()
A activity type atom or an unknown wire value preserved as a string.
Functions
@spec values() :: [t()]
Returns the documented Inttegro.PurchaseIntents.ActivityType atoms known by this SDK version.