7digital/SevenDigital.Api.Wrapper — pull request #47 by gregsochanik (2012-11-15 21:40:30+00:00)
Title: Demo of how basket api schema should work...

...using the same model as with previous endpoints.

Each endpoint has it's own matching entity marked with the correct ApiEndpoitn attribute.

As their schema is the same, they all inherit from the base Basket which acts as the basket endpoint.

Future additions to this would be to remove some of the extension methods and replace them with a WithBasketId method as part of an ICanAccessBasket (or similarly named) interface

This potentially results in a breaking change, but would remove any dependancy on the WithEndpoint() method