Table of Contents

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

original PledgeCampaign

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?

Description

Planning Center does not provide a description for this attribute.

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

Property Value

string

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

DateTime?

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

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

string

Name

Planning Center does not provide a description for this attribute.

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

Property Value

string

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

DateTime?

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(PledgeCampaign?)

public virtual bool Equals(PledgeCampaign? other)

Parameters

other PledgeCampaign

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 ==(PledgeCampaign?, PledgeCampaign?)

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

Parameters

left PledgeCampaign
right PledgeCampaign

Returns

bool

operator !=(PledgeCampaign?, PledgeCampaign?)

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

Parameters

left PledgeCampaign
right PledgeCampaign

Returns

bool