コード例 #1
0
 /**
  * @param array $values Optional properties and values to assign to the object.
  */
 public function __construct(array $values = [])
 {
     list($parentValues, $childValues) = self::getParentValues(self::$propertyTypes, $values);
     parent::__construct($parentValues);
     if (!array_key_exists(__CLASS__, self::$properties)) {
         self::$properties[__CLASS__] = array_merge(self::$properties[get_parent_class()], self::$propertyTypes);
     }
     $this->setValues(__CLASS__, $childValues);
 }
コード例 #2
0
ファイル: UserType.php プロジェクト: ronlobo/ebay-sdk-php
 /**
  * @param array $values Optional properties and values to assign to the object.
  */
 public function __construct(array $values = array())
 {
     list($parentValues, $childValues) = self::getParentValues(self::$propertyTypes, $values);
     parent::__construct($parentValues);
     if (!array_key_exists(__CLASS__, self::$properties)) {
         self::$properties[__CLASS__] = array_merge(self::$properties[get_parent_class()], self::$propertyTypes);
     }
     if (!array_key_exists(__CLASS__, self::$xmlNamespaces)) {
         self::$xmlNamespaces[__CLASS__] = 'urn:ebay:apis:eBLBaseComponents';
     }
     $this->setValues(__CLASS__, $childValues);
 }
コード例 #3
0
 /**
  * @param array $values Optional properties and values to assign to the object.
  */
 public function __construct(array $values = [])
 {
     list($parentValues, $childValues) = self::getParentValues(self::$propertyTypes, $values);
     parent::__construct($parentValues);
     if (!array_key_exists(__CLASS__, self::$properties)) {
         self::$properties[__CLASS__] = array_merge(self::$properties[get_parent_class()], self::$propertyTypes);
     }
     if (!array_key_exists(__CLASS__, self::$xmlNamespaces)) {
         self::$xmlNamespaces[__CLASS__] = 'xmlns="http://www.ebay.com/marketplace/returns/v1/services"';
     }
     $this->setValues(__CLASS__, $childValues);
 }
コード例 #4
0
ファイル: SimpleClass.php プロジェクト: ronlobo/ebay-sdk-php
 public function __construct(array $values = array())
 {
     list($parentValues, $childValues) = self::getParentValues(self::$propertyTypes, $values);
     parent::__construct($parentValues);
     if (!array_key_exists(__CLASS__, self::$properties)) {
         self::$properties[__CLASS__] = array_merge(self::$properties[get_parent_class()], self::$propertyTypes);
     }
     if (!array_key_exists(__CLASS__, self::$xmlNamespaces)) {
         self::$xmlNamespaces[__CLASS__] = 'http://davidtsadler.com';
     }
     $this->setValues(__CLASS__, $childValues);
 }
コード例 #5
0
 /**
  * @param array $values Optional properties and values to assign to the object.
  */
 public function __construct(array $values = [])
 {
     list($parentValues, $childValues) = self::getParentValues(self::$propertyTypes, $values);
     parent::__construct($parentValues);
     if (!array_key_exists(__CLASS__, self::$properties)) {
         self::$properties[__CLASS__] = array_merge(self::$properties[get_parent_class()], self::$propertyTypes);
     }
     if (!array_key_exists(__CLASS__, self::$xmlNamespaces)) {
         self::$xmlNamespaces[__CLASS__] = 'xmlns:xop="http://www.w3.org/2004/08/xop/include"';
     }
     $this->setValues(__CLASS__, $childValues);
 }
コード例 #6
0
 /**
  * @param array $values Optional properties and values to assign to the object.
  */
 public function __construct(array $values = [])
 {
     list($parentValues, $childValues) = self::getParentValues(self::$propertyTypes, $values);
     parent::__construct($parentValues);
     if (!array_key_exists(__CLASS__, self::$properties)) {
         self::$properties[__CLASS__] = array_merge(self::$properties[get_parent_class()], self::$propertyTypes);
     }
     if (!array_key_exists(__CLASS__, self::$xmlNamespaces)) {
         self::$xmlNamespaces[__CLASS__] = 'xmlns="urn:ebay:apis:eBLBaseComponents"';
     }
     if (!array_key_exists(__CLASS__, self::$requestXmlRootElementNames)) {
         self::$requestXmlRootElementNames[__CLASS__] = 'SetShipmentTrackingInfoRequest';
     }
     $this->setValues(__CLASS__, $childValues);
 }