service

package
v0.0.0-...-4ce0846 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminService

type AdminService interface {
	FetchOrganizer() (model.ServiceResponse, error)
	FetchOrganizerDetail(id string) (model.ServiceResponse, error)
	FetchUser() (model.ServiceResponse, error)
	VerifyOrganizer(req model.OrganizerVerifyRequest) (model.ServiceResponse, error)
	PostCategory(req model.CategoriesRequest) (model.ServiceResponse, error)
}

type EventService

type EventService interface {
	PostEvent(user model.UserTokenData, req model.EventRequest) (model.ServiceResponse, error)
	FetchEvent(user model.UserTokenData, params model.FilterParam) (model.ServiceResponse, error)
	FetchEventDetails(id string) (model.ServiceResponse, error)
	FetchOrganizerEvent(user model.UserTokenData) (model.ServiceResponse, error)
	FetchCategory() (model.ServiceResponse, error)
}

type PaymentService

type PaymentService interface {
	GenerateUrlAndToken(user model.UserTokenData, req model.PaymentRequest) (model.ServiceResponse, error)
	VerifyPayment(orderId string) bool
	FetchPaymentHistory(user model.UserTokenData) (model.ServiceResponse, error)
}

type TicketService

type TicketService interface {
	ConfirmedPayment(invoiceId string) error
	FailurePayment(invoiceId string) error
	FetchUserTicketHistory(user model.UserTokenData) (model.ServiceResponse, error)
	FetchParticipantTicket(user model.UserTokenData, eventId string) (model.ServiceResponse, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL