attendeeservice

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AttendeeIdList

type AttendeeIdList struct {
	Ids []int64 `json:"ids"`
}

type AttendeeService

type AttendeeService interface {
	// PaymentsChanged webhook to tell the attendee service to recalculate attendee status.
	PaymentsChanged(ctx context.Context, debitorId uint) error

	// ListMyRegistrationIds which debitorIds should be visible for a non-admin / non-api-token user?
	//
	// If your request was made by an admin or with the api token, this will fail and should not be called.
	// Admin and api token can view all transactions anyway.
	//
	// Forwards the jwt from the request.
	ListMyRegistrationIds(ctx context.Context) ([]int64, error)
}

func New

func New(attendeeServiceBaseUrl string) (AttendeeService, error)

type Impl

type Impl struct {
	// contains filtered or unexported fields
}

func (*Impl) ListMyRegistrationIds

func (i *Impl) ListMyRegistrationIds(ctx context.Context) ([]int64, error)

func (*Impl) PaymentsChanged

func (i *Impl) PaymentsChanged(ctx context.Context, debitorId uint) error

Jump to

Keyboard shortcuts

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