Table of Contents

Class PhoneNumber

Namespace
BoldSign.Model
Assembly
BoldSign.Api.dll

The phone number include the number and country code.

[DataContract]
public class PhoneNumber
Inheritance
PhoneNumber
Inherited Members

Constructors

PhoneNumber(string, string)

Initializes a new instance of the PhoneNumber class.

public PhoneNumber(string countryCode = null, string number = null)

Parameters

countryCode string

Gets or sets the country code.

number string

Gets or sets the number.

Properties

CountryCode

Gets or sets the country code.

[DataMember(Name = "countryCode", EmitDefaultValue = true)]
public string CountryCode { get; set; }

Property Value

string

Number

Gets or sets the number.

[DataMember(Name = "number", EmitDefaultValue = true)]
public string Number { get; set; }

Property Value

string

Methods

ToJson()

Returns the JSON string presentation of the object.

public virtual string ToJson()

Returns

string

JSON string presentation of the object.