deactivatePlan method

Future<void> deactivatePlan(
  1. String planId
)

Deactivates a plan.

Parameter planId: The ID of the plan.

Implementation

Future<void> deactivatePlan(String planId) async {
  var url = _payPalHttpClient.getUrl('/v1/billing/plans/$planId/deactivate');
  await _payPalHttpClient.post(url);
}