namespace OliverBooth.Data.Web;
///
/// Represents a book.
///
public interface IBook
{
///
/// Gets the author of the book.
///
/// The author of the book.
string Author { get; }
///
/// Gets the ISBN of the book.
///
/// The ISBN of the book.
string Isbn { get; }
///
/// Gets the state of the book.
///
/// The state of the book.
BookState State { get; }
///
/// Gets the title of the book.
///
/// The title of the book.
string Title { get; }
///
/// Generates the barcode for this book.
///
/// The EAN-13 barcode encoded as PNG in Base64.
/// This value should be disposed.
string GetBarcode();
}