Interface Line
public interface Line
Line
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Line.Builderbuilder()Getting builderName of the carrier.getError()Get errorA numeric code (MCC) that uniquely identifies a country within the international telecommunications network.A distinct identifier assigned to a mobile network operator within a specific country, used in combination with MCC.Indicates if a phone number has been transferred from its original network to a different provider.Specifies the date, in ISO 8601 format, when a phone number was transferred from its original network to a new provider.getType()Number type e.g.
-
Method Details
-
getCarrier
String getCarrier()Name of the carrier.- Returns:
- carrier
-
getType
LineType getType()Number type e.g. wireless, mobile, fixed.- Returns:
- type
-
getMobileCountryCode
String getMobileCountryCode()A numeric code (MCC) that uniquely identifies a country within the international telecommunications network.- Returns:
- mobileCountryCode
-
getMobileNetworkCode
String getMobileNetworkCode()A distinct identifier assigned to a mobile network operator within a specific country, used in combination with MCC.- Returns:
- mobileNetworkCode
-
getPorted
Boolean getPorted()Indicates if a phone number has been transferred from its original network to a different provider.- Returns:
- ported
-
getPortingDate
Instant getPortingDate()Specifies the date, in ISO 8601 format, when a phone number was transferred from its original network to a new provider.- Returns:
- portingDate
-
getError
LookupError getError()Get error- Returns:
- error
-
builder
Getting builder- Returns:
- New Builder instance
-