-
Notifications
You must be signed in to change notification settings - Fork 16
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
83 changed files
with
1,755 additions
and
197 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
namespace Mirakl\MCI\Common\Domain; | ||
|
||
use Mirakl\Core\Domain\MiraklObject; | ||
|
||
/** | ||
* @method string getCode() | ||
* @method $this setCode(string $code) | ||
*/ | ||
class AttributeProductFeed extends MiraklObject | ||
{} |
20 changes: 20 additions & 0 deletions
20
src/Mirakl/MCI/Common/Domain/Collection/AttributeProductFeedCollection.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,20 @@ | ||
<?php | ||
namespace Mirakl\MCI\Common\Domain\Collection; | ||
|
||
use Mirakl\Core\Domain\Collection\MiraklCollection; | ||
use Mirakl\MCI\Common\Domain\AttributeProductFeed; | ||
|
||
/** | ||
* @method AttributeProductFeed current() | ||
* @method AttributeProductFeed first() | ||
* @method AttributeProductFeed get($offset) | ||
* @method AttributeProductFeed offsetGet($offset) | ||
* @method AttributeProductFeed last() | ||
*/ | ||
class AttributeProductFeedCollection extends MiraklCollection | ||
{ | ||
/** | ||
* @var string | ||
*/ | ||
protected $itemClass = AttributeProductFeed::class; | ||
} |
20 changes: 20 additions & 0 deletions
20
...ommon/Domain/Collection/Product/ProductDataSheetProductFeedValidationStatusCollection.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,20 @@ | ||
<?php | ||
namespace Mirakl\MCI\Common\Domain\Collection\Product; | ||
|
||
use Mirakl\Core\Domain\Collection\MiraklCollection; | ||
use Mirakl\MCI\Common\Domain\Product\ProductDataSheetProductFeedValidationStatus; | ||
|
||
/** | ||
* @method ProductDataSheetProductFeedValidationStatus current() | ||
* @method ProductDataSheetProductFeedValidationStatus first() | ||
* @method ProductDataSheetProductFeedValidationStatus get($offset) | ||
* @method ProductDataSheetProductFeedValidationStatus offsetGet($offset) | ||
* @method ProductDataSheetProductFeedValidationStatus last() | ||
*/ | ||
class ProductDataSheetProductFeedValidationStatusCollection extends MiraklCollection | ||
{ | ||
/** | ||
* @var string | ||
*/ | ||
protected $itemClass = ProductDataSheetProductFeedValidationStatus::class; | ||
} |
20 changes: 20 additions & 0 deletions
20
src/Mirakl/MCI/Common/Domain/Collection/ProductFeed/ChannelCollection.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,20 @@ | ||
<?php | ||
namespace Mirakl\MCI\Common\Domain\Collection\ProductFeed; | ||
|
||
use Mirakl\Core\Domain\Collection\MiraklCollection; | ||
use Mirakl\MCI\Common\Domain\ProductFeed\Channel; | ||
|
||
/** | ||
* @method Channel current() | ||
* @method Channel first() | ||
* @method Channel get($offset) | ||
* @method Channel offsetGet($offset) | ||
* @method Channel last() | ||
*/ | ||
class ChannelCollection extends MiraklCollection | ||
{ | ||
/** | ||
* @var string | ||
*/ | ||
protected $itemClass = Channel::class; | ||
} |
20 changes: 20 additions & 0 deletions
20
src/Mirakl/MCI/Common/Domain/Collection/ProductFeed/ProductFeedCollection.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,20 @@ | ||
<?php | ||
namespace Mirakl\MCI\Common\Domain\Collection\ProductFeed; | ||
|
||
use Mirakl\Core\Domain\Collection\MiraklCollection; | ||
use Mirakl\MCI\Common\Domain\ProductFeed\ProductFeed; | ||
|
||
/** | ||
* @method ProductFeed current() | ||
* @method ProductFeed first() | ||
* @method ProductFeed get($offset) | ||
* @method ProductFeed offsetGet($offset) | ||
* @method ProductFeed last() | ||
*/ | ||
class ProductFeedCollection extends MiraklCollection | ||
{ | ||
/** | ||
* @var string | ||
*/ | ||
protected $itemClass = ProductFeed::class; | ||
} |
20 changes: 20 additions & 0 deletions
20
src/Mirakl/MCI/Common/Domain/Collection/ProductFeed/ProductFeedImportErrorCollection.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,20 @@ | ||
<?php | ||
namespace Mirakl\MCI\Common\Domain\Collection\ProductFeed; | ||
|
||
use Mirakl\Core\Domain\Collection\MiraklCollection; | ||
use Mirakl\MCI\Common\Domain\ProductFeed\ProductFeedImportError; | ||
|
||
/** | ||
* @method ProductFeedImportError current() | ||
* @method ProductFeedImportError first() | ||
* @method ProductFeedImportError get($offset) | ||
* @method ProductFeedImportError offsetGet($offset) | ||
* @method ProductFeedImportError last() | ||
*/ | ||
class ProductFeedImportErrorCollection extends MiraklCollection | ||
{ | ||
/** | ||
* @var string | ||
*/ | ||
protected $itemClass = ProductFeedImportError::class; | ||
} |
20 changes: 20 additions & 0 deletions
20
...irakl/MCI/Common/Domain/Collection/ProductFeed/ProductFeedImportGlobalErrorCollection.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,20 @@ | ||
<?php | ||
namespace Mirakl\MCI\Common\Domain\Collection\ProductFeed; | ||
|
||
use Mirakl\Core\Domain\Collection\MiraklCollection; | ||
use Mirakl\MCI\Common\Domain\ProductFeed\ProductFeedImportGlobalError; | ||
|
||
/** | ||
* @method ProductFeedImportGlobalError current() | ||
* @method ProductFeedImportGlobalError first() | ||
* @method ProductFeedImportGlobalError get($offset) | ||
* @method ProductFeedImportGlobalError offsetGet($offset) | ||
* @method ProductFeedImportGlobalError last() | ||
*/ | ||
class ProductFeedImportGlobalErrorCollection extends MiraklCollection | ||
{ | ||
/** | ||
* @var string | ||
*/ | ||
protected $itemClass = ProductFeedImportGlobalError::class; | ||
} |
20 changes: 20 additions & 0 deletions
20
src/Mirakl/MCI/Common/Domain/Collection/ProductFeed/ProductFeedImportItemCollection.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,20 @@ | ||
<?php | ||
namespace Mirakl\MCI\Common\Domain\Collection\ProductFeed; | ||
|
||
use Mirakl\Core\Domain\Collection\MiraklCollection; | ||
use Mirakl\MCI\Common\Domain\ProductFeed\ProductFeedImportItem; | ||
|
||
/** | ||
* @method ProductFeedImportItem current() | ||
* @method ProductFeedImportItem first() | ||
* @method ProductFeedImportItem get($offset) | ||
* @method ProductFeedImportItem offsetGet($offset) | ||
* @method ProductFeedImportItem last() | ||
*/ | ||
class ProductFeedImportItemCollection extends MiraklCollection | ||
{ | ||
/** | ||
* @var string | ||
*/ | ||
protected $itemClass = ProductFeedImportItem::class; | ||
} |
20 changes: 20 additions & 0 deletions
20
...Mirakl/MCI/Common/Domain/Collection/ProductFeed/ProductFeedImportReportItemCollection.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,20 @@ | ||
<?php | ||
namespace Mirakl\MCI\Common\Domain\Collection\ProductFeed; | ||
|
||
use Mirakl\Core\Domain\Collection\MiraklCollection; | ||
use Mirakl\MCI\Common\Domain\ProductFeed\ProductFeedImportReportItem; | ||
|
||
/** | ||
* @method ProductFeedImportReportItem current() | ||
* @method ProductFeedImportReportItem first() | ||
* @method ProductFeedImportReportItem get($offset) | ||
* @method ProductFeedImportReportItem offsetGet($offset) | ||
* @method ProductFeedImportReportItem last() | ||
*/ | ||
class ProductFeedImportReportItemCollection extends MiraklCollection | ||
{ | ||
/** | ||
* @var string | ||
*/ | ||
protected $itemClass = ProductFeedImportReportItem::class; | ||
} |
13 changes: 13 additions & 0 deletions
13
src/Mirakl/MCI/Common/Domain/Product/ProductDataSheetProductFeedValidationStatus.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,13 @@ | ||
<?php | ||
namespace Mirakl\MCI\Common\Domain\Product; | ||
|
||
use Mirakl\Core\Domain\MiraklObject; | ||
|
||
/** | ||
* @method string getCode() | ||
* @method $this setCode(string $code) | ||
* @method string getStatus() | ||
* @method $this setStatus(string $status) One of \Mirakl\MCI\Common\Domain\Product\ProductDataSheetValidationStatus | ||
*/ | ||
class ProductDataSheetProductFeedValidationStatus extends MiraklObject | ||
{} |
21 changes: 21 additions & 0 deletions
21
src/Mirakl/MCI/Common/Domain/Product/ProductDataSheetValidation.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,21 @@ | ||
<?php | ||
namespace Mirakl\MCI\Common\Domain\Product; | ||
|
||
use Mirakl\Core\Domain\MiraklObject; | ||
use Mirakl\MCI\Common\Domain\Collection\Product\ProductDataSheetProductFeedValidationStatusCollection as ProductFeeds; | ||
|
||
/** | ||
* @method ProductFeeds getProductFeeds() | ||
* @method $this setProductFeeds(ProductFeeds $productFeeds) | ||
* @method string getStatus() | ||
* @method $this setStatus(string $status) One of \Mirakl\MCI\Common\Domain\Product\ProductDataSheetValidationStatus | ||
*/ | ||
class ProductDataSheetValidation extends MiraklObject | ||
{ | ||
/** | ||
* @var array | ||
*/ | ||
protected static $dataTypes = [ | ||
'product_feeds' => [ProductFeeds::class, 'create'], | ||
]; | ||
} |
9 changes: 9 additions & 0 deletions
9
src/Mirakl/MCI/Common/Domain/Product/ProductDataSheetValidationStatus.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,9 @@ | ||
<?php | ||
namespace Mirakl\MCI\Common\Domain\Product; | ||
|
||
class ProductDataSheetValidationStatus | ||
{ | ||
const VALID = 'VALID'; | ||
const INVALID = 'INVALID'; | ||
const NOT_ANALYZED = 'NOT_ANALYZED'; | ||
} |
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.