/* Options: Date: 2026-10-01 10:22:40 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://stubbur-app.azurewebsites.net //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: StopRecurringPaymentRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class StopRecurringPaymentResult implements IConvertible { bool? ok; int? id; String? effect; String? status; int? subscriptionLength; int? monthsPaid; int? statusCode; String? message; StopRecurringPaymentResult({this.ok,this.id,this.effect,this.status,this.subscriptionLength,this.monthsPaid,this.statusCode,this.message}); StopRecurringPaymentResult.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ok = json['ok']; id = json['id']; effect = json['effect']; status = json['status']; subscriptionLength = json['subscriptionLength']; monthsPaid = json['monthsPaid']; statusCode = json['statusCode']; message = json['message']; return this; } Map toJson() => { 'ok': ok, 'id': id, 'effect': effect, 'status': status, 'subscriptionLength': subscriptionLength, 'monthsPaid': monthsPaid, 'statusCode': statusCode, 'message': message }; getTypeName() => "StopRecurringPaymentResult"; TypeContext? context = _ctx; } // @Route("/recurringPayments/stop", "POST") class StopRecurringPaymentRequest implements IReturn, IConvertible { int? id; String? paymentTokenId; int? ownerId; String? reason; String? via; StopRecurringPaymentRequest({this.id,this.paymentTokenId,this.ownerId,this.reason,this.via}); StopRecurringPaymentRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; paymentTokenId = json['paymentTokenId']; ownerId = json['ownerId']; reason = json['reason']; via = json['via']; return this; } Map toJson() => { 'id': id, 'paymentTokenId': paymentTokenId, 'ownerId': ownerId, 'reason': reason, 'via': via }; createResponse() => StopRecurringPaymentResult(); getResponseTypeName() => "StopRecurringPaymentResult"; getTypeName() => "StopRecurringPaymentRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'stubbur_app.azurewebsites.net', types: { 'StopRecurringPaymentResult': TypeInfo(TypeOf.Class, create:() => StopRecurringPaymentResult()), 'StopRecurringPaymentRequest': TypeInfo(TypeOf.Class, create:() => StopRecurringPaymentRequest()), });