billing_periods library

The v4 billing periods family: its endpoints, bound class, path templates and views.

Import it with a prefix, import 'package:exsited/billing_periods.dart' as billing_periods;, because families declare the same top-level names and a Dart export can neither rename nor prefix them.

Classes

BillingPeriodsResource
The billing periods endpoints with client already applied.
BillingPeriodsUrls
SettingsBillingPeriod
The settings billing period body, under billing_period.
SettingsBillingPeriodList
One page of SettingsBillingPeriod records, under data.

Functions

createSettingsBillingPeriod(ExsitedClient client, Object payload, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<SettingsBillingPeriod>>
POST /api/{api_version}/settings/billing_periods
deleteSettingsBillingPeriod(ExsitedClient client, Object billingPeriodId, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Object?>>
DELETE /api/{api_version}/settings/billing_periods/{billing_period_id}
getSettingsBillingPeriod(ExsitedClient client, Object billingPeriodId, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<SettingsBillingPeriod>>
GET /api/{api_version}/settings/billing_periods/{billing_period_id}
getSettingsBillingPeriods(ExsitedClient client, {Map<String, Object?>? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<SettingsBillingPeriodList>>
GET /api/{api_version}/settings/billing_periods
updateSettingsBillingPeriod(ExsitedClient client, Object billingPeriodId, Object payload, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<SettingsBillingPeriod>>
PATCH /api/{api_version}/settings/billing_periods/{billing_period_id}