private CheckoutAddress ConstructMyAccountAddress(lnksoaddress address) { var result = new CheckoutAddress { AddressLine1 = address.AddressLine1, AddressLine2 = address.AddressLine2, CityTown = address.CityTown, CountryID = address.CountryID.HasValue ? address.CountryID.Value : 0, Postcode = address.Postcode, State = address.State }; return result; }
private void BindToSalesOrderAddress(lnksoaddress soAddress, tbladdress address) { soAddress.AddressLine1 = address.AddressLine1; soAddress.AddressLine2 = address.AddressLine2; soAddress.CityTown = address.CityTown; soAddress.CountryID = address.CountryID; soAddress.Postcode = address.Postcode; soAddress.State = address.State; }