Restbucks.Service.Mappers.OrderRepresentationMapper.GetDomainObject C# (CSharp) Method

GetDomainObject() public method

public GetDomainObject ( OrderRepresentation orderRepresentation ) : Order
orderRepresentation Restbucks.Service.Representations.OrderRepresentation
return Restbucks.Service.Domain.Order
        public Order GetDomainObject(OrderRepresentation orderRepresentation)
        {
            return new Order(orderRepresentation.Location, orderRepresentation.Items.Select(_itemMapper.GetDomainObject));
        }