Exchange v0.2.1 Exchange.Adapters.MessageBus.OrderCancelled View Source

A struct representing the payload of :order_cancelled events.

Link to this section Summary

Types

t()

OrderCancelled

Functions

Decodes the params to an OrderCancelled struct

Link to this section Types

Specs

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

OrderCancelled

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

Parameters

  • params: map with necessary parameters to populate the struct