public ShipTo(string sellerOrderNumber) { var sellerOrderID = new SellerOrderID { Data = sellerOrderNumber }; SAPOrderList = new List <SellerOrderID> { sellerOrderID }; }
private ShipTo GetDefaultShipTo(string sapOrderNumber) { ShipTo shipTo = new ShipTo { ShipToID = "" }; PurchaseOrderID order = new PurchaseOrderID { Data = "" }; List <PurchaseOrderID> poList = new List <PurchaseOrderID> { order }; SellerOrderID sellerOrderId = new SellerOrderID { Data = sapOrderNumber }; List <SellerOrderID> orderList = new List <SellerOrderID> { sellerOrderId }; shipTo.SAPOrderList = orderList; shipTo.PurchaseOrderList = poList; return(shipTo); }