Class PaymentMethodResource
- Namespace
- Crews.PlanningCenter.Api.Giving.V2018_08_01
- Assembly
- Crews.PlanningCenter.Api.dll
Stored PaymentMethod information (card or bank_account) used by donors to make online Donations.PaymentMethod data is for informational purposes only and cannot be used to create charges through the API.
public record PaymentMethodResource : JsonApiResource<PaymentMethod>, IEquatable<JsonApiResourceIdentifier>, IEquatable<JsonApiResource>, IEquatable<JsonApiResource<PaymentMethod>>, IEquatable<PaymentMethodResource>
- Inheritance
-
JsonApiResourceIdentifierJsonApiResourceJsonApiResource<PaymentMethod>PaymentMethodResource
- Implements
-
IEquatable<JsonApiResourceIdentifier>IEquatable<JsonApiResource>
- Inherited Members
-
JsonApiResource<PaymentMethod>.Equals(JsonApiResource)JsonApiResource<PaymentMethod>.AttributesJsonApiResource.Equals(JsonApiResourceIdentifier)JsonApiResource.RelationshipsJsonApiResource.LinksJsonApiResource.MetaJsonApiResourceIdentifier.IdJsonApiResourceIdentifier.LIdJsonApiResourceIdentifier.Type
Constructors
PaymentMethodResource()
public PaymentMethodResource()
PaymentMethodResource(PaymentMethodResource)
protected PaymentMethodResource(PaymentMethodResource original)
Parameters
originalPaymentMethodResource
Properties
EqualityContract
protected override Type EqualityContract { get; }
Property Value
Methods
Equals(PaymentMethodResource?)
public virtual bool Equals(PaymentMethodResource? other)
Parameters
otherPaymentMethodResource
Returns
Equals(JsonApiResource<PaymentMethod>?)
public override sealed bool Equals(JsonApiResource<PaymentMethod>? other)
Parameters
otherJsonApiResource<PaymentMethod>
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 ==(PaymentMethodResource?, PaymentMethodResource?)
public static bool operator ==(PaymentMethodResource? left, PaymentMethodResource? right)
Parameters
leftPaymentMethodResourcerightPaymentMethodResource
Returns
operator !=(PaymentMethodResource?, PaymentMethodResource?)
public static bool operator !=(PaymentMethodResource? left, PaymentMethodResource? right)
Parameters
leftPaymentMethodResourcerightPaymentMethodResource