An object representing a short code, which is a phone number that is typically much shorter than regular phone numbers and can be used to address messages in MMS and SMS systems, as well as for abbreviated dialing (For example "Text 611 to see how many minutes you have remaining on your plan.").
Short codes are restricted to a region and are not internationally dialable, which means the same short code can exist in different regions, with different usage and pricing, even if those regions share the same country calling code (For example: US and CA).
Generated from protobuf message google.type.PhoneNumber.ShortCode
| Methods |
| public __construct( $data = NULL) Constructor.
|
| public getNumber() Required. The short code digits, without a leading plus ('+') or country calling code. For example "611". Generated from protobuf field string number = 2;
|
| public getRegionCode() Required. The BCP-47 region code of the location where calls to this short code can be made, such as "US" and "BB". Reference(s): Generated from protobuf field string region_code = 1;
|
| public setNumber( $var) Required. The short code digits, without a leading plus ('+') or country calling code. For example "611". Generated from protobuf field string number = 2;
|
| public setRegionCode( $var) Required. The BCP-47 region code of the location where calls to this short code can be made, such as "US" and "BB". Reference(s): Generated from protobuf field string region_code = 1;
|
| Properties |
| protected $number = '' Required. The short code digits, without a leading plus ('+') or country calling code. For example "611". Generated from protobuf field string number = 2; |
| protected $region_code = '' Required. The BCP-47 region code of the location where calls to this short code can be made, such as "US" and "BB". Reference(s): Generated from protobuf field string region_code = 1; |
| Methods |