struct BusinessMessageReject#

FIX BusinessMessageReject <j> message.

The Business Message Reject <j> message can reject an application-level message which fulfills session-level rules and cannot be rejected via any other means. Note if the message fails a session-level rule (e.g. body length is incorrect), a session-level Reject <3> message should be issued.

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&)#