Table of Contents

Class Refund

Namespace
Crews.PlanningCenter.Api.Giving.V2019_10_18
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

original Refund

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

string

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

DateTime?

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

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

string

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

DateTime?

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

DateTime?

Methods

Equals(Refund?)

public virtual bool Equals(Refund? other)

Parameters

other Refund

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

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

Parameters

left Refund
right Refund

Returns

bool

operator !=(Refund?, Refund?)

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

Parameters

left Refund
right Refund

Returns

bool