Andrew Jones

NAME

WWW::ArsenalFC::TicketInformation::Match::Availability - Represents the availability of a match ticket.

VERSION

version 1.123160

ATTRIBUTES

date

The date the ticket becomes available, if scheduled for release.

memberships

An array of membership levels this availability applies too.

type

The type of availibility. I.e. is it scheduled for release or for sale.

Use as follows:

  given ($availability->type) {
    when (WWW::ArsenalFC::TicketInformation::Match::Availability->SCHEDULED) {...}
    when (WWW::ArsenalFC::TicketInformation::Match::Availability->FOR_SALE) {...}
  }

Tip: If you don't like the long names, use aliased.

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.