| Current File : /home/bwalansa/www/wp-content/plugins/the-events-calendar/src/Tribe/Tickets/Ticket_Object.php |
<?php
if ( ! class_exists( 'Tribe__Events__Tickets__Ticket_Object' ) ) {
/**
* Generic object to hold information about a single ticket
*/
class Tribe__Events__Tickets__Ticket_Object {
/**
* This value - an empty string - should be used to populate the stock
* property in situations where no limit has been placed on stock
* levels.
*/
const UNLIMITED_STOCK = '';
/**
* Unique identifier
* @var
*/
public $ID;
/**
* Name of the ticket
* @var string
*/
public $name;
/**
* Free text with a description of the ticket
* @var string
*/
public $description;
/**
* Current sale price, without any sign. Just a float.
*
* @var float
*/
public $price;
/**
* Regular price (if the ticket is not on a special sale this will be identical to
* $price).
*
* @var float
*/
public $regular_price;
/**
* Indicates if the ticket is currently being offered at a reduced price as part
* of a special sale.
*
* @var bool
*/
public $on_sale;
/**
* Link to the admin edit screen for this ticket in the provider system,
* or null if the provider doesn't have any way to edit the ticket.
* @var string
*/
public $admin_link;
/**
* Link to the front end of this ticket, if the providers has single view
* for this ticket.
* @var string
*/
public $frontend_link;
/**
* Class name of the provider handling this ticket
* @var
*/
public $provider_class;
/**
* Amount of tickets of this kind in stock
* @var mixed
*/
public $stock;
/**
* Amount of tickets of this kind sold
* @var int
*/
public $qty_sold;
/**
* Number of tickets for which an order has been placed but not confirmed or "completed".
*
* @var int
*/
public $qty_pending = 0;
/**
* When the ticket should be put on sale
* @var
*/
public $start_date;
/**
* When the ticket should be stop being sold
* @var
*/
public $end_date;
/**
* Purchase limite for the ticket
* @var
*/
public $purchase_limit;
}
}