NAME

WWW::ArsenalFC::TicketInformation::Match - Represents an Arsenal match with ticket information.

VERSION

version 1.123160

ATTRIBUTES

availability

An array of WWW::ArsenalFC::TicketInformation::Match::Availability objects.

The first item in the array is the current availability. Second item is the next availability, and so on.

Note if the match is sold out or if the ticket exchange is open, this will not be set.

can_exchange

True if the ticket exchange is open, otherwise false.

competition

The competition the game is being played in (i.e. 'Barclays Premier League').

category

The category of the game, if its a Permier League game.

datetime_string

The date and time of the game as it is displayed on the website (i.e. 'Saturday, May 5, 2012, 12:45').

fixture

The fixture (i.e. 'Arsenal vs Norwich').

hospitality

True if hospitality is available, otherwise false.

is_soldout

True if sold out, otherwise false.

METHODS

is_home

True if Arsenal are at home, otherwise false.

is_premier_league

True if this is a Premier League game.

datetime

Returns the date and time of the match as YYYY-MM-DDThh:mm:ss.

date

Returns the date of the match as YYYY-MM-DD

opposition

Returns the opposition.

AUTHOR

Andrew Jones <andrew@arjones.co.uk>

COPYRIGHT AND LICENSE

This software is copyright (c) 2012 by Andrew Jones.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.