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
originalPledge
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
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
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
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
Methods
Equals(Pledge?)
public virtual bool Equals(Pledge? other)
Parameters
otherPledge
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 ==(Pledge?, Pledge?)
public static bool operator ==(Pledge? left, Pledge? right)
Parameters
Returns
operator !=(Pledge?, Pledge?)
public static bool operator !=(Pledge? left, Pledge? right)