Added drafts for entity interfaces

This commit is contained in:
Kevin Frantz
2018-07-14 00:15:00 +02:00
parent 4845deddc6
commit 6fcef40e10
8 changed files with 297 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
<?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;
}