getDesignationRefunds method
Future<PcoCollection<PcoGivingDesignationRefund> >
getDesignationRefunds(
- {PcoGivingDesignationRefundQuery? query}
Will get a collection of PcoGivingDesignationRefund objects (expecting many)
using a path like this: https://api.planningcenteronline.com/giving/v2/donations/1/refund/1/designation_refunds
Implementation
Future<PcoCollection<PcoGivingDesignationRefund>> getDesignationRefunds(
{PcoGivingDesignationRefundQuery? query}) async {
query ??= PcoGivingDesignationRefundQuery();
var url = '$apiEndpoint/designation_refunds';
return PcoCollection.fromApiCall<PcoGivingDesignationRefund>(url,
query: query, apiVersion: apiVersion);
}