SponsorEntity

SponsorEntity is who actually pays: the user or an organization they belong to.

On this page

SponsorEntity is who actually pays: the user or an organization they belong to.

type SponsorEntity struct {
	Type     string   `json:"type"`
	Provider Provider `json:"provider"`
	ID       string   `json:"id"`
	Handle   *string  `json:"handle"`
}

Fields#

Type#

Type string `json:"type"`

Type is "user" or "organization".

Provider#

Provider Provider `json:"provider"`

Provider is where the sponsoring account lives.

ID#

ID string `json:"id"`

ID is the provider's immutable account id.

Handle#

Handle *string `json:"handle"`

Handle is the login or slug, or nil. Handles can change; key data on ID.