Exchange v0.2.2 Exchange.Adapters.MessageBus.OrderQueued View Source

A struct representing the payload of :order_queued events.

Link to this section Summary

Types

t()

OrderQueued

Functions

Decodes the params to an OrderQueued struct

Link to this section Types

Specs

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

OrderQueued

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 OrderQueued struct

Parameters

  • params: map with necessary parameters to populate the struct