PM Scheme craete done
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import 'dart:developer';
|
||||
import 'package:dio/dio.dart';
|
||||
import 'package:kmobile/core/errors/exceptions.dart';
|
||||
import 'package:kmobile/data/models/ifsc.dart';
|
||||
|
||||
|
||||
class YojnaService {
|
||||
final Dio _dio;
|
||||
@@ -106,4 +105,74 @@ String? ruralcategory,
|
||||
);
|
||||
return response.toString();
|
||||
}
|
||||
|
||||
Future secondvalidationPMSBY({
|
||||
String? aadharno,
|
||||
String? accountno,
|
||||
String? address1,
|
||||
String? address2,
|
||||
String? availablebalance,
|
||||
String? city,
|
||||
String? country,
|
||||
String? customerdob,
|
||||
String? customername,
|
||||
String? customerno,
|
||||
String? emailid,
|
||||
String? financialyear,
|
||||
String? gender,
|
||||
String? married,
|
||||
String? mobileno,
|
||||
String? pan,
|
||||
String? pincode,
|
||||
String? policyno,
|
||||
String? premiumamount,
|
||||
String? state,
|
||||
String? healthstatus,
|
||||
String? nomineename,
|
||||
String? nomineeadress,
|
||||
String? relationwithnominee,
|
||||
String? nomineeminor,
|
||||
String? collectionchannel,
|
||||
String? ruralcategory,
|
||||
String? policystatus,
|
||||
}) async {
|
||||
final response = await _dio.post(
|
||||
'/api/gov-scheme/create/PMSBY',
|
||||
options: Options(
|
||||
validateStatus: (int? status) => true,
|
||||
receiveDataWhenStatusError: true,
|
||||
),
|
||||
data: {
|
||||
"aadharno": aadharno,
|
||||
"accountno": accountno,
|
||||
"address1": address1,
|
||||
"address2": address2,
|
||||
"availablebalance": availablebalance,
|
||||
"city": city,
|
||||
"country": country,
|
||||
"customerdob": customerdob,
|
||||
"customername": customername,
|
||||
"customerno": customerno,
|
||||
"emailid": emailid,
|
||||
"financialyear": financialyear,
|
||||
"gender": gender,
|
||||
"married": married,
|
||||
"mobileno": mobileno,
|
||||
"pan": pan,
|
||||
"pincode": pincode,
|
||||
"policyno": policyno,
|
||||
"premiumamount": premiumamount,
|
||||
"state": state,
|
||||
"healthstatus": healthstatus,
|
||||
"nomineename": nomineename,
|
||||
"nomineeadress": nomineeadress,
|
||||
"relationwithnominee": relationwithnominee,
|
||||
"nomineeminor": nomineeminor,
|
||||
"collectionchannel": collectionchannel,
|
||||
"ruralcategory": ruralcategory,
|
||||
"policystatus": policystatus,
|
||||
},
|
||||
);
|
||||
return response.toString();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user