Class Refund
- Namespace
- Crews.PlanningCenter.Api.Giving.V2018_08_01
- Assembly
- Crews.PlanningCenter.Api.dll
Attributes for the Refund resource.
public record Refund : IEquatable<Refund>
- Inheritance
-
Refund
- Implements
- Inherited Members
Constructors
Refund()
public Refund()
Refund(Refund)
protected Refund(Refund original)
Parameters
originalRefund
Properties
AmountCents
The number of cents being refunded.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("amount_cents")]
public int? AmountCents { get; init; }
Property Value
- int?
AmountCurrency
The currency of amount_cents.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("amount_currency")]
public string? AmountCurrency { get; init; }
Property Value
CreatedAt
The date and time at which a refund was created. Example: 2000-01-01T12:00:00Z
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("created_at")]
public DateTime? CreatedAt { get; init; }
Property Value
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
FeeCents
The payment processing fee returned by Stripe, if any.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("fee_cents")]
public int? FeeCents { get; init; }
Property Value
- int?
FeeCurrency
The currency of fee_cents.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("fee_currency")]
public string? FeeCurrency { get; init; }
Property Value
RefundedAt
The date and time at which a refund was processed. Example: 2000-01-01T12:00:00Z
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("refunded_at")]
public DateTime? RefundedAt { get; init; }
Property Value
UpdatedAt
The date and time at which a refund was last updated. Example: 2000-01-01T12:00:00Z
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("updated_at")]
public DateTime? UpdatedAt { get; init; }
Property Value
Methods
Equals(Refund?)
public virtual bool Equals(Refund? other)
Parameters
otherRefund
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 ==(Refund?, Refund?)
public static bool operator ==(Refund? left, Refund? right)
Parameters
Returns
operator !=(Refund?, Refund?)
public static bool operator !=(Refund? left, Refund? right)