# Models

This directory contains classes that abstracts the data for the templates found in the [Views](../views/README.md) directory

## catalog-item.js

Defines a class that abstracts the data for both a CatalogItem and its associated [CatalogItem](https://developer.squareup.com/reference/square/objects/CatalogItem). 

## catalog-list.js

Defines a class that abstracts the data for both a CatalogList and its associated [CatalogImage](https://developer.squareup.com/reference/square/objects/CatalogImage). 

## location-info.js

Defines a class that abstracts the data for a single [Location](https://developer.squareup.com/reference/square/objects/Location) object

## order-info.js

Defines a class that abstracts the data for a single Square [Order](https://developer.squareup.com/reference/square/objects/Order) object.

## delivery-pickup-times.js

Defines a class that abstracts the pickup or delivery time info. All times are relative to an instance of the javascript Date object which records the current time.




