EvilFreelancer/resova-api-php

View on GitHub
src/Models/PurchaseList.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Resova\Models;

/**
 * Class PurchaseList
 *
 * @codeCoverageIgnore
 * @package Resova\Models
 */
class PurchaseList
{
    /*
     * TODO: make this
{
 "overall_total": 1,
 "total": 1,
 "visible": 1,
 "per_page": 20,
 "current_page": 1,
 "last_page": 1,
 "data": [
  {
   "id": 56940,
   "price": "100.00",
   "discount": "0.00",
   "fee": "0.00",
   "tax": "9.82",
   "total": "109.82",
   "total_quantity": 1,
   "gift_voucher": {
    "name": "£100 Gift Voucher",
    "description": "Customers can purchase this voucher for a total value of $100.00 amount."
   },
   "gift_email": null,
   "gift_message": null,
  }
 ]
}
     */
}