src/Models/InstancePricing.php
<?php
namespace Resova\Models;
/**
* Class InstancePricing
*
* @codeCoverageIgnore
* @package Resova\Models
*/
class InstancePricing
{
/* TODO: make this
{
"per_person": "19.00",
"price": "76.00",
"fee": "6.08",
"tax": "4.10",
"total": "86.18",
"min_quantity": 2,
"total_quantity": 4,
"pricing_type": "per_person",
"quantities": [
{
"id": 54787,
"name": "Adults",
"default_pricing": false,
"min_quantity": 1,
"max_quantity": 12,
"default_quantity": 2,
"single_price": "20.00",
"occupied_quantity": 0,
"available_quantity": 12,
"quantity": "2",
"overwrite_price": false,
"original_price": "20.00",
"total_price": "40.00"
},
{
"id": 54788,
"name": "Children",
"default_pricing": false,
"min_quantity": 0,
"max_quantity": 11,
"default_quantity": 0,
"single_price": "18.00",
"occupied_quantity": 0,
"available_quantity": 11,
"quantity": "2",
"overwrite_price": false,
"original_price": "18.00",
"total_price": "36.00"
},
{
"id": 54789,
"name": "Student",
"default_pricing": false,
"min_quantity": 0,
"max_quantity": 1,
"default_quantity": 0,
"single_price": "12.00",
"occupied_quantity": 0,
"available_quantity": 1,
"quantity": 0,
"overwrite_price": false,
"original_price": "12.00",
"total_price": "0.00"
}
]
}
*/
}