Class Registration
- Namespace
- Crews.PlanningCenter.Api.Registrations.V2025_05_01
- Assembly
- Crews.PlanningCenter.Api.dll
Attributes for the Registration resource.
public record Registration : IEquatable<Registration>
- Inheritance
-
Registration
- Implements
- Inherited Members
Constructors
Registration()
public Registration()
Registration(Registration)
protected Registration(Registration original)
Parameters
originalRegistration
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
TotalCost
The registration's total cost after discounts, formatted with the signup's
currency symbol (for example "$120.00"). null for a free registration.
Accounts for discounts and every attendee on the registration.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("total_cost")]
public string? TotalCost { get; init; }
Property Value
TotalCostCents
The registration's total cost after discounts, in cents. 0 for a free
registration. Accounts for discounts and every attendee on the registration.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("total_cost_cents")]
public int? TotalCostCents { get; init; }
Property Value
- int?
TotalDue
The registration's outstanding balance, formatted with the signup's currency
symbol (for example "$120.00"). Accounts for discounts and every attendee
on the registration.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("total_due")]
public string? TotalDue { get; init; }
Property Value
TotalDueCents
The registration's outstanding balance in cents. Accounts for discounts and
every attendee on the registration.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("total_due_cents")]
public int? TotalDueCents { get; init; }
Property Value
- int?
TotalPaid
The total amount paid toward the registration, formatted with the signup's
currency symbol (for example "$120.00").
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("total_paid")]
public string? TotalPaid { get; init; }
Property Value
TotalPaidCents
The total amount paid toward the registration, in cents.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("total_paid_cents")]
public int? TotalPaidCents { get; init; }
Property Value
- int?
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(Registration?)
public virtual bool Equals(Registration? other)
Parameters
otherRegistration
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 ==(Registration?, Registration?)
public static bool operator ==(Registration? left, Registration? right)
Parameters
leftRegistrationrightRegistration
Returns
operator !=(Registration?, Registration?)
public static bool operator !=(Registration? left, Registration? right)
Parameters
leftRegistrationrightRegistration