first commit

This commit is contained in:
2024-11-11 18:46:54 +01:00
commit a630d17338
25634 changed files with 4923715 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
<?php
namespace x13allegro\Api\Model\Command\QuantityChange;
final class Modification
{
/** @var string */
public $changeType;
/** @var int */
public $value;
}

View File

@@ -0,0 +1,9 @@
<?php
namespace x13allegro\Api\Model\Command\QuantityChange;
final class ModificationType
{
const FIXED = 'FIXED';
const GAIN = 'GAIN';
}

View File

@@ -0,0 +1,22 @@
<?php
namespace x13allegro\Api\Model\Command\QuantityChange;
use x13allegro\Api\Model\Command\CommandInterface;
final class QuantityChangeCommand implements CommandInterface
{
/** @var Modification */
public $modification;
/** @var \x13allegro\Api\Model\Command\OfferCriteria[] */
public $offerCriteria;
/**
* @return \x13allegro\Api\Model\Command\OfferCriteria
*/
public function offerCriteria()
{
return $this->offerCriteria[0];
}
}