removePromotionFromDatabase method

  1. @override
Future<void> removePromotionFromDatabase (
  1. PromotionRemovalRequest req
)
override

Implementation

@override
Future<void> removePromotionFromDatabase(PromotionRemovalRequest req) async {
  HttpBasedRequest httpRequest = buildHttpBasedRequest();
  httpRequest.promotionRemovalRequest = req;
  HttpBasedResponse response =
      await sendRequest(httpRequest, getPromotionRemovalEndpoint());
  maybePostException(response);
}