PHP Class Dumplie\Customer\Domain\Order

Afficher le fichier Open project: dumplie/dumplie Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( OrderId $id, array $orderItems = [], Address $billing, Address $shipping )
id ( ) : OrderId

Private Methods

Méthode Description
addItem ( OrderItem $item )

Method Details

__construct() public méthode

public __construct ( OrderId $id, array $orderItems = [], Address $billing, Address $shipping )
$id OrderId
$orderItems array
$billing Address
$shipping Address

id() public méthode

public id ( ) : OrderId
Résultat OrderId