Class PhoneNumber
The phone number include the number and country code.
Inheritance
System.Object
PhoneNumber
Namespace: BoldSign.Model
Assembly: BoldSign.Api.dll
Syntax
public class PhoneNumber : object
Constructors
| Improve this Doc View SourcePhoneNumber(String, String)
Initializes a new instance of the PhoneNumber class.
Declaration
public PhoneNumber(string countryCode = null, string number = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | countryCode | Gets or sets the country code. |
System.String | number | Gets or sets the number. |
Properties
| Improve this Doc View SourceCountryCode
Gets or sets the country code.
Declaration
public string CountryCode { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Number
Gets or sets the number.
Declaration
public string Number { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceToJson()
Returns the JSON string presentation of the object.
Declaration
public virtual string ToJson()
Returns
Type | Description |
---|---|
System.String | JSON string presentation of the object. |