private void AddShipperAddress(ShipperType shipper) { AddressType shipperAddress = new AddressType(); shipperAddress.City = "South El Monte"; shipperAddress.PostalCode = "91733"; shipperAddress.CountryCode = "US"; shipper.ShipperNumber = "A3024V"; shipper.Address = shipperAddress; }
private void AddShipFromAddress(ShipmentType shipment) { ShipFromType shipFrom = new ShipFromType(); AddressType shipFromAddress = new AddressType(); // shipFromAddress.AddressLine = new String[] { txtPShipFromAddress.Text }; shipFromAddress.City = "South El Monte"; shipFromAddress.PostalCode = "91733"; shipFromAddress.StateProvinceCode = "CA"; shipFromAddress.CountryCode = "US"; shipFrom.Address = shipFromAddress; shipment.ShipFrom = shipFrom; }