first commit

This commit is contained in:
2024-11-10 21:08:49 +01:00
commit 0d932ce5ee
14455 changed files with 2567501 additions and 0 deletions

View File

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

View File

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