first commit

This commit is contained in:
2024-12-17 13:43:22 +01:00
commit 8e6cd8b410
21292 changed files with 3514826 additions and 0 deletions

View File

@@ -0,0 +1,100 @@
<?php
class Shop
{
/** @var string */
private $shopId;
/** @var string */
private $name;
/** @var string */
private $currencyCode;
/** @var Balance */
private $balance;
/**
* @return string
*/
public function getShopId()
{
return $this->shopId;
}
/**
* @param string $shopId
* @return Shop
*/
public function setShopId($shopId)
{
$this->shopId = $shopId;
return $this;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string $name
* @return Shop
*/
public function setName($name)
{
$this->name = $name;
return $this;
}
/**
* @return string
*/
public function getCurrencyCode()
{
return $this->currencyCode;
}
/**
* @param string $currencyCode
* @return Shop
*/
public function setCurrencyCode($currencyCode)
{
$this->currencyCode = $currencyCode;
return $this;
}
/**
* @return Balance
*/
public function getBalance()
{
return $this->balance;
}
/**
* @param Balance $balance
* @return Shop
*/
public function setBalance($balance)
{
$this->balance = $balance;
return $this;
}
/**
* @return string
*/
public function __toString()
{
return 'Shop [currencyCode=' . $this->shopId .
', name=' . $this->name .
', currencyCode=' . $this->currencyCode .
', balance=' . $this->balance .
']';
}
}

View File

@@ -0,0 +1,78 @@
<?php
class Balance
{
/** @var string */
private $currencyCode;
/** @var int */
private $total;
/** @var int */
private $available;
/**
* @return string
*/
public function getCurrencyCode()
{
return $this->currencyCode;
}
/**
* @param string $currencyCode
* @return Balance
*/
public function setCurrencyCode($currencyCode)
{
$this->currencyCode = $currencyCode;
return $this;
}
/**
* @return int
*/
public function getTotal()
{
return $this->total;
}
/**
* @param int $total
* @return Balance
*/
public function setTotal($total)
{
$this->total = $total;
return $this;
}
/**
* @return int
*/
public function getAvailable()
{
return $this->available;
}
/**
* @param int $available
* @return Balance
*/
public function setAvailable($available)
{
$this->available = $available;
return $this;
}
/**
* @return string
*/
public function __toString()
{
return 'Balance [currencyCode=' . $this->currencyCode .
', total=' . $this->total .
', available=' . $this->available .
']';
}
}