public override int GetHashCode()
        {
            int baseHash = base.GetHashCode();

            return(IsAatfDeliveredAmount ? baseHash ^ AatfDeliveryLocation.GetHashCode() : baseHash ^ AeDeliveryLocation.GetHashCode());
        }
 public WeeeDeliveredAmount(ObligationType obligationType, WeeeCategory weeeCategory, decimal tonnage, AatfDeliveryLocation aatfDeliveryLocation) :
     base(obligationType, weeeCategory, tonnage)
 {
     Guard.ArgumentNotNull(() => aatfDeliveryLocation, aatfDeliveryLocation);
     AatfDeliveryLocation = aatfDeliveryLocation;
 }