CheckoutUrlOptions
Options for SponsorkitClient.CheckoutUrl.
Options for SponsorkitClient.CheckoutUrl.
namespace Sponsorkit;
public class CheckoutUrlOptionsConstructors#
| Member | Description |
|---|---|
CheckoutUrlOptions() | Creates options with every property at its default; set the properties with an object initializer. |
CheckoutUrlOptions()#
public CheckoutUrlOptions()Creates options with every property at its default; set the properties with an object initializer.
Properties#
| Member | Description |
|---|---|
Provider | Preferred provider (github or open-collective); it must be one of the configured targets. |
Amount | Amount in minor units (for example 500 = $5.00). |
Currency | ISO 4217 currency code: three letters, for example USD. |
Frequency | one_time, monthly or yearly (see Frequencies). |
Provider#
public string? Provider { get; set; }Preferred provider (github or open-collective); it must be one of the configured targets.
Type: string?
Amount#
public long? Amount { get; set; }Amount in minor units (for example 500 = $5.00). Must be positive.
Type: long?
Currency#
public string? Currency { get; set; }ISO 4217 currency code: three letters, for example USD.
Type: string?
Frequency#
public string? Frequency { get; set; }one_time, monthly or yearly (see Frequencies). Other values throw invalid_config.
Type: string?