mirror of
https://github.com/kevinveenbirkenbach/coding-challenge-online-shop.git
synced 2025-04-22 21:22:25 +02:00
32 lines
526 B
PHP
32 lines
526 B
PHP
<?php
|
|
namespace entity\price;
|
|
|
|
use entity\currency\CurrencyInterface;
|
|
|
|
/**
|
|
*
|
|
* @author kevinfrantz
|
|
*
|
|
*/
|
|
interface PriceInterface
|
|
{
|
|
/**
|
|
* Sets the price
|
|
* @param CurrencyInterface $price
|
|
*/
|
|
public function setPrice(CurrencyInterface $price):void;
|
|
|
|
/**
|
|
* Returns the netto price
|
|
* @return int
|
|
*/
|
|
public function getNetto():CurrencyInterface;
|
|
|
|
/**
|
|
* Returns the gross price
|
|
* @return int
|
|
*/
|
|
public function getGross():CurrencyInterface;
|
|
}
|
|
|