public xOrder() { line_items = new List <xOrderLine>(); total_quantity = line_items.Count(); bill_address = new xAddress(); ship_address = new xAddress(); }
public xOrder InitDummy() { //R335381310 number = "R335381310"; shipment_state = 1.ToString(); payment_state = 1.ToString(); line_items = new List <xOrderLine>(); total_quantity = line_items.Count(); bill_address = new xAddress().initDummy("asdf"); ship_address = new xAddress().initDummy("asdf"); return(this); }