Digital Pricing Object
======================

The digital pricing object represents an available pricing option for the sale of an associated title.
It is a list of objects in **book** object key ``digital_pricing``.

Primary Fields
^^^^^^^^^^^^^^

* **id** *<integer>*::

    Pricing ID used to facilitate sales.
* **currency** *<string>*::

    Currency code for this pricing record (default USD)

* **price** *<decimal>*::

    Price of the option

* **is_limited** *<boolean>*::

    Indicates if this record is a lifetime purchase or limited time rental

* **other_pricing** *<string>*::

    Indicates which type of limit is enforced for this sale.
    EXPIRATION - Set expiration date.
    LIMITED - Set period of days from purchase.

* **limit_days** *<integer>*::

    Number of days from purchase the access will expire.

* **deactivation_date** *<datetime>*::

    Fixed date on which access will expire.

Misc. Fields
^^^^^^^^^^^^

* **calculated_expiration_date** *<date>*::

    Calculated date when access to a sale with this pricing option would expire. This
    may not be used when caching results.

* **days_until_expiration** *<integer>*::

    Calculated number of days until access to a sale with this pricing option would
    expire.  This may not be used when caching results.


* **description** *<string>*::

    Description of the pricing option as used on RedShelf.com public-facing options.

* **description_limit** *<string>*::

    Description of the limit on the pricing option.