new module:model/RecipientPhoneNumber()
- Source:
Constructs a new RecipientPhoneNumber.
Describes the recipient phone number.
Members
(inner) countryCode :String
- Source:
Type:
- String
(inner) countryCodeMetadata :module:model/PropertyMetadata
- Source:
Metadata that indicates if the countryCode property is editable.
Type:
(inner) number :String
- Source:
Type:
- String
(inner) numberMetadata :module:model/PropertyMetadata
- Source:
Metadata that indicates if the number property is editable.
Type:
Methods
(static) constructFromObject(data, obj) → {module:model/RecipientPhoneNumber}
- Source:
Constructs a RecipientPhoneNumber from a plain JavaScript object, optionally creating a new instance.
Copies all relevant properties from data to obj if supplied or a new instance if not.
Parameters:
| Name | Type | Description |
|---|---|---|
data |
Object | The plain JavaScript object bearing properties of interest. |
obj |
module:model/RecipientPhoneNumber | Optional instance to populate. |
Returns:
The populated RecipientPhoneNumber instance.