public void Initialization() { _paymentId = new PaymentId(Guid.NewGuid()); _payment = new global::Domain.Payment.Payment(_paymentId) { Money = Money.FromNative(15m, "Pln"), PaymentType = PaymentType.Direct }; }
public void Initialization() { _name = "Example Shop Name"; _owner = new Owner(new OwnerId(Guid.NewGuid())); _payment = new global::Domain.Payment.Payment( new PaymentId(Guid.NewGuid()) ); _address = new Address("Example street", "00-000", "Warsaw", "PL"); _phone = new Phone("48", "22", "1234567"); _shop = new global::Domain.Shop.Shop(new ShopId(Guid.NewGuid())) { Name = _name, Owner = _owner, Address = _address }; _shop.Payments.Add(new DateTime(2000, 1, 1), _payment); _shop.Phones.Add(_phone); }