Пример #1
0
 /**
  * Retrieve member information
  *
  * @param  string $id
  *
  * @return Customer
  * @throws BpostApiBusinessException
  * @throws BpostApiSystemException
  * @throws BpostCurlException
  * @throws BpostInvalidResponseException
  * @throws Exception\XmlException\BpostXmlNoUserIdFoundException
  */
 public function getMember($id)
 {
     $xml = $this->doCall('/customer/' . $id);
     return Customer::createFromXML($xml);
 }