Table of Contents

Class SelectionType

Namespace
Crews.PlanningCenter.Api.Registrations.V2025_05_01
Assembly
Crews.PlanningCenter.Api.dll

Attributes for the SelectionType resource.

public record SelectionType : IEquatable<SelectionType>
Inheritance
SelectionType
Implements
Inherited Members

Constructors

SelectionType()

public SelectionType()

SelectionType(SelectionType)

protected SelectionType(SelectionType original)

Parameters

original SelectionType

Properties

AtMaximumCapacity

Whether the selection type has reached its maximum capacity.


Only available when requested with the ?fields param

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("at_maximum_capacity")]
public bool? AtMaximumCapacity { get; init; }

Property Value

bool?

AvailableCapacity

Remaining spots for this selection type (maximum_capacity minus active
registrations). null when there is no capacity limit.


Only available when requested with the ?fields param

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("available_capacity")]
public int? AvailableCapacity { get; init; }

Property Value

int?

CreatedAt

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("created_at")]
public DateTime? CreatedAt { get; init; }

Property Value

DateTime?

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

MaximumCapacity

Maximum number of attendees this selection type can hold. null when there
is no capacity limit.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("maximum_capacity")]
public int? MaximumCapacity { get; init; }

Property Value

int?

Name

Name of the selection type.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("name")]
public string? Name { get; init; }

Property Value

string

PriceCents

Price of selection type in cents.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("price_cents")]
public int? PriceCents { get; init; }

Property Value

int?

PriceCurrency

Signup currency code, example "USD".


Only available when requested with the ?fields param

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("price_currency")]
public string? PriceCurrency { get; init; }

Property Value

string

PriceCurrencySymbol

Signup currency symbol, example "$".


Only available when requested with the ?fields param

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("price_currency_symbol")]
public string? PriceCurrencySymbol { get; init; }

Property Value

string

PriceFormatted

Price of selection type with currency formatting (symbol not included).


Only available when requested with the ?fields param

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("price_formatted")]
public string? PriceFormatted { get; init; }

Property Value

string

PubliclyAvailable

Whether or not the selection type is available to the public.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("publicly_available")]
public bool? PubliclyAvailable { get; init; }

Property Value

bool?

UpdatedAt

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("updated_at")]
public DateTime? UpdatedAt { get; init; }

Property Value

DateTime?

Waitlist

Whether the selection type offers a waitlist once it is full.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("waitlist")]
public bool? Waitlist { get; init; }

Property Value

bool?

Methods

Equals(SelectionType?)

public virtual bool Equals(SelectionType? other)

Parameters

other SelectionType

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(SelectionType?, SelectionType?)

public static bool operator ==(SelectionType? left, SelectionType? right)

Parameters

left SelectionType
right SelectionType

Returns

bool

operator !=(SelectionType?, SelectionType?)

public static bool operator !=(SelectionType? left, SelectionType? right)

Parameters

left SelectionType
right SelectionType

Returns

bool