コード例 #1
0
//GetDiscretionInst gets DiscretionInst, Tag 388
func (m NewOrderSingle) GetDiscretionInst() (v enum.DiscretionInst, err quickfix.MessageRejectError) {
	var f field.DiscretionInstField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}
コード例 #2
0
//GetDiscretionInst gets DiscretionInst, Tag 388
func (m OrderCancelReplaceRequest) GetDiscretionInst() (v enum.DiscretionInst, err quickfix.MessageRejectError) {
	var f field.DiscretionInstField
	if err = m.Get(&f); err == nil {
		v = f.Value()
	}
	return
}