Omise.Occurrence (omise v0.9.0)
Provides Occurrence API interfaces.
Link to this section Summary
Functions
Retrieve an occurrence.
Link to this section Types
Specs
t() :: %Omise.Occurrence{
created: String.t(),
id: String.t(),
livemode: boolean(),
location: String.t(),
message: String.t(),
object: String.t(),
processed_at: String.t(),
result: String.t(),
retry_date: String.t(),
retry_on: String.t(),
schedule: String.t(),
schedule_date: String.t(),
scheduled_on: String.t(),
status: String.t()
}
Link to this section Functions
Link to this function
retrieve(id, opts \\ [])
Specs
retrieve(String.t(), Keyword.t()) :: {:ok, t()} | {:error, Omise.Error.t()}
Retrieve an occurrence.
Examples
Omise.Occurrence.retrieve("occu_test_584yqgivyi2p1g828pl")