Table of Contents

Class DesignationRefund

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

Attributes for the DesignationRefund resource.

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

Constructors

DesignationRefund()

public DesignationRefund()

DesignationRefund(DesignationRefund)

protected DesignationRefund(DesignationRefund original)

Parameters

original DesignationRefund

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

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

Methods

Equals(DesignationRefund?)

public virtual bool Equals(DesignationRefund? other)

Parameters

other DesignationRefund

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

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

Parameters

left DesignationRefund
right DesignationRefund

Returns

bool

operator !=(DesignationRefund?, DesignationRefund?)

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

Parameters

left DesignationRefund
right DesignationRefund

Returns

bool