This repository has been archived by the owner on Jun 13, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 346
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
99 changed files
with
1,191 additions
and
1,546 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
53 changes: 53 additions & 0 deletions
53
src/Inventory/Types/PublishByInventoryItemGroupRequest.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<?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\Inventory\Types; | ||
|
||
/** | ||
* | ||
* @property string $inventoryItemGroupKey | ||
* @property \DTS\eBaySDK\Inventory\Enums\MarketplaceEnum $marketplaceId | ||
*/ | ||
class PublishByInventoryItemGroupRequest extends \DTS\eBaySDK\Types\BaseType | ||
{ | ||
/** | ||
* @var array Properties belonging to objects of this class. | ||
*/ | ||
private static $propertyTypes = [ | ||
'inventoryItemGroupKey' => [ | ||
'type' => 'string', | ||
'repeatable' => false, | ||
'attribute' => false, | ||
'elementName' => 'inventoryItemGroupKey' | ||
], | ||
'marketplaceId' => [ | ||
'type' => 'string', | ||
'repeatable' => false, | ||
'attribute' => false, | ||
'elementName' => 'marketplaceId' | ||
] | ||
]; | ||
|
||
/** | ||
* @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); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
65 changes: 65 additions & 0 deletions
65
src/Inventory/Types/PublishOfferByInventoryItemGroupRestResponse.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
<?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\Inventory\Types; | ||
|
||
use DTS\eBaySDK\StatusCodeTrait; | ||
use DTS\eBaySDK\HttpHeadersTrait; | ||
|
||
/** | ||
* | ||
* @property \DTS\eBaySDK\Inventory\Types\ErrorDetailV3[] $errors | ||
* @property \DTS\eBaySDK\Inventory\Types\ErrorDetailV3[] $warnings | ||
*/ | ||
class PublishOfferByInventoryItemGroupRestResponse extends \DTS\eBaySDK\Inventory\Types\PublishResponse | ||
{ | ||
use StatusCodeTrait; | ||
use HttpHeadersTrait; | ||
|
||
/** | ||
* @var array Properties belonging to objects of this class. | ||
*/ | ||
private static $propertyTypes = [ | ||
'errors' => [ | ||
'type' => 'DTS\eBaySDK\Inventory\Types\ErrorDetailV3', | ||
'repeatable' => true, | ||
'attribute' => false, | ||
'elementName' => 'errors' | ||
], | ||
'warnings' => [ | ||
'type' => 'DTS\eBaySDK\Inventory\Types\ErrorDetailV3', | ||
'repeatable' => true, | ||
'attribute' => false, | ||
'elementName' => 'warnings' | ||
] | ||
]; | ||
|
||
/** | ||
* @param array $values Optional properties and values to assign to the object. | ||
* @param int $statusCode Status code | ||
* @param array $headers HTTP Response headers. | ||
*/ | ||
public function __construct(array $values = [], $statusCode = 200, array $headers = []) | ||
{ | ||
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); | ||
|
||
$this->statusCode = (int)$statusCode; | ||
|
||
$this->setHeaders($headers); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.