Class: Gillbus::Ticket

Inherits:
Object
  • Object
show all
Extended by:
Fields
Includes:
UpdateAttrs
Defined in:
lib/gillbus/structs/ticket.rb

Constant Summary collapse

STATUS_MAPPING =
{
  '0' => :voiding,         # ticket in processing, interim status during refund;
  '1' => :reserved,        # ticket booked;
  '2' => :ticketed,        # ticket sold;
  '3' => :ordered,         # the booking, that waiting for the confirmation;
  '4' => :returned,        # ticket returned;
  '5' => :canceled,        # booking canceled;
  '6' => :voided,          # ticket canceled;
  '8' => :booked,          # the sale, that waiting for the confirmation;
  'e' => :ticketing_error, # resource failed to process this ticket;
}.freeze

Method Summary

Methods included from Fields

parse, parser, parser_class

Methods included from UpdateAttrs

#initialize, #update_attrs