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

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

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?

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