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
originalSelectionType
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
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
Name
Name of the selection type.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("name")]
public string? Name { get; init; }
Property Value
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
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
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
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
Methods
Equals(SelectionType?)
public virtual bool Equals(SelectionType? other)
Parameters
otherSelectionType
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(SelectionType?, SelectionType?)
public static bool operator ==(SelectionType? left, SelectionType? right)
Parameters
leftSelectionTyperightSelectionType
Returns
operator !=(SelectionType?, SelectionType?)
public static bool operator !=(SelectionType? left, SelectionType? right)
Parameters
leftSelectionTyperightSelectionType