Пример #1
0
 /**
  * Account - Get Pricing
  * Retrieve our outbound pricing for a given country.
  *
  * @param string
  * return json or xml
  */
 public function get_pricing($country_code = 'TW')
 {
     $options = array(CURLOPT_HTTPHEADER => array("Accept: application/" . $this->_format));
     self::$pricing_url = self::$pricing_url . '/' . $country_code;
     return $this->request('get', self::$pricing_url, null, $options);
 }