2024-07-12 19:46:59 +05:30
|
|
|
import '../../../Api_Helper/base_manager.dart';
|
|
|
|
|
import '../../../shared/api/api_endpoints.dart';
|
|
|
|
|
import '../../../shared/api/network_api_services.dart';
|
|
|
|
|
|
|
|
|
|
class PinAPIServices {
|
|
|
|
|
PinAPIServices();
|
|
|
|
|
Future<ResponseData> ConfirmPin(Map<String, dynamic> data) async {
|
|
|
|
|
String url = ApiEndpoints.confirmpinapi;
|
|
|
|
|
final response = await NetworkApiService().post(url, data);
|
|
|
|
|
return response;
|
|
|
|
|
}
|
2024-07-17 19:12:26 +05:30
|
|
|
|
|
|
|
|
Future<ResponseData> Verifypin(Map<String, dynamic> data) async {
|
|
|
|
|
String url = ApiEndpoints.verifypinapi;
|
2024-07-12 19:46:59 +05:30
|
|
|
final response = await NetworkApiService().post(url, data);
|
|
|
|
|
return response;
|
|
|
|
|
}
|
2024-07-25 19:19:25 +05:30
|
|
|
|
|
|
|
|
Future<ResponseData> updatePin(Map<String, dynamic> data) async {
|
|
|
|
|
String url = ApiEndpoints.updatePinApi;
|
|
|
|
|
final response = await NetworkApiService().post(url, data);
|
|
|
|
|
return response;
|
|
|
|
|
}
|
2024-07-12 19:46:59 +05:30
|
|
|
}
|