Parameters for Update Request in the PurchaseIntents API.
Build this struct with new!/1 and pass it to the corresponding function on
Inttegro.PurchaseIntents. Required keys are enforced immediately; optional values left as
nil are omitted from the request sent to Inttegro.
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
Builds a Inttegro.PurchaseIntents.UpdateRequest and raises KeyError when a required field is missing.
Types
@type t() :: %Inttegro.PurchaseIntents.UpdateRequest{ expires_at: String.t() | nil, id: String.t() | nil, purchase_intent_id: String.t() | nil, quantity: Inttegro.PurchaseIntents.UpdateRequestQuantity.t() | nil, reactivate: boolean() | nil }
A validated update request request.
Functions
Builds a Inttegro.PurchaseIntents.UpdateRequest and raises KeyError when a required field is missing.