Class AvailableNumber


  • public class AvailableNumber
    extends Object
    Active Number
    Since:
    1.0
    • Constructor Detail

      • AvailableNumber

        public AvailableNumber​(String phoneNumber,
                               String regionCode,
                               NumberType type,
                               Collection<Capability> capability,
                               Money setupPrice,
                               Money monthlyPrice,
                               Integer paymentIntervalMonths,
                               Boolean supportingDocumentationRequired)
        Parameters:
        phoneNumber - The phone number in E.164 format with leading +. Example +12025550134.
        regionCode - ISO 3166-1 alpha-2 country code of the phone number. Example: US, UK or SE.
        type - The number type.
        capability - The capability of the number.
        setupPrice - An object giving details on currency code and the amount charged.
        monthlyPrice - An object giving details on currency code and the amount charged.
        paymentIntervalMonths - How often the recurring price is charged in months.
        supportingDocumentationRequired - Whether or not supplementary documentation will be required to complete the number rental.