Versions in this module Expand all Collapse all v1 v1.0.1 Nov 22, 2021 Changes in this version + type StcClient struct + func CreateClient() StcClient v1.0.0 Nov 5, 2021 Changes in this version + const DateFormat + type AvailableEventResponse struct + BlockedCountriesForSales interface{} + Categories []struct{ ... } + Currency string + CurrencyCode string + EventKey string + EventName string + ImageTags []string + ImageUrls []string + LowestPrice float64 + Performances []struct{ ... } + Performer string + Rating interface{} + ReviewCount interface{} + Tagline string + type AvailableEventsResponse []AvailableEventResponse + type CapacitySlot struct + AvailableCapacity int64 + AvailablePriceKeys map[string]float64 + Code string + Date string + EndTime string + EndTimeMinutesAfterMidnight int64 + StartTime string + StartTimeMinutesAfterMidnight int64 + TotalCapacity int64 + type CapacitySlotResponse []CapacitySlot + type CapacitySlotsRequest struct + EndDate time.Time + PriceKeys []uuid.UUID + StartDate time.Time + type Client struct + func NewTicketCounterClient(client http.Client, config Config) (*Client, error) + func (c Client) AvailableEvents() (*AvailableEventsResponse, error) + func (c Client) CapacitySlots(request *CapacitySlotsRequest) (*CapacitySlotResponse, error) + func (c Client) EventPerformanceSections(request *EventPerformanceSectionsRequest) (*EventPerformanceSections, error) + func (c Client) PlaceReservation(request *ReservationRequest) (*ReservationResponse, error) + func (c Client) RetrieveReservation(request *RetrieveReservationRequest) (*ReservationResponse, error) + func (c Client) Token(request *TokenRequest) (*TokenResponse, error) + type Config struct + Credentials Credentials + Endpoint Endpoint + Language string + type ConfirmReservationRequest struct + AmountPaid float32 + type ConfirmReservationResponse struct + Key string + PortalEditSubscriptionUrl string + type Credentials struct + ClientId string + ClientSecret string + RefreshToken string + type Endpoint string + type EventPerformanceSection struct + AreaCode string + AvailableSeats int64 + Currency string + CurrencyCode string + DiscountRulesApply bool + EventKey string + OrderLink interface{} + PerformanceKey string + PerformanceSectionKey string + PriceTypes []struct{ ... } + SeatedSection bool + SectionKey string + SectionName string + type EventPerformanceSections []EventPerformanceSection + type EventPerformanceSectionsRequest struct + EventKey uuid.UUID + PerformanceKey uuid.UUID + type HttpEnvelope struct + Data interface{} + Status int + type PriceTypeList []PriceTypeListEntry + type PriceTypeListEntry struct + CapacityDate string + CustomPrice float32 + CustomValidFrom string + CustomValidTo string + NrOfSeats int + PriceKey string + StartTimeMinutesAfterMidnight string + type ReservationRequest struct + ExternaReservationNumber string + PriceTypeList PriceTypeList + type ReservationResponse struct + Affiliate interface{} + BasketKey interface{} + ConfirmedDate interface{} + ContactKey interface{} + ContinuationLink interface{} + Currency string + CurrencyCode string + Discount float64 + DiscountTitle interface{} + EventInfo struct{ ... } + ExternalReservationNumber interface{} + ExtraInfo1 interface{} + ExtraInfo2 interface{} + ExtraInfo3 interface{} + IsBlocked bool + IsConfirmed bool + IsPaid bool + NrOfTickets int64 + OriginalTicketAmount float64 + PaymentCosts float64 + PaymentMethod interface{} + PerformanceSectionKey string + PermissionID int64 + ReservationCostsPerTicket float64 + ReservationCostsPerTransaction float64 + ReservationDate string + ReservationKey string + ReservationNumber string + ReservationPriceTypes []struct{ ... } + ReservationSubscriptions interface{} + SeatSelectionLink interface{} + SeatsTogether interface{} + SectionKey string + SectionName string + Status string + TicketAmount float64 + Tickets []Tickets + TicketsURL interface{} + TotalAmount float64 + TotalVat float64 + VisitDate interface{} + type RetrieveReservationRequest struct + ReservationId uuid.UUID + type TCError struct + ErrorCode int + ErrorCodeStr string + ExceptionMessage string + Message string + type Tickets struct + BarcodeType string + BranchePriceID string + Currency string + ExternalPriceID string + ExternalPriceTypeID string + LastClaimDate time.Time + Price float32 + PriceTypeKey string + PriceTypeName string + RowNumber string + SalesChannelName string + ScanningDisplayMessage string + SeatNumber string + SectionName string + SubscriptionProductKey string + TicketCode string + TicketKey string + TicketText string + TicketValidFrom time.Time + TicketValidTo time.Time + type TimeSlot struct + AvailableStock int64 + From string + Id string + MaxStock int64 + Name string + To string + type TimeSlots []TimeSlot + type TokenRequest struct + ClientId string + ClientSecret string + GrantType string + RefreshToken string + type TokenResponse struct + AccessToken string + ExpiresIn int64 + RefreshToken string + TokenType string + type UpdateReservationRequest struct + TotalAmount int