Class DesignationRefundClient
- Namespace
- Crews.PlanningCenter.Api.Giving.V2019_10_18
- 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
httpClientHttpClienturiUri
Properties
Designation
Associated Designation.
public DesignationClient Designation { get; }
Property Value
Methods
GetAsync(CancellationToken)
Fetches the DesignationRefund resource asynchronously.
public Task<DesignationRefundResponse> GetAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenA 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()