aboutsummaryrefslogtreecommitdiff
path: root/src/PriceListTools/PriceListPosition.cs
blob: 30be153ce99a6f0ae7c8c936bf7cb93f048b974d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
using RehauSku.Assistant;
using System;

namespace RehauSku.PriceListTools
{
    internal class PriceListPosition
    {
        public readonly string Group;
        public readonly string Sku;

        public PriceListPosition(string group, string sku)
        {
            if (!sku.IsRehauSku())
                throw new ArgumentException("Wrong SKU");

            else
            {
                Group = group;
                Sku = sku;
            }
        }
    }
}