/* Options: Date: 2026-03-13 22:08:30 Version: 8.60 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://milliet.io //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: payment_webhook.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; enum eapi_payment_target_enum { LABANQUEPOSTALE, PAYBOX, MILLIET, } enum eapi_payment_run_mode_enum { TEST, LIVE, FORCE_LIVE, } /** * Paiements : webhooks - retour des formulaires de règlements */ // @Route("/payment_webhook/{payment_target}/{payment_run_mode}/{webhook_callback}", "GET,POST") // @Api(Description="Paiements : webhooks - retour des formulaires de règlements") class payment_webhook implements IConvertible, IPost { eapi_payment_target_enum? payment_target; eapi_payment_run_mode_enum? payment_run_mode; String? webhook_callback; String? type; payment_webhook({this.payment_target,this.payment_run_mode,this.webhook_callback,this.type}); payment_webhook.fromJson(Map json) { fromMap(json); } fromMap(Map json) { payment_target = JsonConverters.fromJson(json['payment_target'],'eapi_payment_target_enum',context!); payment_run_mode = JsonConverters.fromJson(json['payment_run_mode'],'eapi_payment_run_mode_enum',context!); webhook_callback = json['webhook_callback']; type = json['type']; return this; } Map toJson() => { 'payment_target': JsonConverters.toJson(payment_target,'eapi_payment_target_enum',context!), 'payment_run_mode': JsonConverters.toJson(payment_run_mode,'eapi_payment_run_mode_enum',context!), 'webhook_callback': webhook_callback, 'type': type }; getTypeName() => "payment_webhook"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'milliet.io', types: { 'eapi_payment_target_enum': TypeInfo(TypeOf.Enum, enumValues:eapi_payment_target_enum.values), 'eapi_payment_run_mode_enum': TypeInfo(TypeOf.Enum, enumValues:eapi_payment_run_mode_enum.values), 'payment_webhook': TypeInfo(TypeOf.Class, create:() => payment_webhook()), });