Table of Contents

Class Pledge

Namespace
Crews.PlanningCenter.Api.Giving.V2019_10_18
Assembly
Crews.PlanningCenter.Api.dll

Attributes for the Pledge resource.

public record Pledge : IEquatable<Pledge>
Inheritance
Pledge
Implements
Inherited Members

Constructors

Pledge()

public Pledge()

Pledge(Pledge)

protected Pledge(Pledge original)

Parameters

original Pledge

Properties

AmountCents

The amount pledged

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("amount_cents")]
public int? AmountCents { get; init; }

Property Value

int?

AmountCurrency

Planning Center does not provide a description for this attribute.

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

Property Value

string

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?

DonatedTotalCents

The amount donated

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("donated_total_cents")]
public int? DonatedTotalCents { get; init; }

Property Value

int?

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

JointGiverAmountCents

The amount pledged by the joint giver, if in a joint giving unit

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("joint_giver_amount_cents")]
public int? JointGiverAmountCents { get; init; }

Property Value

int?

JointGiverDonatedTotalCents

The amount donated by the joint giver, if in a joint giving unit

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("joint_giver_donated_total_cents")]
public int? JointGiverDonatedTotalCents { 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

DateTime?

Methods

Equals(Pledge?)

public virtual bool Equals(Pledge? other)

Parameters

other Pledge

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

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

Parameters

left Pledge
right Pledge

Returns

bool

operator !=(Pledge?, Pledge?)

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

Parameters

left Pledge
right Pledge

Returns

bool