SponsorEntity

Who actually pays for a contribution: the supporter, or an organization they belong to.

On this page

Who actually pays for a contribution: the supporter, or an organization they belong to.

namespace Sponsorkit;

public sealed class SponsorEntity

Constructors#

MemberDescription
SponsorEntity()Creates an instance with every property at its default; set the properties with an object initializer.

SponsorEntity()#

public SponsorEntity()

Creates an instance with every property at its default; set the properties with an object initializer.

Properties#

MemberDescription
Typeuser or organization.
ProviderThe provider (see Providers).
IdThe provider's immutable account id.
HandleThe account login or slug, when known.

Type#

public string Type { get; set; } = "";

user or organization.

Type: string · Default: "" · JSON: type

Provider#

public string Provider { get; set; } = "";

The provider (see Providers).

Type: string · Default: "" · JSON: provider

Id#

public string Id { get; set; } = "";

The provider's immutable account id.

Type: string · Default: "" · JSON: id

Handle#

public string? Handle { get; set; }

The account login or slug, when known.

Type: string? · JSON: handle