Class EventTicketingSystem

Inheritance Relationships

Base Type

Class Documentation

class EventTicketingSystem : public csp::systems::SystemBase

System that allows creation and management of ticketed events for spaces.

Public Functions

void CreateTicketedEvent(const csp::common::String &SpaceId, EventTicketingVendor Vendor, const csp::common::String &VendorEventId, const csp::common::String &VendorEventUri, bool IsTicketingActive, TicketedEventResultCallback Callback)

Creates a ticketed event for the given space.

Parameters
void UpdateTicketedEvent(const csp::common::String &SpaceId, const csp::common::String &EventId, const csp::common::Optional<EventTicketingVendor> &Vendor, const csp::common::Optional<csp::common::String> &VendorEventId, const csp::common::Optional<csp::common::String> &VendorEventUri, const csp::common::Optional<bool> &IsTicketingActive, TicketedEventResultCallback Callback)

Updates a ticketed event in the given space.

All parameters should be provided even if they are not new values. Empty values will overwrite existing values to be empty.

Parameters
void GetTicketedEvents(const csp::common::Array<csp::common::String> &SpaceIds, const csp::common::Optional<int> &Skip, const csp::common::Optional<int> &Limit, TicketedEventCollectionResultCallback Callback)

Creates a ticketed event for the given space.

Parameters
void SubmitEventTicket(const csp::common::String &SpaceId, EventTicketingVendor Vendor, const csp::common::String &VendorEventId, const csp::common::String &VendorTicketId, const csp::common::Optional<csp::common::String> &OnBehalfOfUserId, EventTicketResultCallback Callback)

Submits a ticket from a vendor for the given event.

Parameters
void GetVendorAuthorizeInfo(EventTicketingVendor Vendor, const csp::common::String &UserId, TicketedEventVendorAuthorizeInfoCallback Callback)

Looks up the basic info required by a client to initiate an oauth2 flow with the specified vendor.

Parameters
  • VendorEventTicketingVendor : The vendor type to retrieve info for.

  • UserIdcsp::common::String : The ID of the user to obtain authentication info for.

  • Callback – TicketedEventVendorInfoResultCallback : Callback providing the oauth2 information.

void GetIsSpaceTicketed(const csp::common::String &SpaceId, SpaceIsTicketedResultCallback Callback)

Gets the ticketed status of a space given by ID.

Parameters