/* Options: Date: 2025-04-10 07:51:18 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: BeanstreamInteracPaymentRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class BeanstreamInteracRedirectResponse implements IConvertible { String? redirect_form; BeanstreamInteracRedirectResponse({this.redirect_form}); BeanstreamInteracRedirectResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { redirect_form = json['redirect_form']; return this; } Map toJson() => { 'redirect_form': redirect_form }; getTypeName() => "BeanstreamInteracRedirectResponse"; TypeContext? context = _ctx; } // @Route("/Beanstream/Payment/{uuid}/Interac/Create", "POST") class BeanstreamInteracPaymentRequest implements IReturn, IConvertible, IPost { String? uuid; String? department; String? item; double? amount; String? name; String? customer_ip; String? email; String? addr1; String? addr2; String? city; String? state; String? country; String? code; String? phone; BeanstreamInteracPaymentRequest({this.uuid,this.department,this.item,this.amount,this.name,this.customer_ip,this.email,this.addr1,this.addr2,this.city,this.state,this.country,this.code,this.phone}); BeanstreamInteracPaymentRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { uuid = json['uuid']; department = json['department']; item = json['item']; amount = JsonConverters.toDouble(json['amount']); name = json['name']; customer_ip = json['customer_ip']; email = json['email']; addr1 = json['addr1']; addr2 = json['addr2']; city = json['city']; state = json['state']; country = json['country']; code = json['code']; phone = json['phone']; return this; } Map toJson() => { 'uuid': uuid, 'department': department, 'item': item, 'amount': amount, 'name': name, 'customer_ip': customer_ip, 'email': email, 'addr1': addr1, 'addr2': addr2, 'city': city, 'state': state, 'country': country, 'code': code, 'phone': phone }; createResponse() => BeanstreamInteracRedirectResponse(); getResponseTypeName() => "BeanstreamInteracRedirectResponse"; getTypeName() => "BeanstreamInteracPaymentRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'BeanstreamInteracRedirectResponse': TypeInfo(TypeOf.Class, create:() => BeanstreamInteracRedirectResponse()), 'BeanstreamInteracPaymentRequest': TypeInfo(TypeOf.Class, create:() => BeanstreamInteracPaymentRequest()), });