Dumplie\Customer\Domain\Checkout::__construct PHP Метод

__construct() публичный Метод

public __construct ( CartId $cartId, Address $billingAddress )
$cartId CartId
$billingAddress Address
    public function __construct(CartId $cartId, Address $billingAddress)
    {
        $this->cartId = $cartId;
        $this->billingAddress = $billingAddress;
        $this->shippingAddress = $billingAddress;
    }