Table of Contents

Class DesignationRefundClient

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

Client for interacting with the DesignationRefund resource.

public class DesignationRefundClient : SingletonResourceClient<DesignationRefund, DesignationRefundResource, DesignationRefundResponse>
Inheritance
DesignationRefundClient
Inherited Members

Constructors

DesignationRefundClient(HttpClient, Uri)

Client for interacting with the DesignationRefund resource.

public DesignationRefundClient(HttpClient httpClient, Uri uri)

Parameters

httpClient HttpClient
uri Uri

Properties

Designation

Associated Designation.

public DesignationClient Designation { get; }

Property Value

DesignationClient

Methods

GetAsync(CancellationToken)

Fetches the DesignationRefund resource asynchronously.

public Task<DesignationRefundResponse> GetAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A token to monitor for cancellation requests.

Returns

Task<DesignationRefundResponse>

A task representing the asynchronous operation, containing the DesignationRefund resource.

Exceptions

JsonApiException

Thrown when the HTTP response indicates a failure status code.

IncludeDesignation()

Include related Designation resources in the response.

public DesignationRefundClient IncludeDesignation()

Returns

DesignationRefundClient