Exchange v0.2.0 Exchange.Adapters.MessageBus.OrderExpired View Source

A struct representing the payload of :order_expired events.

Link to this section Summary

Types

t()

OrderExpired

Functions

Decodes the params to an OrderExpired struct

Link to this section Types

Specs

t() :: %Exchange.Adapters.MessageBus.OrderExpired{order: Exchange.Order.order()}

OrderExpired

Link to this section Functions

Link to this function

decode_from_jason(params)

View Source

Specs

decode_from_jason(map()) :: t()

Decodes the params to an OrderExpired struct

Parameters

  • params: map with necessary parameters to populate the struct