![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/mcoil.corals.io/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/ |
<?php namespace PayPal\Api; use PayPal\Common\PayPalModel; /** * Class Phone * * Information related to the Payer. In case of PayPal Wallet payment, this information will be filled in by PayPal after the user approves the payment using their PayPal Wallet. * * @package PayPal\Api * * @property string country_code * @property string national_number * @property string extension */ class Phone extends PayPalModel { /** * Country code (from in E.164 format) * * @param string $country_code * * @return $this */ public function setCountryCode($country_code) { $this->country_code = $country_code; return $this; } /** * Country code (from in E.164 format) * * @return string */ public function getCountryCode() { return $this->country_code; } /** * In-country phone number (from in E.164 format) * * @param string $national_number * * @return $this */ public function setNationalNumber($national_number) { $this->national_number = $national_number; return $this; } /** * In-country phone number (from in E.164 format) * * @return string */ public function getNationalNumber() { return $this->national_number; } /** * Phone extension * * @param string $extension * * @return $this */ public function setExtension($extension) { $this->extension = $extension; return $this; } /** * Phone extension * * @return string */ public function getExtension() { return $this->extension; } }