internal static CfCreateNumberOrderBulkLocal FromCreateNumberOrderBulkLocal(CreateNumberOrderBulkLocal source)
        {
            if (source == null)
            {
                return(null);
            }
            var region = RegionMapper.FromRegion(source.Region);

            return(new CfCreateNumberOrderBulkLocal(source.Count, region));
        }
Example #2
0
        internal static CfNumber FromNumber(Number source)
        {
            if (source == null)
            {
                return(null);
            }
            var region              = RegionMapper.FromRegion(source.Region);
            var status              = EnumeratedMapper.EnumFromSoapEnumerated <CfNumberStatus>(source.Status.ToString());
            var leaseInfo           = LeaseInfoMapper.FromLeaseInfo(source.LeaseInfo);
            var numberConfiguration = NumberConfigurationMapper.FromNumberConfiguration(source.NumberConfiguration);

            return(new CfNumber(source.Number1, source.NationalFormat, source.TollFree, region, status, leaseInfo, numberConfiguration));
        }