/* Options: Date: 2026-09-10 05:47:14 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://data.regent-college.edu //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: DropRegistrationsBillingPlanPreviewRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class DropRegistrationSubmitRequest implements IConvertible { String? student_section_uuid; double? tuition_refund_amount; String? description; int? additional_rate_id; double? additional_rate_amount; int? benefit_rate_id; int? second_benefit_rate_id; double? benefit_charge_amount; double? second_benefit_charge_amount; DropRegistrationSubmitRequest({this.student_section_uuid,this.tuition_refund_amount,this.description,this.additional_rate_id,this.additional_rate_amount,this.benefit_rate_id,this.second_benefit_rate_id,this.benefit_charge_amount,this.second_benefit_charge_amount}); DropRegistrationSubmitRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { student_section_uuid = json['student_section_uuid']; tuition_refund_amount = JsonConverters.toDouble(json['tuition_refund_amount']); description = json['description']; additional_rate_id = json['additional_rate_id']; additional_rate_amount = JsonConverters.toDouble(json['additional_rate_amount']); benefit_rate_id = json['benefit_rate_id']; second_benefit_rate_id = json['second_benefit_rate_id']; benefit_charge_amount = JsonConverters.toDouble(json['benefit_charge_amount']); second_benefit_charge_amount = JsonConverters.toDouble(json['second_benefit_charge_amount']); return this; } Map toJson() => { 'student_section_uuid': student_section_uuid, 'tuition_refund_amount': tuition_refund_amount, 'description': description, 'additional_rate_id': additional_rate_id, 'additional_rate_amount': additional_rate_amount, 'benefit_rate_id': benefit_rate_id, 'second_benefit_rate_id': second_benefit_rate_id, 'benefit_charge_amount': benefit_charge_amount, 'second_benefit_charge_amount': second_benefit_charge_amount }; getTypeName() => "DropRegistrationSubmitRequest"; TypeContext? context = _ctx; } class InvoiceItemResponse implements IConvertible { ResponseStatus? responseStatus; String? invoiceItemUUID; int? rate_id; String? rate_code; String? rate_description; String? reporting_term; double? charge; double? credit; InvoiceItemResponse({this.responseStatus,this.invoiceItemUUID,this.rate_id,this.rate_code,this.rate_description,this.reporting_term,this.charge,this.credit}); InvoiceItemResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); invoiceItemUUID = json['invoiceItemUUID']; rate_id = json['rate_id']; rate_code = json['rate_code']; rate_description = json['rate_description']; reporting_term = json['reporting_term']; charge = JsonConverters.toDouble(json['charge']); credit = JsonConverters.toDouble(json['credit']); return this; } Map toJson() => { 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!), 'invoiceItemUUID': invoiceItemUUID, 'rate_id': rate_id, 'rate_code': rate_code, 'rate_description': rate_description, 'reporting_term': reporting_term, 'charge': charge, 'credit': credit }; getTypeName() => "InvoiceItemResponse"; TypeContext? context = _ctx; } class SectionResponse implements IConvertible { ResponseStatus? responseStatus; String? secUUID; String? course_name; String? section_code; String? course_title; String? course_short_title; String? course_description; String? crosslist_description; String? crosslist_course_name; String? location_long_name; String? room; List? instructors; List? required_documents; DateTime? start_date; DateTime? end_date; DateTime? first_meeting_date; DateTime? last_meeting_date; String? meeting_days; List? start_times; List? end_times; bool? is_online_only; bool? is_weekend; bool? is_weekday; bool? is_evening; bool? is_waitlist; bool? has_special_requirements; String? special_requirements; bool? is_unlisted; List? credit_amounts; List? audit_amounts; String? audits_short_name; String? audits_long_name; String? credits_short_name; String? credits_long_name; String? distance_ed_materials; String? prerequisites; String? corequisites; int? capacity; double? flat_fee_amount; double? additional_fee_amount; int? registered_students; int? three_credit_plus; int? two_credit; int? one_credit; int? three_audit_plus; int? two_audit; int? one_audit; int? crosslist_registered_students; int? grades_received; int? crosslist_grades_received; DateTime? registration_start_date; DateTime? registration_end_date; DateTime? add_start_date; DateTime? add_end_date; DateTime? drop_start_date; DateTime? drop_end_date; DateTime? grading_end_date; String? term; String? reporting_term; int? reporting_year; String? current_status; String? added_by; DateTime? added_date; String? changed_by; DateTime? changed_date; DateTime? timestamp; SectionResponse({this.responseStatus,this.secUUID,this.course_name,this.section_code,this.course_title,this.course_short_title,this.course_description,this.crosslist_description,this.crosslist_course_name,this.location_long_name,this.room,this.instructors,this.required_documents,this.start_date,this.end_date,this.first_meeting_date,this.last_meeting_date,this.meeting_days,this.start_times,this.end_times,this.is_online_only,this.is_weekend,this.is_weekday,this.is_evening,this.is_waitlist,this.has_special_requirements,this.special_requirements,this.is_unlisted,this.credit_amounts,this.audit_amounts,this.audits_short_name,this.audits_long_name,this.credits_short_name,this.credits_long_name,this.distance_ed_materials,this.prerequisites,this.corequisites,this.capacity,this.flat_fee_amount,this.additional_fee_amount,this.registered_students,this.three_credit_plus,this.two_credit,this.one_credit,this.three_audit_plus,this.two_audit,this.one_audit,this.crosslist_registered_students,this.grades_received,this.crosslist_grades_received,this.registration_start_date,this.registration_end_date,this.add_start_date,this.add_end_date,this.drop_start_date,this.drop_end_date,this.grading_end_date,this.term,this.reporting_term,this.reporting_year,this.current_status,this.added_by,this.added_date,this.changed_by,this.changed_date,this.timestamp}); SectionResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); secUUID = json['secUUID']; course_name = json['course_name']; section_code = json['section_code']; course_title = json['course_title']; course_short_title = json['course_short_title']; course_description = json['course_description']; crosslist_description = json['crosslist_description']; crosslist_course_name = json['crosslist_course_name']; location_long_name = json['location_long_name']; room = json['room']; instructors = JsonConverters.fromJson(json['instructors'],'List',context!); required_documents = JsonConverters.fromJson(json['required_documents'],'List',context!); start_date = JsonConverters.fromJson(json['start_date'],'DateTime',context!); end_date = JsonConverters.fromJson(json['end_date'],'DateTime',context!); first_meeting_date = JsonConverters.fromJson(json['first_meeting_date'],'DateTime',context!); last_meeting_date = JsonConverters.fromJson(json['last_meeting_date'],'DateTime',context!); meeting_days = json['meeting_days']; start_times = JsonConverters.fromJson(json['start_times'],'List',context!); end_times = JsonConverters.fromJson(json['end_times'],'List',context!); is_online_only = json['is_online_only']; is_weekend = json['is_weekend']; is_weekday = json['is_weekday']; is_evening = json['is_evening']; is_waitlist = json['is_waitlist']; has_special_requirements = json['has_special_requirements']; special_requirements = json['special_requirements']; is_unlisted = json['is_unlisted']; credit_amounts = JsonConverters.fromJson(json['credit_amounts'],'List',context!); audit_amounts = JsonConverters.fromJson(json['audit_amounts'],'List',context!); audits_short_name = json['audits_short_name']; audits_long_name = json['audits_long_name']; credits_short_name = json['credits_short_name']; credits_long_name = json['credits_long_name']; distance_ed_materials = json['distance_ed_materials']; prerequisites = json['prerequisites']; corequisites = json['corequisites']; capacity = json['capacity']; flat_fee_amount = JsonConverters.toDouble(json['flat_fee_amount']); additional_fee_amount = JsonConverters.toDouble(json['additional_fee_amount']); registered_students = json['registered_students']; three_credit_plus = json['three_credit_plus']; two_credit = json['two_credit']; one_credit = json['one_credit']; three_audit_plus = json['three_audit_plus']; two_audit = json['two_audit']; one_audit = json['one_audit']; crosslist_registered_students = json['crosslist_registered_students']; grades_received = json['grades_received']; crosslist_grades_received = json['crosslist_grades_received']; registration_start_date = JsonConverters.fromJson(json['registration_start_date'],'DateTime',context!); registration_end_date = JsonConverters.fromJson(json['registration_end_date'],'DateTime',context!); add_start_date = JsonConverters.fromJson(json['add_start_date'],'DateTime',context!); add_end_date = JsonConverters.fromJson(json['add_end_date'],'DateTime',context!); drop_start_date = JsonConverters.fromJson(json['drop_start_date'],'DateTime',context!); drop_end_date = JsonConverters.fromJson(json['drop_end_date'],'DateTime',context!); grading_end_date = JsonConverters.fromJson(json['grading_end_date'],'DateTime',context!); term = json['term']; reporting_term = json['reporting_term']; reporting_year = json['reporting_year']; current_status = json['current_status']; added_by = json['added_by']; added_date = JsonConverters.fromJson(json['added_date'],'DateTime',context!); changed_by = json['changed_by']; changed_date = JsonConverters.fromJson(json['changed_date'],'DateTime',context!); timestamp = JsonConverters.fromJson(json['timestamp'],'DateTime',context!); return this; } Map toJson() => { 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!), 'secUUID': secUUID, 'course_name': course_name, 'section_code': section_code, 'course_title': course_title, 'course_short_title': course_short_title, 'course_description': course_description, 'crosslist_description': crosslist_description, 'crosslist_course_name': crosslist_course_name, 'location_long_name': location_long_name, 'room': room, 'instructors': JsonConverters.toJson(instructors,'List',context!), 'required_documents': JsonConverters.toJson(required_documents,'List',context!), 'start_date': JsonConverters.toJson(start_date,'DateTime',context!), 'end_date': JsonConverters.toJson(end_date,'DateTime',context!), 'first_meeting_date': JsonConverters.toJson(first_meeting_date,'DateTime',context!), 'last_meeting_date': JsonConverters.toJson(last_meeting_date,'DateTime',context!), 'meeting_days': meeting_days, 'start_times': JsonConverters.toJson(start_times,'List',context!), 'end_times': JsonConverters.toJson(end_times,'List',context!), 'is_online_only': is_online_only, 'is_weekend': is_weekend, 'is_weekday': is_weekday, 'is_evening': is_evening, 'is_waitlist': is_waitlist, 'has_special_requirements': has_special_requirements, 'special_requirements': special_requirements, 'is_unlisted': is_unlisted, 'credit_amounts': JsonConverters.toJson(credit_amounts,'List',context!), 'audit_amounts': JsonConverters.toJson(audit_amounts,'List',context!), 'audits_short_name': audits_short_name, 'audits_long_name': audits_long_name, 'credits_short_name': credits_short_name, 'credits_long_name': credits_long_name, 'distance_ed_materials': distance_ed_materials, 'prerequisites': prerequisites, 'corequisites': corequisites, 'capacity': capacity, 'flat_fee_amount': flat_fee_amount, 'additional_fee_amount': additional_fee_amount, 'registered_students': registered_students, 'three_credit_plus': three_credit_plus, 'two_credit': two_credit, 'one_credit': one_credit, 'three_audit_plus': three_audit_plus, 'two_audit': two_audit, 'one_audit': one_audit, 'crosslist_registered_students': crosslist_registered_students, 'grades_received': grades_received, 'crosslist_grades_received': crosslist_grades_received, 'registration_start_date': JsonConverters.toJson(registration_start_date,'DateTime',context!), 'registration_end_date': JsonConverters.toJson(registration_end_date,'DateTime',context!), 'add_start_date': JsonConverters.toJson(add_start_date,'DateTime',context!), 'add_end_date': JsonConverters.toJson(add_end_date,'DateTime',context!), 'drop_start_date': JsonConverters.toJson(drop_start_date,'DateTime',context!), 'drop_end_date': JsonConverters.toJson(drop_end_date,'DateTime',context!), 'grading_end_date': JsonConverters.toJson(grading_end_date,'DateTime',context!), 'term': term, 'reporting_term': reporting_term, 'reporting_year': reporting_year, 'current_status': current_status, 'added_by': added_by, 'added_date': JsonConverters.toJson(added_date,'DateTime',context!), 'changed_by': changed_by, 'changed_date': JsonConverters.toJson(changed_date,'DateTime',context!), 'timestamp': JsonConverters.toJson(timestamp,'DateTime',context!) }; getTypeName() => "SectionResponse"; TypeContext? context = _ctx; } class StudentSectionResponse extends SectionResponse implements IConvertible { String? studentSectionUUID; double? registered_amount; bool? is_provisional; bool? is_audit; StudentSectionResponse({this.studentSectionUUID,this.registered_amount,this.is_provisional,this.is_audit}); StudentSectionResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); studentSectionUUID = json['studentSectionUUID']; registered_amount = JsonConverters.toDouble(json['registered_amount']); is_provisional = json['is_provisional']; is_audit = json['is_audit']; return this; } Map toJson() => super.toJson()..addAll({ 'studentSectionUUID': studentSectionUUID, 'registered_amount': registered_amount, 'is_provisional': is_provisional, 'is_audit': is_audit }); getTypeName() => "StudentSectionResponse"; TypeContext? context = _ctx; } class StudentSectionInvoiceItemResponse extends InvoiceItemResponse implements IConvertible { StudentSectionResponse? studentSection; StudentSectionInvoiceItemResponse({this.studentSection}); StudentSectionInvoiceItemResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); studentSection = JsonConverters.fromJson(json['studentSection'],'StudentSectionResponse',context!); return this; } Map toJson() => super.toJson()..addAll({ 'studentSection': JsonConverters.toJson(studentSection,'StudentSectionResponse',context!) }); getTypeName() => "StudentSectionInvoiceItemResponse"; TypeContext? context = _ctx; } class RegistrationBillingPlanInvoiceItemGroupResponse implements IConvertible { String? name; String? description; String? rate_code; String? rate_description; double? total_charges; double? total_credits; List? studentSectionInvoiceItems; List? invoiceItems; List? otherInvoiceItems; RegistrationBillingPlanInvoiceItemGroupResponse({this.name,this.description,this.rate_code,this.rate_description,this.total_charges,this.total_credits,this.studentSectionInvoiceItems,this.invoiceItems,this.otherInvoiceItems}); RegistrationBillingPlanInvoiceItemGroupResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { name = json['name']; description = json['description']; rate_code = json['rate_code']; rate_description = json['rate_description']; total_charges = JsonConverters.toDouble(json['total_charges']); total_credits = JsonConverters.toDouble(json['total_credits']); studentSectionInvoiceItems = JsonConverters.fromJson(json['studentSectionInvoiceItems'],'List',context!); invoiceItems = JsonConverters.fromJson(json['invoiceItems'],'List',context!); otherInvoiceItems = JsonConverters.fromJson(json['otherInvoiceItems'],'List',context!); return this; } Map toJson() => { 'name': name, 'description': description, 'rate_code': rate_code, 'rate_description': rate_description, 'total_charges': total_charges, 'total_credits': total_credits, 'studentSectionInvoiceItems': JsonConverters.toJson(studentSectionInvoiceItems,'List',context!), 'invoiceItems': JsonConverters.toJson(invoiceItems,'List',context!), 'otherInvoiceItems': JsonConverters.toJson(otherInvoiceItems,'List',context!) }; getTypeName() => "RegistrationBillingPlanInvoiceItemGroupResponse"; TypeContext? context = _ctx; } class RegistrationBillingPlanTermResponse implements IConvertible { String? reporting_term; String? term_name; DateTime? due_date; double? total_charges; double? total_credits; List? invoiceItemGroups; RegistrationBillingPlanTermResponse({this.reporting_term,this.term_name,this.due_date,this.total_charges,this.total_credits,this.invoiceItemGroups}); RegistrationBillingPlanTermResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { reporting_term = json['reporting_term']; term_name = json['term_name']; due_date = JsonConverters.fromJson(json['due_date'],'DateTime',context!); total_charges = JsonConverters.toDouble(json['total_charges']); total_credits = JsonConverters.toDouble(json['total_credits']); invoiceItemGroups = JsonConverters.fromJson(json['invoiceItemGroups'],'List',context!); return this; } Map toJson() => { 'reporting_term': reporting_term, 'term_name': term_name, 'due_date': JsonConverters.toJson(due_date,'DateTime',context!), 'total_charges': total_charges, 'total_credits': total_credits, 'invoiceItemGroups': JsonConverters.toJson(invoiceItemGroups,'List',context!) }; getTypeName() => "RegistrationBillingPlanTermResponse"; TypeContext? context = _ctx; } class RegistrationBillingPlanResponse implements IConvertible { String? transaction_uuid; String? uuid; int? regent_id; String? reporting_term; double? total_charges; double? total_credits; List? terms; RegistrationBillingPlanResponse({this.transaction_uuid,this.uuid,this.regent_id,this.reporting_term,this.total_charges,this.total_credits,this.terms}); RegistrationBillingPlanResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { transaction_uuid = json['transaction_uuid']; uuid = json['uuid']; regent_id = json['regent_id']; reporting_term = json['reporting_term']; total_charges = JsonConverters.toDouble(json['total_charges']); total_credits = JsonConverters.toDouble(json['total_credits']); terms = JsonConverters.fromJson(json['terms'],'List',context!); return this; } Map toJson() => { 'transaction_uuid': transaction_uuid, 'uuid': uuid, 'regent_id': regent_id, 'reporting_term': reporting_term, 'total_charges': total_charges, 'total_credits': total_credits, 'terms': JsonConverters.toJson(terms,'List',context!) }; getTypeName() => "RegistrationBillingPlanResponse"; TypeContext? context = _ctx; } // @Route("/Registration/{uuid}/Drop/{reporting_term}/BillingPlanPreview", "POST") class DropRegistrationsBillingPlanPreviewRequest implements IReturn, IConvertible, IPost { String? transaction_uuid; String? uuid; String? reporting_term; List? registrations; String? description; double? drop_fee; String? drop_description; bool? refund_student_fees; String? authorizing_uuid; DropRegistrationsBillingPlanPreviewRequest({this.transaction_uuid,this.uuid,this.reporting_term,this.registrations,this.description,this.drop_fee,this.drop_description,this.refund_student_fees,this.authorizing_uuid}); DropRegistrationsBillingPlanPreviewRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { transaction_uuid = json['transaction_uuid']; uuid = json['uuid']; reporting_term = json['reporting_term']; registrations = JsonConverters.fromJson(json['registrations'],'List',context!); description = json['description']; drop_fee = JsonConverters.toDouble(json['drop_fee']); drop_description = json['drop_description']; refund_student_fees = json['refund_student_fees']; authorizing_uuid = json['authorizing_uuid']; return this; } Map toJson() => { 'transaction_uuid': transaction_uuid, 'uuid': uuid, 'reporting_term': reporting_term, 'registrations': JsonConverters.toJson(registrations,'List',context!), 'description': description, 'drop_fee': drop_fee, 'drop_description': drop_description, 'refund_student_fees': refund_student_fees, 'authorizing_uuid': authorizing_uuid }; createResponse() => RegistrationBillingPlanResponse(); getResponseTypeName() => "RegistrationBillingPlanResponse"; getTypeName() => "DropRegistrationsBillingPlanPreviewRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'DropRegistrationSubmitRequest': TypeInfo(TypeOf.Class, create:() => DropRegistrationSubmitRequest()), 'InvoiceItemResponse': TypeInfo(TypeOf.Class, create:() => InvoiceItemResponse()), 'SectionResponse': TypeInfo(TypeOf.Class, create:() => SectionResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'InstructorResponse': TypeInfo(TypeOf.Class, create:() => InstructorResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'DocumentResponse': TypeInfo(TypeOf.Class, create:() => DocumentResponse()), 'StudentSectionResponse': TypeInfo(TypeOf.Class, create:() => StudentSectionResponse()), 'StudentSectionInvoiceItemResponse': TypeInfo(TypeOf.Class, create:() => StudentSectionInvoiceItemResponse()), 'RegistrationBillingPlanInvoiceItemGroupResponse': TypeInfo(TypeOf.Class, create:() => RegistrationBillingPlanInvoiceItemGroupResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'RegistrationBillingPlanTermResponse': TypeInfo(TypeOf.Class, create:() => RegistrationBillingPlanTermResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'RegistrationBillingPlanResponse': TypeInfo(TypeOf.Class, create:() => RegistrationBillingPlanResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'DropRegistrationsBillingPlanPreviewRequest': TypeInfo(TypeOf.Class, create:() => DropRegistrationsBillingPlanPreviewRequest()), 'List': TypeInfo(TypeOf.Class, create:() => []), });