Example #1
0
        public ShipTo(string sellerOrderNumber)
        {
            var sellerOrderID = new SellerOrderID {
                Data = sellerOrderNumber
            };

            SAPOrderList = new List <SellerOrderID> {
                sellerOrderID
            };
        }
Example #2
0
        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);
        }