Class PledgeCampaign
- Namespace
- Crews.PlanningCenter.Api.Giving.V2019_10_18
- Assembly
- Crews.PlanningCenter.Api.dll
Attributes for the PledgeCampaign resource.
public record PledgeCampaign : IEquatable<PledgeCampaign>
- Inheritance
-
PledgeCampaign
- Implements
- Inherited Members
Constructors
PledgeCampaign()
public PledgeCampaign()
PledgeCampaign(PledgeCampaign)
protected PledgeCampaign(PledgeCampaign original)
Parameters
originalPledgeCampaign
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
Description
Planning Center does not provide a description for this attribute.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("description")]
public string? Description { get; init; }
Property Value
EndsAt
Planning Center does not provide a description for this attribute.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("ends_at")]
public DateTime? EndsAt { get; init; }
Property Value
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
GoalCents
Optional. During the donation period of this campaign, the running total of donations will be tracked against this number
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("goal_cents")]
public int? GoalCents { get; init; }
Property Value
- int?
GoalCurrency
Planning Center does not provide a description for this attribute.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("goal_currency")]
public string? GoalCurrency { get; init; }
Property Value
Name
Planning Center does not provide a description for this attribute.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("name")]
public string? Name { get; init; }
Property Value
ReceivedTotalFromPledgesCents
Planning Center does not provide a description for this attribute.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("received_total_from_pledges_cents")]
public int? ReceivedTotalFromPledgesCents { get; init; }
Property Value
- int?
ReceivedTotalOutsideOfPledgesCents
Planning Center does not provide a description for this attribute.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("received_total_outside_of_pledges_cents")]
public int? ReceivedTotalOutsideOfPledgesCents { get; init; }
Property Value
- int?
ShowGoalInChurchCenter
In addition to seeing their personal pledge progress within their donor profile, this option allows donors to see the the collective progress towards the campaign’s overall goal (if set).
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("show_goal_in_church_center")]
public bool? ShowGoalInChurchCenter { get; init; }
Property Value
- bool?
StartsAt
Planning Center does not provide a description for this attribute.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("starts_at")]
public DateTime? StartsAt { get; init; }
Property Value
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(PledgeCampaign?)
public virtual bool Equals(PledgeCampaign? other)
Parameters
otherPledgeCampaign
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 ==(PledgeCampaign?, PledgeCampaign?)
public static bool operator ==(PledgeCampaign? left, PledgeCampaign? right)
Parameters
leftPledgeCampaignrightPledgeCampaign
Returns
operator !=(PledgeCampaign?, PledgeCampaign?)
public static bool operator !=(PledgeCampaign? left, PledgeCampaign? right)
Parameters
leftPledgeCampaignrightPledgeCampaign