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
-
JsonApiResourceIdentifierJsonApiResourceJsonApiResource<PaymentSource>PaymentSourceResource
- Implements
-
IEquatable<JsonApiResourceIdentifier>IEquatable<JsonApiResource>
- Inherited Members
-
JsonApiResource<PaymentSource>.Equals(JsonApiResource)JsonApiResource<PaymentSource>.AttributesJsonApiResource.Equals(JsonApiResourceIdentifier)JsonApiResource.RelationshipsJsonApiResource.LinksJsonApiResource.MetaJsonApiResourceIdentifier.IdJsonApiResourceIdentifier.LIdJsonApiResourceIdentifier.Type
Constructors
PaymentSourceResource()
public PaymentSourceResource()
PaymentSourceResource(PaymentSourceResource)
protected PaymentSourceResource(PaymentSourceResource original)
Parameters
originalPaymentSourceResource
Properties
EqualityContract
protected override Type EqualityContract { get; }
Property Value
Methods
Equals(PaymentSourceResource?)
public virtual bool Equals(PaymentSourceResource? other)
Parameters
otherPaymentSourceResource
Returns
Equals(JsonApiResource<PaymentSource>?)
public override sealed bool Equals(JsonApiResource<PaymentSource>? other)
Parameters
otherJsonApiResource<PaymentSource>
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected override bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(PaymentSourceResource?, PaymentSourceResource?)
public static bool operator ==(PaymentSourceResource? left, PaymentSourceResource? right)
Parameters
leftPaymentSourceResourcerightPaymentSourceResource
Returns
operator !=(PaymentSourceResource?, PaymentSourceResource?)
public static bool operator !=(PaymentSourceResource? left, PaymentSourceResource? right)
Parameters
leftPaymentSourceResourcerightPaymentSourceResource