Table of Contents

Class BatchGroupResource

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

A BatchGroup is a collection of Batches.

BatchGroups are an optional way of organizing your Batches into groups that share common characteristics. These are completely customizable and can be used in whatever way makes sense to your organization's workflow.

Similarly to Batches, you can commit (see more in the Actions section) a BatchGroup, and by doing so, all Batches and Donations contained in the BatchGroup will also be committed.

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

Constructors

BatchGroupResource()

public BatchGroupResource()

BatchGroupResource(BatchGroupResource)

protected BatchGroupResource(BatchGroupResource original)

Parameters

original BatchGroupResource

Properties

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

Methods

Equals(BatchGroupResource?)

public virtual bool Equals(BatchGroupResource? other)

Parameters

other BatchGroupResource

Returns

bool

Equals(JsonApiResource<BatchGroup>?)

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

Parameters

other JsonApiResource<BatchGroup>

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

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

Parameters

left BatchGroupResource
right BatchGroupResource

Returns

bool

operator !=(BatchGroupResource?, BatchGroupResource?)

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

Parameters

left BatchGroupResource
right BatchGroupResource

Returns

bool