![]() Server : Apache/2.4.62 (Unix) OpenSSL/1.0.2k-fips System : Linux server1.richineiserver.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : fdshops ( 1003) PHP Version : 8.2.21 Disable Function : NONE Directory : /home/fdshops/public_html/vendor/twilio/sdk/src/Twilio/Rest/Pricing/V2/Voice/ |
<?php /** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ namespace Twilio\Rest\Pricing\V2\Voice; use Twilio\Options; use Twilio\Values; abstract class NumberOptions { /** * @param string $originationNumber The origination number for which to fetch * pricing information * @return FetchNumberOptions Options builder */ public static function fetch($originationNumber = Values::NONE) { return new FetchNumberOptions($originationNumber); } } class FetchNumberOptions extends Options { /** * @param string $originationNumber The origination number for which to fetch * pricing information */ public function __construct($originationNumber = Values::NONE) { $this->options['originationNumber'] = $originationNumber; } /** * The origination phone number, in [E.164](https://www.twilio.com/docs/glossary/what-e164) format, for which to fetch the origin-based voice pricing information. E.164 format consists of a + followed by the country code and subscriber number. * * @param string $originationNumber The origination number for which to fetch * pricing information * @return $this Fluent Builder */ public function setOriginationNumber($originationNumber) { $this->options['originationNumber'] = $originationNumber; return $this; } /** * Provide a friendly representation * * @return string Machine friendly representation */ public function __toString() { $options = array(); foreach ($this->options as $key => $value) { if ($value != Values::NONE) { $options[] = "$key=$value"; } } return '[Twilio.Pricing.V2.FetchNumberOptions ' . \implode(' ', $options) . ']'; } }