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,43 @@
<?php
namespace x13allegro\Api\Model\ShippingRates;
final class Rate
{
/** @var DeliveryMethod */
public $deliveryMethod;
/** @var int */
public $maxQuantityPerPackage;
/** @var \x13allegro\Api\Model\Price */
public $firstItemRate;
/** @var \x13allegro\Api\Model\Price */
public $nextItemRate;
/**
* @param string $id
* @return $this
*/
public function deliveryMethod($id)
{
$this->deliveryMethod = new DeliveryMethod($id);
return $this;
}
}
final class DeliveryMethod
{
/** @var string */
public $id;
/**
* @param string $id
*/
public function __construct($id)
{
$this->id = $id;
}
}