2017-01-25 17:10:08 +01:00
|
|
|
|
using System;
|
2016-11-21 12:41:36 +01:00
|
|
|
|
|
2017-01-25 17:10:08 +01:00
|
|
|
|
namespace Microsoft.eShopOnContainers.Services.Ordering.Domain.AggregatesModel.OrderAggregate
|
|
|
|
|
{
|
2016-11-21 12:41:36 +01:00
|
|
|
|
public class Address
|
|
|
|
|
{
|
2017-01-25 17:10:08 +01:00
|
|
|
|
public String Street { get; }
|
2016-11-21 12:41:36 +01:00
|
|
|
|
|
2017-01-25 17:10:08 +01:00
|
|
|
|
public String City { get; }
|
2016-11-21 12:41:36 +01:00
|
|
|
|
|
2017-01-25 17:10:08 +01:00
|
|
|
|
public String State { get; }
|
2016-11-21 12:41:36 +01:00
|
|
|
|
|
2017-01-25 17:10:08 +01:00
|
|
|
|
public String Country { get; }
|
2016-11-21 12:41:36 +01:00
|
|
|
|
|
2017-01-25 17:10:08 +01:00
|
|
|
|
public String ZipCode { get; }
|
2016-11-21 12:41:36 +01:00
|
|
|
|
|
2017-01-25 17:10:08 +01:00
|
|
|
|
public Address(string street, string city, string state, string country, string zipcode)
|
|
|
|
|
{
|
|
|
|
|
Street = street;
|
|
|
|
|
City = city;
|
|
|
|
|
State = state;
|
|
|
|
|
Country = country;
|
|
|
|
|
ZipCode = zipcode;
|
|
|
|
|
}
|
2016-11-21 12:41:36 +01:00
|
|
|
|
}
|
|
|
|
|
}
|