CheckoutOptions

Options for SponsorkitClient.OpenCheckoutAsync.

On this page

Options for SponsorkitClient.OpenCheckoutAsync.

namespace Sponsorkit;

public sealed class CheckoutOptions : CheckoutUrlOptions

Inherits from CheckoutUrlOptions.

Constructors#

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

CheckoutOptions()#

public CheckoutOptions()

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

Properties#

MemberDescription
TimeoutHow long to poll for the new contribution.
PollIntervalOverrides SponsorkitOptions.CheckoutPollInterval for this call.
SignInMethodOverrides SponsorkitOptions.SignInMethod when the supporter must sign in first.

Timeout#

public TimeSpan? Timeout { get; set; }

How long to poll for the new contribution. Default 10 minutes. It covers only the polling phase; a sign-in first is bounded by SponsorkitOptions.SignInTimeout.

Type: TimeSpan?

PollInterval#

public TimeSpan? PollInterval { get; set; }

Overrides SponsorkitOptions.CheckoutPollInterval for this call.

Type: TimeSpan?

SignInMethod#

public SignInMethod? SignInMethod { get; set; }

Overrides SponsorkitOptions.SignInMethod when the supporter must sign in first.

Type: SignInMethod?

Inherited from CheckoutUrlOptions#

MemberDescription
ProviderPreferred provider (github or open-collective); it must be one of the configured targets.
AmountAmount in minor units (for example 500 = $5.00).
CurrencyISO 4217 currency code: three letters, for example USD.
Frequencyone_time, monthly or yearly (see Frequencies).