Table of Contents

Class PaymentSourceResource

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

A donation's PaymentSource refers to the platform it originated from.

Donations made through Giving will be assigned the built-in PaymentSource "Planning Center". Donations made through external platforms (Square, Pushpay, ect.) can be assigned a PaymentSource identifying them as such.

public record PaymentSourceResource : JsonApiResource<PaymentSource>, IEquatable<JsonApiResourceIdentifier>, IEquatable<JsonApiResource>, IEquatable<JsonApiResource<PaymentSource>>, IEquatable<PaymentSourceResource>
Inheritance
JsonApiResourceIdentifier
JsonApiResource
JsonApiResource<PaymentSource>
PaymentSourceResource
Implements
IEquatable<JsonApiResourceIdentifier>
IEquatable<JsonApiResource>
IEquatable<JsonApiResource<PaymentSource>>
Inherited Members
JsonApiResource<PaymentSource>.Equals(JsonApiResource)
JsonApiResource<PaymentSource>.Attributes
JsonApiResource.Equals(JsonApiResourceIdentifier)
JsonApiResource.Relationships
JsonApiResource.Links
JsonApiResource.Meta
JsonApiResourceIdentifier.Id
JsonApiResourceIdentifier.LId
JsonApiResourceIdentifier.Type

Constructors

PaymentSourceResource()

public PaymentSourceResource()

PaymentSourceResource(PaymentSourceResource)

protected PaymentSourceResource(PaymentSourceResource original)

Parameters

original PaymentSourceResource

Properties

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

Methods

Equals(PaymentSourceResource?)

public virtual bool Equals(PaymentSourceResource? other)

Parameters

other PaymentSourceResource

Returns

bool

Equals(JsonApiResource<PaymentSource>?)

public override sealed bool Equals(JsonApiResource<PaymentSource>? other)

Parameters

other JsonApiResource<PaymentSource>

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 override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(PaymentSourceResource?, PaymentSourceResource?)

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

Parameters

left PaymentSourceResource
right PaymentSourceResource

Returns

bool

operator !=(PaymentSourceResource?, PaymentSourceResource?)

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

Parameters

left PaymentSourceResource
right PaymentSourceResource

Returns

bool