All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.messagebird.objects.PhoneNumber Maven / Gradle / Ivy

Go to download

The MessageBird API provides a API to the MessageBird SMS and voicemail services located at https://www.messagebird.com.

The newest version!
package com.messagebird.objects;

import com.messagebird.objects.PhoneNumberFeature;

import java.util.EnumSet;

public class PhoneNumber {
    private String number;
    private String country;
    private String region;
    private String locality;
    private EnumSet features;
    private String type;

    public String getNumber() {
        return this.number;
    }

    public String getCountry() {
        return this.country;
    }

    public String getRegion() {
        return this.region;
    }

    public String getLocality() {
        return this.locality;
    }

    public EnumSet getFeatures() {
        return this.features;
    }

    public String getType() {
        return this.type;
    }

    @Override
    public String toString() {
        return "PhoneNumber{" +
            "number='" + number + "\'" +
            ", country='" + country + "\'" +
            ", region='" + region + "\'" +
            ", locality='" + locality + "\'" +
            ", features=" + features +
            ", type='" + type + "\'" +
            "}";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy