BusinessMessageReject

struct BusinessMessageReject

FIX BusinessMessageReject <j> message.

Either side may send this message when an application-level rule has been violated and there are no specific messages available to cmmunicate the failure.

Public Functions

std::span<std::byte const> encode(roq::fix::Header const&, std::span<std::byte> const &buffer) const

Encode to buffer.

bool is_valid() const

Validate if message contains all required fields.

Public Members

uint64_t ref_seq_num = {}

RefSeqNum <45> (required)

roq::fix::MsgType ref_msg_type = {}

RefMsgType <372> (required)

std::string_view business_reject_ref_id

BusinessRejectRefID <379> (required)

roq::fix::BusinessRejectReason business_reject_reason = {}

BusinessRejectReason <380> (required)

std::string_view text

Text <58> (required)

Public Static Functions

static BusinessMessageReject create(roq::fix::Message const&)

Decode.