Ejemplo n.º 1
0
        public bool isOrderProcessed()
        {
            if (!m_product_A.isOrderProcessed())
            {
                return(false);
            }
            if (!m_product_B.isOrderProcessed())
            {
                return(false);
            }

            if (m_nType_trade != EPRODUCT_TYPE_TRADE.A_B)
            {
                if (!m_product_C.isOrderProcessed())
                {
                    return(false);
                }
            }
            return(true);
        }