internal OutcomeMappingDTO(variant_mappingsMappingMapping_outcome outcome, string marketId)
        {
            Guard.Argument(outcome, nameof(outcome)).NotNull();
            Guard.Argument(marketId, nameof(marketId)).NotNull().NotEmpty();

            OutcomeId           = outcome.outcome_id;
            ProducerOutcomeId   = outcome.product_outcome_id;
            ProducerOutcomeName = outcome.product_outcome_name;
            MarketId            = marketId;
        }
        internal OutcomeMappingDTO(variant_mappingsMappingMapping_outcome outcome, string marketId)
        {
            Contract.Requires(outcome != null);
            Contract.Requires(!string.IsNullOrEmpty(marketId));

            OutcomeId           = outcome.outcome_id;
            ProducerOutcomeId   = outcome.product_outcome_id;
            ProducerOutcomeName = outcome.product_outcome_name;
            MarketId            = marketId;
        }