Phone

@Serializable
data class Phone(val number: String, val regionCode: String, val nationalFormat: String? = null, val type: String? = null)

The user's phone number.

Parameters

number

The phone number (can be formatted in any way that's useful for end users).

regionCode

CLDR two-letter region code describing the region in which the phone number was issued.

nationalFormat

The phone number formatted in the commonly accepted national format of the region code. This value is read-only.

type

Phone

Constructors

Link copied to clipboard
constructor(number: String, regionCode: String, nationalFormat: String? = null, type: String? = null)

Properties

Link copied to clipboard
@SerialName(value = "nationalFormat")
val nationalFormat: String? = null
Link copied to clipboard
@SerialName(value = "number")
val number: String
Link copied to clipboard
@SerialName(value = "regionCode")
val regionCode: String
Link copied to clipboard
@SerialName(value = "type")
val type: String? = null