Exemplo n.º 1
0
        /// <summary>
        /// Get the string presentation of the object
        /// </summary>
        /// <returns>String presentation of the object</returns>
        public override string ToString()
        {
            var sb = new StringBuilder();

            sb.Append("class Store {\n");
            sb.Append("  InStoreTerminals: ").Append(InStoreTerminals.ToListString()).Append("\n");
            sb.Append("  StorePos: ").Append(StorePos).Append("\n");
            sb.Append("}\n");
            return(sb.ToString());
        }
Exemplo n.º 2
0
        /// <summary>
        /// Get the string presentation of the object
        /// </summary>
        /// <returns>String presentation of the object</returns>
        public override string ToString()
        {
            var sb = new StringBuilder();

            sb.Append("class MerchantAccount {\n");
            sb.Append("  InStoreTerminals: ").Append(InStoreTerminals.ToListString()).Append("\n");
            sb.Append("  InventoryTerminals: ").Append(InventoryTerminals.ToListString()).Append("\n");
            sb.Append("  MerchantAccountPos: ").Append(MerchantAccountPos).Append("\n");
            sb.Append("  Stores: ").Append(Stores.ObjectListToString <Store>()).Append("\n");
            sb.Append("}\n");
            return(sb.ToString());
        }