getAssignedVoucherCodes method

Future<SyneriseResult<VoucherCodesResponse>> getAssignedVoucherCodes()

Implementation

Future<SyneriseResult<VoucherCodesResponse>> getAssignedVoucherCodes() async {
  return await SyneriseInvocation(methodChannel)
      .invokeSDKApiMethod<VoucherCodesResponse>(
          'Promotions/getAssignedVoucherCodes',
          isMappable: true);
}