Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
/build/artifacts
/docs/_build
/.phpunit.result.cache
/.idea
7 changes: 7 additions & 0 deletions src/Trading/Types/ItemType.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@
* @property boolean $eBayPlusEligible
* @property boolean $eMailDeliveryAvailable
* @property boolean $IsSecureDescription
* @property \DTS\eBaySDK\Trading\Types\VideoDetailsType $VideoDetails
*/
class ItemType extends \DTS\eBaySDK\Types\BaseType
{
Expand Down Expand Up @@ -900,6 +901,12 @@ class ItemType extends \DTS\eBaySDK\Types\BaseType
'repeatable' => false,
'attribute' => false,
'elementName' => 'IsSecureDescription'
],
'VideoDetails' => [
'type' => 'DTS\eBaySDK\Trading\Types\VideoDetailsType',
'repeatable' => false,
'attribute' => false,
'elementName' => 'VideoDetails'
]
];

Expand Down
50 changes: 50 additions & 0 deletions src/Trading/Types/VideoDetailsType.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<?php
/**
* DO NOT EDIT THIS FILE!
*
* This file was automatically generated from external sources.
*
* Any manual change here will be lost the next time the SDK
* is updated. You've been warned!
*/

namespace DTS\eBaySDK\Trading\Types;

/**
*
* @property string VideoID
*/
class VideoDetailsType extends \DTS\eBaySDK\Types\BaseType
{
/**
* @var array Properties belonging to objects of this class.
*/
private static $propertyTypes = [
'VideoID' => [
'type' => 'string',
'repeatable' => false,
'attribute' => false,
'elementName' => 'VideoID'
]
];

/**
* @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"';
}

$this->setValues(__CLASS__, $childValues);
}
}