1 <?php
2
3 namespace PayPal\Api;
4
5 use PayPal\Common\PayPalModel;
6
7 /**
8 * Class CountryCode
9 *
10 * The ISO 3166-1 alpha-2 country code. A complete list of valid codes is available at Wikipedia: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 In particular, note that the country code for Great Britain is GB, not UK as used in that country's top-level domain names.
11 *
12 * @package PayPal\Api
13 *
14 * @property string country_code
15 */
16 class CountryCode extends PayPalModel
17 {
18 /**
19 * ISO country code based on 2-character IS0-3166-1 codes.
20 *
21 * @param string $country_code
22 *
23 * @return $this
24 */
25 public function setCountryCode($country_code)
26 {
27 $this->country_code = $country_code;
28 return $this;
29 }
30
31 /**
32 * ISO country code based on 2-character IS0-3166-1 codes.
33 *
34 * @return string
35 */
36 public function getCountryCode()
37 {
38 return $this->country_code;
39 }
40
41 }
42