/* Options: Date: 2026-02-10 20:34:06 Version: 10.05 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api-staging.bookmore.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: BookingQuery.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class ICompany { String? CompanyId; } class BaseModel implements IConvertible { BaseModel(); BaseModel.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "BaseModel"; TypeContext? context = _ctx; } class Currency extends BaseModel implements IConvertible { // @Required() String Name = ""; // @Required() String CurrencySign = ""; // @Required() bool Active; DateTime? ModifiedDate; // @Required() String Id = ""; Currency({this.Name,this.CurrencySign,this.Active,this.ModifiedDate,this.Id}); Currency.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Name = json['Name']; CurrencySign = json['CurrencySign']; Active = json['Active']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Name': Name, 'CurrencySign': CurrencySign, 'Active': Active, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "Currency"; TypeContext? context = _ctx; } class PaymentLog extends BaseModel implements IConvertible { // @References(typeof(Currency)) String CurrencyId = ""; Currency CurrencyInfo; // @Required() String CompanyId = ""; int Id = 0; // @Required() String InternalReferenceId = ""; // @Required() int ArticleTypeId = 0; String? PaymentReferenceId; int? PaymentProviderId; String? OrderItemReferenceId; double? Amount; double? VAT; double? AmountCredited; String? Comments; // @Required() DateTime Created = DateTime(0); // @Required() DateTime Updated = DateTime(0); DateTime? ModifiedDate; PaymentLog({this.CurrencyId,this.CurrencyInfo,this.CompanyId,this.Id,this.InternalReferenceId,this.ArticleTypeId,this.PaymentReferenceId,this.PaymentProviderId,this.OrderItemReferenceId,this.Amount,this.VAT,this.AmountCredited,this.Comments,this.Created,this.Updated,this.ModifiedDate}); PaymentLog.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CurrencyId = json['CurrencyId']; CurrencyInfo = JsonConverters.fromJson(json['CurrencyInfo'],'Currency',context!); CompanyId = json['CompanyId']; Id = json['Id']; InternalReferenceId = json['InternalReferenceId']; ArticleTypeId = json['ArticleTypeId']; PaymentReferenceId = json['PaymentReferenceId']; PaymentProviderId = json['PaymentProviderId']; OrderItemReferenceId = json['OrderItemReferenceId']; Amount = JsonConverters.toDouble(json['Amount']); VAT = JsonConverters.toDouble(json['VAT']); AmountCredited = JsonConverters.toDouble(json['AmountCredited']); Comments = json['Comments']; Created = JsonConverters.fromJson(json['Created'],'DateTime',context!); Updated = JsonConverters.fromJson(json['Updated'],'DateTime',context!); ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); return this; } Map toJson() => super.toJson()..addAll({ 'CurrencyId': CurrencyId, 'CurrencyInfo': JsonConverters.toJson(CurrencyInfo,'Currency',context!), 'CompanyId': CompanyId, 'Id': Id, 'InternalReferenceId': InternalReferenceId, 'ArticleTypeId': ArticleTypeId, 'PaymentReferenceId': PaymentReferenceId, 'PaymentProviderId': PaymentProviderId, 'OrderItemReferenceId': OrderItemReferenceId, 'Amount': Amount, 'VAT': VAT, 'AmountCredited': AmountCredited, 'Comments': Comments, 'Created': JsonConverters.toJson(Created,'DateTime',context!), 'Updated': JsonConverters.toJson(Updated,'DateTime',context!), 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!) }); getTypeName() => "PaymentLog"; TypeContext? context = _ctx; } enum CompanyStatus { Registered, AwaitingApproval, Approved, Inactive, ClosedDown, NotApproved, } class CustomFieldValue extends BaseModel implements IConvertible { // @Required() String CompanyId = ""; int Id = 0; // @Required() String Value = ""; // @Required() bool Active; int? SortOrder; DateTime? ModifiedDate; CustomFieldValue({this.CompanyId,this.Id,this.Value,this.Active,this.SortOrder,this.ModifiedDate}); CustomFieldValue.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CompanyId = json['CompanyId']; Id = json['Id']; Value = json['Value']; Active = json['Active']; SortOrder = json['SortOrder']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); return this; } Map toJson() => super.toJson()..addAll({ 'CompanyId': CompanyId, 'Id': Id, 'Value': Value, 'Active': Active, 'SortOrder': SortOrder, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!) }); getTypeName() => "CustomFieldValue"; TypeContext? context = _ctx; } class CustomField extends BaseModel implements IConvertible { // @Required() String Table = ""; // @Required() String Column = ""; // @Required() String DataType = ""; // @Required() String Description = ""; // @Required() bool Active; DateTime? ModifiedDate; int Id = 0; CustomField({this.Table,this.Column,this.DataType,this.Description,this.Active,this.ModifiedDate,this.Id}); CustomField.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Table = json['Table']; Column = json['Column']; DataType = json['DataType']; Description = json['Description']; Active = json['Active']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Table': Table, 'Column': Column, 'DataType': DataType, 'Description': Description, 'Active': Active, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "CustomField"; TypeContext? context = _ctx; } class RegEx extends BaseModel implements IConvertible { // @Required() String Name = ""; // @Required() String Description = ""; // @Required() String RegExCode = ""; String? ErrorMessage; DateTime? ModifiedDate; int Id = 0; RegEx({this.Name,this.Description,this.RegExCode,this.ErrorMessage,this.ModifiedDate,this.Id}); RegEx.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Name = json['Name']; Description = json['Description']; RegExCode = json['RegExCode']; ErrorMessage = json['ErrorMessage']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Name': Name, 'Description': Description, 'RegExCode': RegExCode, 'ErrorMessage': ErrorMessage, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "RegEx"; TypeContext? context = _ctx; } class CustomFieldServiceRelation extends BaseModel implements IConvertible { // @Required() String CompanyId = ""; int Id = 0; // @Required() int CustomFieldConfigId = 0; // @Required() int ServiceId = 0; DateTime? ModifiedDate; CustomFieldServiceRelation({this.CompanyId,this.Id,this.CustomFieldConfigId,this.ServiceId,this.ModifiedDate}); CustomFieldServiceRelation.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CompanyId = json['CompanyId']; Id = json['Id']; CustomFieldConfigId = json['CustomFieldConfigId']; ServiceId = json['ServiceId']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); return this; } Map toJson() => super.toJson()..addAll({ 'CompanyId': CompanyId, 'Id': Id, 'CustomFieldConfigId': CustomFieldConfigId, 'ServiceId': ServiceId, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!) }); getTypeName() => "CustomFieldServiceRelation"; TypeContext? context = _ctx; } class CustomFieldConfig extends BaseModel implements IConvertible { // @Ignore() List Values = []; CustomField CustomField; // @Ignore() RegEx RegEx; // @Ignore() List Services = []; List CustomFieldServiceRelation = []; // @Required() String CompanyId = ""; int Id = 0; int? GroupId; // @Required() int FieldId = 0; // @Required() int IconId = 0; int? RegExId; // @Required() String Name = ""; // @Required() String Description = ""; // @Required() String Datatype = ""; // @Required() int MaxLength = 0; // @Required() bool IsPublic; // @Required() bool IsHidden; // @Required() bool IsMandatory; String? DefaultValue; String? RegExErrorMessage; String? MandatoryErrorMessage; int? Width; // @Required() bool MultipleLineText; DateTime? ModifiedDate; CustomFieldConfig({this.Values,this.CustomField,this.RegEx,this.Services,this.CustomFieldServiceRelation,this.CompanyId,this.Id,this.GroupId,this.FieldId,this.IconId,this.RegExId,this.Name,this.Description,this.Datatype,this.MaxLength,this.IsPublic,this.IsHidden,this.IsMandatory,this.DefaultValue,this.RegExErrorMessage,this.MandatoryErrorMessage,this.Width,this.MultipleLineText,this.ModifiedDate}); CustomFieldConfig.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Values = JsonConverters.fromJson(json['Values'],'List',context!); CustomField = JsonConverters.fromJson(json['CustomField'],'CustomField',context!); RegEx = JsonConverters.fromJson(json['RegEx'],'RegEx',context!); Services = JsonConverters.fromJson(json['Services'],'List',context!); CustomFieldServiceRelation = JsonConverters.fromJson(json['CustomFieldServiceRelation'],'List',context!); CompanyId = json['CompanyId']; Id = json['Id']; GroupId = json['GroupId']; FieldId = json['FieldId']; IconId = json['IconId']; RegExId = json['RegExId']; Name = json['Name']; Description = json['Description']; Datatype = json['Datatype']; MaxLength = json['MaxLength']; IsPublic = json['IsPublic']; IsHidden = json['IsHidden']; IsMandatory = json['IsMandatory']; DefaultValue = json['DefaultValue']; RegExErrorMessage = json['RegExErrorMessage']; MandatoryErrorMessage = json['MandatoryErrorMessage']; Width = json['Width']; MultipleLineText = json['MultipleLineText']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); return this; } Map toJson() => super.toJson()..addAll({ 'Values': JsonConverters.toJson(Values,'List',context!), 'CustomField': JsonConverters.toJson(CustomField,'CustomField',context!), 'RegEx': JsonConverters.toJson(RegEx,'RegEx',context!), 'Services': JsonConverters.toJson(Services,'List',context!), 'CustomFieldServiceRelation': JsonConverters.toJson(CustomFieldServiceRelation,'List',context!), 'CompanyId': CompanyId, 'Id': Id, 'GroupId': GroupId, 'FieldId': FieldId, 'IconId': IconId, 'RegExId': RegExId, 'Name': Name, 'Description': Description, 'Datatype': Datatype, 'MaxLength': MaxLength, 'IsPublic': IsPublic, 'IsHidden': IsHidden, 'IsMandatory': IsMandatory, 'DefaultValue': DefaultValue, 'RegExErrorMessage': RegExErrorMessage, 'MandatoryErrorMessage': MandatoryErrorMessage, 'Width': Width, 'MultipleLineText': MultipleLineText, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!) }); getTypeName() => "CustomFieldConfig"; TypeContext? context = _ctx; } class ScheduleView extends BaseModel implements IConvertible { // @Required() String Name = ""; DateTime? ModifiedDate; int Id = 0; ScheduleView({this.Name,this.ModifiedDate,this.Id}); ScheduleView.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Name = json['Name']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Name': Name, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "ScheduleView"; TypeContext? context = _ctx; } class WeekNumberSetting extends BaseModel implements IConvertible { // @Required() String Name = ""; // @Required() String Description = ""; DateTime? ModifiedDate; // @Required() int Id = 0; WeekNumberSetting({this.Name,this.Description,this.ModifiedDate,this.Id}); WeekNumberSetting.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Name = json['Name']; Description = json['Description']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Name': Name, 'Description': Description, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "WeekNumberSetting"; TypeContext? context = _ctx; } class BookingTemplate extends BaseModel implements IConvertible { // @Required() String Name = ""; // @Required() String Description = ""; // @Required() String UsedByApplication = ""; DateTime? ModifiedDate; int Id = 0; BookingTemplate({this.Name,this.Description,this.UsedByApplication,this.ModifiedDate,this.Id}); BookingTemplate.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Name = json['Name']; Description = json['Description']; UsedByApplication = json['UsedByApplication']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Name': Name, 'Description': Description, 'UsedByApplication': UsedByApplication, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "BookingTemplate"; TypeContext? context = _ctx; } class CalendarType extends BaseModel implements IConvertible { // @Required() String Name = ""; // @Required() String Description = ""; // @Required() bool Active; DateTime? ModifiedDate; int Id = 0; CalendarType({this.Name,this.Description,this.Active,this.ModifiedDate,this.Id}); CalendarType.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Name = json['Name']; Description = json['Description']; Active = json['Active']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Name': Name, 'Description': Description, 'Active': Active, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "CalendarType"; TypeContext? context = _ctx; } class FreeSpotTexts extends BaseModel implements IConvertible { // @Required() String TextSingular = ""; // @Required() String TextPlural = ""; DateTime? ModifiedDate; // @Required() int Id = 0; FreeSpotTexts({this.TextSingular,this.TextPlural,this.ModifiedDate,this.Id}); FreeSpotTexts.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); TextSingular = json['TextSingular']; TextPlural = json['TextPlural']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'TextSingular': TextSingular, 'TextPlural': TextPlural, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "FreeSpotTexts"; TypeContext? context = _ctx; } class BookingStatusOptions implements IConvertible { int Id = 0; String Name = ""; String Description = ""; BookingStatusOptions({this.Id,this.Name,this.Description}); BookingStatusOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Name = json['Name']; Description = json['Description']; return this; } Map toJson() => { 'Id': Id, 'Name': Name, 'Description': Description }; getTypeName() => "BookingStatusOptions"; TypeContext? context = _ctx; } class BookingSettings extends BaseModel implements IConvertible { // @References(typeof(FreeSpotTexts)) int FreeSpotTextsId = 0; // @Ignore() bool SendEmailConfirmation; // @Ignore() List ScheduleViewOptions = []; // @Ignore() List WeekNumberSettingOptions = []; // @Ignore() List BookingTemplateOptions = []; // @Ignore() List CalendarTypeOptions = []; // @Ignore() List FreeSpotTextOptions = []; // @Ignore() List BookingStatusOptions = []; FreeSpotTexts FreeSpotTextsInfo; // @Ignore() String FreeSpotsTextSingular = ""; // @Ignore() String FreeSpotsTextPlural = ""; // @Required() int BookingStatusId = 0; // @Required() int ScheduleViewId = 0; // @Required() int BookingTemplateId = 0; // @Required() int CalendarTypeId = 0; // @Required() bool AllowBookingOnUnbookedTimes; // @Required() bool SendEmailReminder; // @Required() bool SendSmsReminder; // @Required() bool SendSmsConfirmation; // @Required() int EmailReminderTime = 0; // @Required() int SmsReminderTime = 0; // @Required() bool SendPushNotification; // @Required() bool SendPushNotificationReminder; // @Required() int PushNotificationReminderTime = 0; // @Required() int MaxActiveBookings = 0; // @Required() bool SendNotifications; String? SendNotificationsEmail; // @Required() bool EnableMobileApp; Duration? ScheduleStartTime; Duration? ScheduleEndTime; String? ReceiptTemplate; // @Required() int ScheduleTimeSlotMinutes = 0; // @Required() bool ShowFreeTimesLeft; // @Required() bool EnableICalGroupBookings; String? AgreementTemplate; // @Required() bool ScheduleShowTimeExeptions; // @Required() bool EnableBookingsOnSameTime; // @Required() int ShowWeekNumberSettingId = 0; // @Required() bool EnableShowBookedTimes; // @Required() bool EnableSendFollowUpMessage; // @Required() int FollowUpMessageTime = 0; String? MessageText; // @Required() bool ScheduleGroupResources; // @Required() int BookSpotUserResponseMinutes = 0; // @Required() bool IsBookSpotDirectly; // @Required() int BookSpotDirectlyTimeLeftMinutes = 0; // @Required() bool SendEmailNotificationQueue; // @Required() bool SendSMSNotificationQueue; // @Required() bool SchedulerDisableHorizontalScrolling; // @Required() bool BookOnlyOnExistingCustomers; // @Required() bool AutoGenerateUniquePinCode; // @Required() bool WeightedPrices; DateTime? ModifiedDate; // @Required() bool AutoCreateUserProfile; bool ShowMultipleResourcesAsOne; bool ShowPersonalIdentityNumber; bool PersonalIdentityNumberRequired; bool ShowMultiDayAsTime; String? BookingPinCodeRestriction; bool CustomerInvoiceAdressRequired; // @Required() String Id = ""; BookingSettings({this.FreeSpotTextsId,this.SendEmailConfirmation,this.ScheduleViewOptions,this.WeekNumberSettingOptions,this.BookingTemplateOptions,this.CalendarTypeOptions,this.FreeSpotTextOptions,this.BookingStatusOptions,this.FreeSpotTextsInfo,this.FreeSpotsTextSingular,this.FreeSpotsTextPlural,this.BookingStatusId,this.ScheduleViewId,this.BookingTemplateId,this.CalendarTypeId,this.AllowBookingOnUnbookedTimes,this.SendEmailReminder,this.SendSmsReminder,this.SendSmsConfirmation,this.EmailReminderTime,this.SmsReminderTime,this.SendPushNotification,this.SendPushNotificationReminder,this.PushNotificationReminderTime,this.MaxActiveBookings,this.SendNotifications,this.SendNotificationsEmail,this.EnableMobileApp,this.ScheduleStartTime,this.ScheduleEndTime,this.ReceiptTemplate,this.ScheduleTimeSlotMinutes,this.ShowFreeTimesLeft,this.EnableICalGroupBookings,this.AgreementTemplate,this.ScheduleShowTimeExeptions,this.EnableBookingsOnSameTime,this.ShowWeekNumberSettingId,this.EnableShowBookedTimes,this.EnableSendFollowUpMessage,this.FollowUpMessageTime,this.MessageText,this.ScheduleGroupResources,this.BookSpotUserResponseMinutes,this.IsBookSpotDirectly,this.BookSpotDirectlyTimeLeftMinutes,this.SendEmailNotificationQueue,this.SendSMSNotificationQueue,this.SchedulerDisableHorizontalScrolling,this.BookOnlyOnExistingCustomers,this.AutoGenerateUniquePinCode,this.WeightedPrices,this.ModifiedDate,this.AutoCreateUserProfile,this.ShowMultipleResourcesAsOne,this.ShowPersonalIdentityNumber,this.PersonalIdentityNumberRequired,this.ShowMultiDayAsTime,this.BookingPinCodeRestriction,this.CustomerInvoiceAdressRequired,this.Id}); BookingSettings.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); FreeSpotTextsId = json['FreeSpotTextsId']; SendEmailConfirmation = json['SendEmailConfirmation']; ScheduleViewOptions = JsonConverters.fromJson(json['ScheduleViewOptions'],'List',context!); WeekNumberSettingOptions = JsonConverters.fromJson(json['WeekNumberSettingOptions'],'List',context!); BookingTemplateOptions = JsonConverters.fromJson(json['BookingTemplateOptions'],'List',context!); CalendarTypeOptions = JsonConverters.fromJson(json['CalendarTypeOptions'],'List',context!); FreeSpotTextOptions = JsonConverters.fromJson(json['FreeSpotTextOptions'],'List',context!); BookingStatusOptions = JsonConverters.fromJson(json['BookingStatusOptions'],'List',context!); FreeSpotTextsInfo = JsonConverters.fromJson(json['FreeSpotTextsInfo'],'FreeSpotTexts',context!); FreeSpotsTextSingular = json['FreeSpotsTextSingular']; FreeSpotsTextPlural = json['FreeSpotsTextPlural']; BookingStatusId = json['BookingStatusId']; ScheduleViewId = json['ScheduleViewId']; BookingTemplateId = json['BookingTemplateId']; CalendarTypeId = json['CalendarTypeId']; AllowBookingOnUnbookedTimes = json['AllowBookingOnUnbookedTimes']; SendEmailReminder = json['SendEmailReminder']; SendSmsReminder = json['SendSmsReminder']; SendSmsConfirmation = json['SendSmsConfirmation']; EmailReminderTime = json['EmailReminderTime']; SmsReminderTime = json['SmsReminderTime']; SendPushNotification = json['SendPushNotification']; SendPushNotificationReminder = json['SendPushNotificationReminder']; PushNotificationReminderTime = json['PushNotificationReminderTime']; MaxActiveBookings = json['MaxActiveBookings']; SendNotifications = json['SendNotifications']; SendNotificationsEmail = json['SendNotificationsEmail']; EnableMobileApp = json['EnableMobileApp']; ScheduleStartTime = JsonConverters.fromJson(json['ScheduleStartTime'],'Duration',context!); ScheduleEndTime = JsonConverters.fromJson(json['ScheduleEndTime'],'Duration',context!); ReceiptTemplate = json['ReceiptTemplate']; ScheduleTimeSlotMinutes = json['ScheduleTimeSlotMinutes']; ShowFreeTimesLeft = json['ShowFreeTimesLeft']; EnableICalGroupBookings = json['EnableICalGroupBookings']; AgreementTemplate = json['AgreementTemplate']; ScheduleShowTimeExeptions = json['ScheduleShowTimeExeptions']; EnableBookingsOnSameTime = json['EnableBookingsOnSameTime']; ShowWeekNumberSettingId = json['ShowWeekNumberSettingId']; EnableShowBookedTimes = json['EnableShowBookedTimes']; EnableSendFollowUpMessage = json['EnableSendFollowUpMessage']; FollowUpMessageTime = json['FollowUpMessageTime']; MessageText = json['MessageText']; ScheduleGroupResources = json['ScheduleGroupResources']; BookSpotUserResponseMinutes = json['BookSpotUserResponseMinutes']; IsBookSpotDirectly = json['IsBookSpotDirectly']; BookSpotDirectlyTimeLeftMinutes = json['BookSpotDirectlyTimeLeftMinutes']; SendEmailNotificationQueue = json['SendEmailNotificationQueue']; SendSMSNotificationQueue = json['SendSMSNotificationQueue']; SchedulerDisableHorizontalScrolling = json['SchedulerDisableHorizontalScrolling']; BookOnlyOnExistingCustomers = json['BookOnlyOnExistingCustomers']; AutoGenerateUniquePinCode = json['AutoGenerateUniquePinCode']; WeightedPrices = json['WeightedPrices']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); AutoCreateUserProfile = json['AutoCreateUserProfile']; ShowMultipleResourcesAsOne = json['ShowMultipleResourcesAsOne']; ShowPersonalIdentityNumber = json['ShowPersonalIdentityNumber']; PersonalIdentityNumberRequired = json['PersonalIdentityNumberRequired']; ShowMultiDayAsTime = json['ShowMultiDayAsTime']; BookingPinCodeRestriction = json['BookingPinCodeRestriction']; CustomerInvoiceAdressRequired = json['CustomerInvoiceAdressRequired']; Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'FreeSpotTextsId': FreeSpotTextsId, 'SendEmailConfirmation': SendEmailConfirmation, 'ScheduleViewOptions': JsonConverters.toJson(ScheduleViewOptions,'List',context!), 'WeekNumberSettingOptions': JsonConverters.toJson(WeekNumberSettingOptions,'List',context!), 'BookingTemplateOptions': JsonConverters.toJson(BookingTemplateOptions,'List',context!), 'CalendarTypeOptions': JsonConverters.toJson(CalendarTypeOptions,'List',context!), 'FreeSpotTextOptions': JsonConverters.toJson(FreeSpotTextOptions,'List',context!), 'BookingStatusOptions': JsonConverters.toJson(BookingStatusOptions,'List',context!), 'FreeSpotTextsInfo': JsonConverters.toJson(FreeSpotTextsInfo,'FreeSpotTexts',context!), 'FreeSpotsTextSingular': FreeSpotsTextSingular, 'FreeSpotsTextPlural': FreeSpotsTextPlural, 'BookingStatusId': BookingStatusId, 'ScheduleViewId': ScheduleViewId, 'BookingTemplateId': BookingTemplateId, 'CalendarTypeId': CalendarTypeId, 'AllowBookingOnUnbookedTimes': AllowBookingOnUnbookedTimes, 'SendEmailReminder': SendEmailReminder, 'SendSmsReminder': SendSmsReminder, 'SendSmsConfirmation': SendSmsConfirmation, 'EmailReminderTime': EmailReminderTime, 'SmsReminderTime': SmsReminderTime, 'SendPushNotification': SendPushNotification, 'SendPushNotificationReminder': SendPushNotificationReminder, 'PushNotificationReminderTime': PushNotificationReminderTime, 'MaxActiveBookings': MaxActiveBookings, 'SendNotifications': SendNotifications, 'SendNotificationsEmail': SendNotificationsEmail, 'EnableMobileApp': EnableMobileApp, 'ScheduleStartTime': JsonConverters.toJson(ScheduleStartTime,'Duration',context!), 'ScheduleEndTime': JsonConverters.toJson(ScheduleEndTime,'Duration',context!), 'ReceiptTemplate': ReceiptTemplate, 'ScheduleTimeSlotMinutes': ScheduleTimeSlotMinutes, 'ShowFreeTimesLeft': ShowFreeTimesLeft, 'EnableICalGroupBookings': EnableICalGroupBookings, 'AgreementTemplate': AgreementTemplate, 'ScheduleShowTimeExeptions': ScheduleShowTimeExeptions, 'EnableBookingsOnSameTime': EnableBookingsOnSameTime, 'ShowWeekNumberSettingId': ShowWeekNumberSettingId, 'EnableShowBookedTimes': EnableShowBookedTimes, 'EnableSendFollowUpMessage': EnableSendFollowUpMessage, 'FollowUpMessageTime': FollowUpMessageTime, 'MessageText': MessageText, 'ScheduleGroupResources': ScheduleGroupResources, 'BookSpotUserResponseMinutes': BookSpotUserResponseMinutes, 'IsBookSpotDirectly': IsBookSpotDirectly, 'BookSpotDirectlyTimeLeftMinutes': BookSpotDirectlyTimeLeftMinutes, 'SendEmailNotificationQueue': SendEmailNotificationQueue, 'SendSMSNotificationQueue': SendSMSNotificationQueue, 'SchedulerDisableHorizontalScrolling': SchedulerDisableHorizontalScrolling, 'BookOnlyOnExistingCustomers': BookOnlyOnExistingCustomers, 'AutoGenerateUniquePinCode': AutoGenerateUniquePinCode, 'WeightedPrices': WeightedPrices, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'AutoCreateUserProfile': AutoCreateUserProfile, 'ShowMultipleResourcesAsOne': ShowMultipleResourcesAsOne, 'ShowPersonalIdentityNumber': ShowPersonalIdentityNumber, 'PersonalIdentityNumberRequired': PersonalIdentityNumberRequired, 'ShowMultiDayAsTime': ShowMultiDayAsTime, 'BookingPinCodeRestriction': BookingPinCodeRestriction, 'CustomerInvoiceAdressRequired': CustomerInvoiceAdressRequired, 'Id': Id }); getTypeName() => "BookingSettings"; TypeContext? context = _ctx; } class CompanyType extends BaseModel implements IConvertible { // @Required() String Name = ""; // @Required() String Description = ""; DateTime? ModifiedDate; // @Required() int Id = 0; CompanyType({this.Name,this.Description,this.ModifiedDate,this.Id}); CompanyType.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Name = json['Name']; Description = json['Description']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Name': Name, 'Description': Description, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "CompanyType"; TypeContext? context = _ctx; } class CodeLockSystem extends BaseModel implements IConvertible { // @Required() String Name = ""; // @Required() String Supplier = ""; String? LogoType; // @Required() String Description = ""; DateTime? ModifiedDate; // @Required() int Id = 0; CodeLockSystem({this.Name,this.Supplier,this.LogoType,this.Description,this.ModifiedDate,this.Id}); CodeLockSystem.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Name = json['Name']; Supplier = json['Supplier']; LogoType = json['LogoType']; Description = json['Description']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Name': Name, 'Supplier': Supplier, 'LogoType': LogoType, 'Description': Description, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "CodeLockSystem"; TypeContext? context = _ctx; } class CodeLockSetting extends BaseModel implements IConvertible { // @Ignore() List CodeLockSystemOptions = []; // @Required() bool Active; // @Required() int CodeLockSystemsId = 0; // @Required() int ValidBeforeMinutes = 0; // @Required() int ValidAfterMinutes = 0; // @Required() bool DeleteOldBySchedule; // @Required() DateTime Created = DateTime(0); // @Required() DateTime Updated = DateTime(0); DateTime? ModifiedDate; // @Required() bool SendEmailNotification; // @Required() bool SendSMSNotification; // @Required() int EmailNotificationTime = 0; // @Required() int SMSNotificationTime = 0; // @Required() String Id = ""; CodeLockSetting({this.CodeLockSystemOptions,this.Active,this.CodeLockSystemsId,this.ValidBeforeMinutes,this.ValidAfterMinutes,this.DeleteOldBySchedule,this.Created,this.Updated,this.ModifiedDate,this.SendEmailNotification,this.SendSMSNotification,this.EmailNotificationTime,this.SMSNotificationTime,this.Id}); CodeLockSetting.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CodeLockSystemOptions = JsonConverters.fromJson(json['CodeLockSystemOptions'],'List',context!); Active = json['Active']; CodeLockSystemsId = json['CodeLockSystemsId']; ValidBeforeMinutes = json['ValidBeforeMinutes']; ValidAfterMinutes = json['ValidAfterMinutes']; DeleteOldBySchedule = json['DeleteOldBySchedule']; Created = JsonConverters.fromJson(json['Created'],'DateTime',context!); Updated = JsonConverters.fromJson(json['Updated'],'DateTime',context!); ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); SendEmailNotification = json['SendEmailNotification']; SendSMSNotification = json['SendSMSNotification']; EmailNotificationTime = json['EmailNotificationTime']; SMSNotificationTime = json['SMSNotificationTime']; Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'CodeLockSystemOptions': JsonConverters.toJson(CodeLockSystemOptions,'List',context!), 'Active': Active, 'CodeLockSystemsId': CodeLockSystemsId, 'ValidBeforeMinutes': ValidBeforeMinutes, 'ValidAfterMinutes': ValidAfterMinutes, 'DeleteOldBySchedule': DeleteOldBySchedule, 'Created': JsonConverters.toJson(Created,'DateTime',context!), 'Updated': JsonConverters.toJson(Updated,'DateTime',context!), 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'SendEmailNotification': SendEmailNotification, 'SendSMSNotification': SendSMSNotification, 'EmailNotificationTime': EmailNotificationTime, 'SMSNotificationTime': SMSNotificationTime, 'Id': Id }); getTypeName() => "CodeLockSetting"; TypeContext? context = _ctx; } class AdminPaymentOptions extends BaseModel implements IConvertible { // @Required() String Name = ""; // @Required() String Description = ""; DateTime? ModifiedDate; // @Required() int Id = 0; AdminPaymentOptions({this.Name,this.Description,this.ModifiedDate,this.Id}); AdminPaymentOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Name = json['Name']; Description = json['Description']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Name': Name, 'Description': Description, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "AdminPaymentOptions"; TypeContext? context = _ctx; } class PaymentProviders extends BaseModel implements IConvertible { // @Required() String Name = ""; // @Required() String Description = ""; // @Required() String Category = ""; String? Url; // @Required() bool Active; DateTime? ModifiedDate; // @Required() int Id = 0; PaymentProviders({this.Name,this.Description,this.Category,this.Url,this.Active,this.ModifiedDate,this.Id}); PaymentProviders.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Name = json['Name']; Description = json['Description']; Category = json['Category']; Url = json['Url']; Active = json['Active']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Name': Name, 'Description': Description, 'Category': Category, 'Url': Url, 'Active': Active, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "PaymentProviders"; TypeContext? context = _ctx; } class PaymentSettings extends BaseModel implements IBaseModelUpdated, IConvertible { // @Ignore() AdminPaymentOptions AdminPaymentOption; // @Ignore() List AdminPaymentOptions = []; // @Ignore() List PaymentProviderOptions = []; // @Required() String Id = ""; // @Required() bool Enabled; // @Required() bool RefundOnCancelBooking; int? DefaultPaymentOptionId; // @Required() int PaymentProviderId = 0; DateTime UpdatedDate = DateTime(0); PaymentSettings({this.AdminPaymentOption,this.AdminPaymentOptions,this.PaymentProviderOptions,this.Id,this.Enabled,this.RefundOnCancelBooking,this.DefaultPaymentOptionId,this.PaymentProviderId,this.UpdatedDate}); PaymentSettings.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); AdminPaymentOption = JsonConverters.fromJson(json['AdminPaymentOption'],'AdminPaymentOptions',context!); AdminPaymentOptions = JsonConverters.fromJson(json['AdminPaymentOptions'],'List',context!); PaymentProviderOptions = JsonConverters.fromJson(json['PaymentProviderOptions'],'List',context!); Id = json['Id']; Enabled = json['Enabled']; RefundOnCancelBooking = json['RefundOnCancelBooking']; DefaultPaymentOptionId = json['DefaultPaymentOptionId']; PaymentProviderId = json['PaymentProviderId']; UpdatedDate = JsonConverters.fromJson(json['UpdatedDate'],'DateTime',context!); return this; } Map toJson() => super.toJson()..addAll({ 'AdminPaymentOption': JsonConverters.toJson(AdminPaymentOption,'AdminPaymentOptions',context!), 'AdminPaymentOptions': JsonConverters.toJson(AdminPaymentOptions,'List',context!), 'PaymentProviderOptions': JsonConverters.toJson(PaymentProviderOptions,'List',context!), 'Id': Id, 'Enabled': Enabled, 'RefundOnCancelBooking': RefundOnCancelBooking, 'DefaultPaymentOptionId': DefaultPaymentOptionId, 'PaymentProviderId': PaymentProviderId, 'UpdatedDate': JsonConverters.toJson(UpdatedDate,'DateTime',context!) }); getTypeName() => "PaymentSettings"; TypeContext? context = _ctx; } class LanguageResponse implements IConvertible { String Id = ""; String Name = ""; LanguageResponse({this.Id,this.Name}); LanguageResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Name = json['Name']; return this; } Map toJson() => { 'Id': Id, 'Name': Name }; getTypeName() => "LanguageResponse"; TypeContext? context = _ctx; } class CompanySetting extends BaseModel implements IConvertible { // @Ignore() List Languages = []; // @Required() bool Active; String? InactiveMessage; // @Required() bool Searchable; String? GATrackingId; String? FacebookPixelId; // @Required() bool MultiLanguage; // @Required() bool EnableAPITranslation; // @Required() String DefaultLanguage = ""; DateTime? ModifiedDate; String? GTMTrackingId; // @Required() bool ShowOnMarketPlace; String? GoogleAdsConversionId; String? LinkedinTagId; String? GoogleAdsConversionLabel; bool SendCustomerInformationToExternalProviders; // @Required() String Id = ""; bool IsWebhookFeatureEnabled; int? SmsMessageSendLimit; int? EmailMessageSendLimit; CompanySetting({this.Languages,this.Active,this.InactiveMessage,this.Searchable,this.GATrackingId,this.FacebookPixelId,this.MultiLanguage,this.EnableAPITranslation,this.DefaultLanguage,this.ModifiedDate,this.GTMTrackingId,this.ShowOnMarketPlace,this.GoogleAdsConversionId,this.LinkedinTagId,this.GoogleAdsConversionLabel,this.SendCustomerInformationToExternalProviders,this.Id,this.IsWebhookFeatureEnabled,this.SmsMessageSendLimit,this.EmailMessageSendLimit}); CompanySetting.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Languages = JsonConverters.fromJson(json['Languages'],'List',context!); Active = json['Active']; InactiveMessage = json['InactiveMessage']; Searchable = json['Searchable']; GATrackingId = json['GATrackingId']; FacebookPixelId = json['FacebookPixelId']; MultiLanguage = json['MultiLanguage']; EnableAPITranslation = json['EnableAPITranslation']; DefaultLanguage = json['DefaultLanguage']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); GTMTrackingId = json['GTMTrackingId']; ShowOnMarketPlace = json['ShowOnMarketPlace']; GoogleAdsConversionId = json['GoogleAdsConversionId']; LinkedinTagId = json['LinkedinTagId']; GoogleAdsConversionLabel = json['GoogleAdsConversionLabel']; SendCustomerInformationToExternalProviders = json['SendCustomerInformationToExternalProviders']; Id = json['Id']; IsWebhookFeatureEnabled = json['IsWebhookFeatureEnabled']; SmsMessageSendLimit = json['SmsMessageSendLimit']; EmailMessageSendLimit = json['EmailMessageSendLimit']; return this; } Map toJson() => super.toJson()..addAll({ 'Languages': JsonConverters.toJson(Languages,'List',context!), 'Active': Active, 'InactiveMessage': InactiveMessage, 'Searchable': Searchable, 'GATrackingId': GATrackingId, 'FacebookPixelId': FacebookPixelId, 'MultiLanguage': MultiLanguage, 'EnableAPITranslation': EnableAPITranslation, 'DefaultLanguage': DefaultLanguage, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'GTMTrackingId': GTMTrackingId, 'ShowOnMarketPlace': ShowOnMarketPlace, 'GoogleAdsConversionId': GoogleAdsConversionId, 'LinkedinTagId': LinkedinTagId, 'GoogleAdsConversionLabel': GoogleAdsConversionLabel, 'SendCustomerInformationToExternalProviders': SendCustomerInformationToExternalProviders, 'Id': Id, 'IsWebhookFeatureEnabled': IsWebhookFeatureEnabled, 'SmsMessageSendLimit': SmsMessageSendLimit, 'EmailMessageSendLimit': EmailMessageSendLimit }); getTypeName() => "CompanySetting"; TypeContext? context = _ctx; } class WidgetServiceLayouts extends BaseModel implements IConvertible { // @Required() String Name = ""; // @Required() String Description = ""; // @Required() String Code = ""; DateTime? ModifiedDate; // @Required() int Id = 0; WidgetServiceLayouts({this.Name,this.Description,this.Code,this.ModifiedDate,this.Id}); WidgetServiceLayouts.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Name = json['Name']; Description = json['Description']; Code = json['Code']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Name': Name, 'Description': Description, 'Code': Code, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "WidgetServiceLayouts"; TypeContext? context = _ctx; } class WidgetTimeLayouts extends BaseModel implements IConvertible { // @Required() String Name = ""; // @Required() String Description = ""; // @Required() String Code = ""; DateTime? ModifiedDate; // @Required() int Id = 0; WidgetTimeLayouts({this.Name,this.Description,this.Code,this.ModifiedDate,this.Id}); WidgetTimeLayouts.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Name = json['Name']; Description = json['Description']; Code = json['Code']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Name': Name, 'Description': Description, 'Code': Code, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "WidgetTimeLayouts"; TypeContext? context = _ctx; } class WidgetBookingLayouts extends BaseModel implements IConvertible { // @Required() String Name = ""; // @Required() String Description = ""; // @Required() String Code = ""; DateTime? ModifiedDate; // @Required() int Id = 0; WidgetBookingLayouts({this.Name,this.Description,this.Code,this.ModifiedDate,this.Id}); WidgetBookingLayouts.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Name = json['Name']; Description = json['Description']; Code = json['Code']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Name': Name, 'Description': Description, 'Code': Code, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "WidgetBookingLayouts"; TypeContext? context = _ctx; } class WidgetBookingMethods extends BaseModel implements IConvertible { // @Required() String Name = ""; // @Required() String Description = ""; // @Required() String Code = ""; DateTime? ModifiedDate; // @Required() int Id = 0; WidgetBookingMethods({this.Name,this.Description,this.Code,this.ModifiedDate,this.Id}); WidgetBookingMethods.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Name = json['Name']; Description = json['Description']; Code = json['Code']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Name': Name, 'Description': Description, 'Code': Code, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "WidgetBookingMethods"; TypeContext? context = _ctx; } class HomepageWidgetSetting extends BaseModel implements IConvertible { // @Ignore() List WidgetServiceLayoutOptions = []; // @Ignore() List WidgetTimeLayoutOptions = []; // @Ignore() List WidgetBookingLayoutOptions = []; // @Ignore() List WidgetBookingMethodOptions = []; // @Required() int ServiceLayoutId = 0; // @Required() int TimeLayoutId = 0; // @Required() int BookingLayoutId = 0; // @Required() String PrimaryColor = ""; // @Required() bool ShowServiceImage; // @Required() bool ShowNextAvailableTime; // @Required() bool ShowEndTime; String? BookedTimeSlotText; // @Required() bool DarkTheme; // @Required() bool ShowRebateCodeField; DateTime? ModifiedDate; // @Required() bool EnableCreateAccount; // @Required() bool EnableLogin; // @Required() bool EnableDirectBooking; // @Required() bool EnableFacebookLogin; // @Required() bool ShowSubscribeToNewsletter; // @Required() String Id = ""; HomepageWidgetSetting({this.WidgetServiceLayoutOptions,this.WidgetTimeLayoutOptions,this.WidgetBookingLayoutOptions,this.WidgetBookingMethodOptions,this.ServiceLayoutId,this.TimeLayoutId,this.BookingLayoutId,this.PrimaryColor,this.ShowServiceImage,this.ShowNextAvailableTime,this.ShowEndTime,this.BookedTimeSlotText,this.DarkTheme,this.ShowRebateCodeField,this.ModifiedDate,this.EnableCreateAccount,this.EnableLogin,this.EnableDirectBooking,this.EnableFacebookLogin,this.ShowSubscribeToNewsletter,this.Id}); HomepageWidgetSetting.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); WidgetServiceLayoutOptions = JsonConverters.fromJson(json['WidgetServiceLayoutOptions'],'List',context!); WidgetTimeLayoutOptions = JsonConverters.fromJson(json['WidgetTimeLayoutOptions'],'List',context!); WidgetBookingLayoutOptions = JsonConverters.fromJson(json['WidgetBookingLayoutOptions'],'List',context!); WidgetBookingMethodOptions = JsonConverters.fromJson(json['WidgetBookingMethodOptions'],'List',context!); ServiceLayoutId = json['ServiceLayoutId']; TimeLayoutId = json['TimeLayoutId']; BookingLayoutId = json['BookingLayoutId']; PrimaryColor = json['PrimaryColor']; ShowServiceImage = json['ShowServiceImage']; ShowNextAvailableTime = json['ShowNextAvailableTime']; ShowEndTime = json['ShowEndTime']; BookedTimeSlotText = json['BookedTimeSlotText']; DarkTheme = json['DarkTheme']; ShowRebateCodeField = json['ShowRebateCodeField']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); EnableCreateAccount = json['EnableCreateAccount']; EnableLogin = json['EnableLogin']; EnableDirectBooking = json['EnableDirectBooking']; EnableFacebookLogin = json['EnableFacebookLogin']; ShowSubscribeToNewsletter = json['ShowSubscribeToNewsletter']; Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'WidgetServiceLayoutOptions': JsonConverters.toJson(WidgetServiceLayoutOptions,'List',context!), 'WidgetTimeLayoutOptions': JsonConverters.toJson(WidgetTimeLayoutOptions,'List',context!), 'WidgetBookingLayoutOptions': JsonConverters.toJson(WidgetBookingLayoutOptions,'List',context!), 'WidgetBookingMethodOptions': JsonConverters.toJson(WidgetBookingMethodOptions,'List',context!), 'ServiceLayoutId': ServiceLayoutId, 'TimeLayoutId': TimeLayoutId, 'BookingLayoutId': BookingLayoutId, 'PrimaryColor': PrimaryColor, 'ShowServiceImage': ShowServiceImage, 'ShowNextAvailableTime': ShowNextAvailableTime, 'ShowEndTime': ShowEndTime, 'BookedTimeSlotText': BookedTimeSlotText, 'DarkTheme': DarkTheme, 'ShowRebateCodeField': ShowRebateCodeField, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'EnableCreateAccount': EnableCreateAccount, 'EnableLogin': EnableLogin, 'EnableDirectBooking': EnableDirectBooking, 'EnableFacebookLogin': EnableFacebookLogin, 'ShowSubscribeToNewsletter': ShowSubscribeToNewsletter, 'Id': Id }); getTypeName() => "HomepageWidgetSetting"; TypeContext? context = _ctx; } class HomepageTemplate extends BaseModel implements IConvertible { // @Required() String Name = ""; // @Required() String Description = ""; Uri? ImageUrl; // @Required() bool Premium; DateTime? ModifiedDate; int Id = 0; HomepageTemplate({this.Name,this.Description,this.ImageUrl,this.Premium,this.ModifiedDate,this.Id}); HomepageTemplate.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Name = json['Name']; Description = json['Description']; ImageUrl = JsonConverters.fromJson(json['ImageUrl'],'Uri',context!); Premium = json['Premium']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Name': Name, 'Description': Description, 'ImageUrl': JsonConverters.toJson(ImageUrl,'Uri',context!), 'Premium': Premium, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "HomepageTemplate"; TypeContext? context = _ctx; } class HeroSectionStyle extends BaseModel implements IConvertible { // @Required() String Name = ""; String? Description; DateTime? ModifiedDate; // @Required() int Id = 0; HeroSectionStyle({this.Name,this.Description,this.ModifiedDate,this.Id}); HeroSectionStyle.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Name = json['Name']; Description = json['Description']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Name': Name, 'Description': Description, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "HeroSectionStyle"; TypeContext? context = _ctx; } class HomepageSetting extends BaseModel implements ICompany, IConvertible { // @Ignore() List HomepageTemplateOptions = []; // @Ignore() List HomepageHeroSectionStyleOptions = []; // @Ignore() String? CompanyId; String? WelcomePageHeading; String? WelcomePageBody; String? AboutUsPageHeading; String? AboutUsPageBody; // @Required() int HomePageTemplateId = 0; String? ImageUrl; // @Required() DateTime Updated = DateTime(0); // @Required() DateTime Created = DateTime(0); String? HomepageHeading; // @Required() int HeroSectionStyleId = 0; DateTime? ModifiedDate; // @Required() bool ShowRating; // @Required() bool EnableHomepage; // @Required() String Id = ""; HomepageSetting({this.HomepageTemplateOptions,this.HomepageHeroSectionStyleOptions,this.CompanyId,this.WelcomePageHeading,this.WelcomePageBody,this.AboutUsPageHeading,this.AboutUsPageBody,this.HomePageTemplateId,this.ImageUrl,this.Updated,this.Created,this.HomepageHeading,this.HeroSectionStyleId,this.ModifiedDate,this.ShowRating,this.EnableHomepage,this.Id}); HomepageSetting.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); HomepageTemplateOptions = JsonConverters.fromJson(json['HomepageTemplateOptions'],'List',context!); HomepageHeroSectionStyleOptions = JsonConverters.fromJson(json['HomepageHeroSectionStyleOptions'],'List',context!); CompanyId = json['CompanyId']; WelcomePageHeading = json['WelcomePageHeading']; WelcomePageBody = json['WelcomePageBody']; AboutUsPageHeading = json['AboutUsPageHeading']; AboutUsPageBody = json['AboutUsPageBody']; HomePageTemplateId = json['HomePageTemplateId']; ImageUrl = json['ImageUrl']; Updated = JsonConverters.fromJson(json['Updated'],'DateTime',context!); Created = JsonConverters.fromJson(json['Created'],'DateTime',context!); HomepageHeading = json['HomepageHeading']; HeroSectionStyleId = json['HeroSectionStyleId']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); ShowRating = json['ShowRating']; EnableHomepage = json['EnableHomepage']; Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'HomepageTemplateOptions': JsonConverters.toJson(HomepageTemplateOptions,'List',context!), 'HomepageHeroSectionStyleOptions': JsonConverters.toJson(HomepageHeroSectionStyleOptions,'List',context!), 'CompanyId': CompanyId, 'WelcomePageHeading': WelcomePageHeading, 'WelcomePageBody': WelcomePageBody, 'AboutUsPageHeading': AboutUsPageHeading, 'AboutUsPageBody': AboutUsPageBody, 'HomePageTemplateId': HomePageTemplateId, 'ImageUrl': ImageUrl, 'Updated': JsonConverters.toJson(Updated,'DateTime',context!), 'Created': JsonConverters.toJson(Created,'DateTime',context!), 'HomepageHeading': HomepageHeading, 'HeroSectionStyleId': HeroSectionStyleId, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'ShowRating': ShowRating, 'EnableHomepage': EnableHomepage, 'Id': Id }); getTypeName() => "HomepageSetting"; TypeContext? context = _ctx; } class AverageRatingScore implements IConvertible { double AverageScore = 0; int Score1Count = 0; int Score2Count = 0; int Score3Count = 0; int Score4Count = 0; int Score5Count = 0; int Count = 0; AverageRatingScore({this.AverageScore,this.Score1Count,this.Score2Count,this.Score3Count,this.Score4Count,this.Score5Count,this.Count}); AverageRatingScore.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AverageScore = JsonConverters.toDouble(json['AverageScore']); Score1Count = json['Score1Count']; Score2Count = json['Score2Count']; Score3Count = json['Score3Count']; Score4Count = json['Score4Count']; Score5Count = json['Score5Count']; Count = json['Count']; return this; } Map toJson() => { 'AverageScore': AverageScore, 'Score1Count': Score1Count, 'Score2Count': Score2Count, 'Score3Count': Score3Count, 'Score4Count': Score4Count, 'Score5Count': Score5Count, 'Count': Count }; getTypeName() => "AverageRatingScore"; TypeContext? context = _ctx; } class Review extends BaseModel implements IConvertible { String ReviewId = ""; // @Required() String CompanyId = ""; // @Required() String Title = ""; // @Required() String Description = ""; // @Required() String Author = ""; // @Required() int Status = 0; // @Required() DateTime Created = DateTime(0); // @Required() DateTime Updated = DateTime(0); DateTime? ModifiedDate; String? ReviewAnswer; Review({this.ReviewId,this.CompanyId,this.Title,this.Description,this.Author,this.Status,this.Created,this.Updated,this.ModifiedDate,this.ReviewAnswer}); Review.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ReviewId = json['ReviewId']; CompanyId = json['CompanyId']; Title = json['Title']; Description = json['Description']; Author = json['Author']; Status = json['Status']; Created = JsonConverters.fromJson(json['Created'],'DateTime',context!); Updated = JsonConverters.fromJson(json['Updated'],'DateTime',context!); ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); ReviewAnswer = json['ReviewAnswer']; return this; } Map toJson() => super.toJson()..addAll({ 'ReviewId': ReviewId, 'CompanyId': CompanyId, 'Title': Title, 'Description': Description, 'Author': Author, 'Status': Status, 'Created': JsonConverters.toJson(Created,'DateTime',context!), 'Updated': JsonConverters.toJson(Updated,'DateTime',context!), 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'ReviewAnswer': ReviewAnswer }); getTypeName() => "Review"; TypeContext? context = _ctx; } class Rating extends BaseModel implements IConvertible { String? ReviewId; Review Review; // @Required() String CompanyId = ""; // @Required() int BookingId = 0; // @Required() int RatingScore = 0; // @Required() int Status = 0; // @Required() DateTime Created = DateTime(0); // @Required() DateTime Updated = DateTime(0); DateTime? ModifiedDate; Rating({this.ReviewId,this.Review,this.CompanyId,this.BookingId,this.RatingScore,this.Status,this.Created,this.Updated,this.ModifiedDate}); Rating.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ReviewId = json['ReviewId']; Review = JsonConverters.fromJson(json['Review'],'Review',context!); CompanyId = json['CompanyId']; BookingId = json['BookingId']; RatingScore = json['RatingScore']; Status = json['Status']; Created = JsonConverters.fromJson(json['Created'],'DateTime',context!); Updated = JsonConverters.fromJson(json['Updated'],'DateTime',context!); ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); return this; } Map toJson() => super.toJson()..addAll({ 'ReviewId': ReviewId, 'Review': JsonConverters.toJson(Review,'Review',context!), 'CompanyId': CompanyId, 'BookingId': BookingId, 'RatingScore': RatingScore, 'Status': Status, 'Created': JsonConverters.toJson(Created,'DateTime',context!), 'Updated': JsonConverters.toJson(Updated,'DateTime',context!), 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!) }); getTypeName() => "Rating"; TypeContext? context = _ctx; } class ProductGroupResponse implements IConvertible { String Id = ""; String Name = ""; String TierId = ""; ProductGroupResponse({this.Id,this.Name,this.TierId}); ProductGroupResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Name = json['Name']; TierId = json['TierId']; return this; } Map toJson() => { 'Id': Id, 'Name': Name, 'TierId': TierId }; getTypeName() => "ProductGroupResponse"; TypeContext? context = _ctx; } class TierResponse implements IConvertible { String Id = ""; String Name = ""; List ProductGroups = []; TierResponse({this.Id,this.Name,this.ProductGroups}); TierResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Name = json['Name']; ProductGroups = JsonConverters.fromJson(json['ProductGroups'],'List',context!); return this; } Map toJson() => { 'Id': Id, 'Name': Name, 'ProductGroups': JsonConverters.toJson(ProductGroups,'List',context!) }; getTypeName() => "TierResponse"; TypeContext? context = _ctx; } class VossSubscriptionResponse implements IConvertible { DateTime SubscriptionBillingPeriodStartDate = DateTime(0); DateTime SubscriptionBillingPeriodEndDate = DateTime(0); TierResponse Tier; VossSubscriptionResponse({this.SubscriptionBillingPeriodStartDate,this.SubscriptionBillingPeriodEndDate,this.Tier}); VossSubscriptionResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SubscriptionBillingPeriodStartDate = JsonConverters.fromJson(json['SubscriptionBillingPeriodStartDate'],'DateTime',context!); SubscriptionBillingPeriodEndDate = JsonConverters.fromJson(json['SubscriptionBillingPeriodEndDate'],'DateTime',context!); Tier = JsonConverters.fromJson(json['Tier'],'TierResponse',context!); return this; } Map toJson() => { 'SubscriptionBillingPeriodStartDate': JsonConverters.toJson(SubscriptionBillingPeriodStartDate,'DateTime',context!), 'SubscriptionBillingPeriodEndDate': JsonConverters.toJson(SubscriptionBillingPeriodEndDate,'DateTime',context!), 'Tier': JsonConverters.toJson(Tier,'TierResponse',context!) }; getTypeName() => "VossSubscriptionResponse"; TypeContext? context = _ctx; } class LicenseTypeItem extends BaseModel implements IConvertible { // @Ignore() String Name = ""; // @Ignore() LicenseTypes LicenseType; // @Required() int LicenseTypesId = 0; // @Required() int LicenseItemsId = 0; // @Required() int NumberOfItems = 0; int Id = 0; DateTime? ModifiedDate; LicenseTypeItem({this.Name,this.LicenseType,this.LicenseTypesId,this.LicenseItemsId,this.NumberOfItems,this.Id,this.ModifiedDate}); LicenseTypeItem.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Name = json['Name']; LicenseType = JsonConverters.fromJson(json['LicenseType'],'LicenseTypes',context!); LicenseTypesId = json['LicenseTypesId']; LicenseItemsId = json['LicenseItemsId']; NumberOfItems = json['NumberOfItems']; Id = json['Id']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); return this; } Map toJson() => super.toJson()..addAll({ 'Name': Name, 'LicenseType': JsonConverters.toJson(LicenseType,'LicenseTypes',context!), 'LicenseTypesId': LicenseTypesId, 'LicenseItemsId': LicenseItemsId, 'NumberOfItems': NumberOfItems, 'Id': Id, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!) }); getTypeName() => "LicenseTypeItem"; TypeContext? context = _ctx; } class Country extends BaseModel implements IConvertible { // @References(typeof(Currency)) String CurrencyId = ""; Currency CurrencyInfo; // @Required() String Name = ""; String? Culture; String? TimeZone; DateTime? ModifiedDate; // @Required() String Id = ""; Country({this.CurrencyId,this.CurrencyInfo,this.Name,this.Culture,this.TimeZone,this.ModifiedDate,this.Id}); Country.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CurrencyId = json['CurrencyId']; CurrencyInfo = JsonConverters.fromJson(json['CurrencyInfo'],'Currency',context!); Name = json['Name']; Culture = json['Culture']; TimeZone = json['TimeZone']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'CurrencyId': CurrencyId, 'CurrencyInfo': JsonConverters.toJson(CurrencyInfo,'Currency',context!), 'Name': Name, 'Culture': Culture, 'TimeZone': TimeZone, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "Country"; TypeContext? context = _ctx; } class LicensePrice extends BaseModel implements IConvertible { // @Ignore() Country Country; // @Required() int LicenseTypeId = 0; // @Required() String CountryId = ""; // @Required() int Price = 0; DateTime? ModifiedDate; int LicensePlanId = 0; LicensePrice({this.Country,this.LicenseTypeId,this.CountryId,this.Price,this.ModifiedDate,this.LicensePlanId}); LicensePrice.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Country = JsonConverters.fromJson(json['Country'],'Country',context!); LicenseTypeId = json['LicenseTypeId']; CountryId = json['CountryId']; Price = json['Price']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); LicensePlanId = json['LicensePlanId']; return this; } Map toJson() => super.toJson()..addAll({ 'Country': JsonConverters.toJson(Country,'Country',context!), 'LicenseTypeId': LicenseTypeId, 'CountryId': CountryId, 'Price': Price, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'LicensePlanId': LicensePlanId }); getTypeName() => "LicensePrice"; TypeContext? context = _ctx; } class LicenseTypes extends BaseModel implements IConvertible { // @Ignore() List? LicenseItems; // @Ignore() List? Prices; // @Ignore() bool IsFree; // @Ignore() int PeriodOfNoticeDays = 0; // @Ignore() LicenseTypes NextLicenseOption; // @Required() String Name = ""; // @Required() String Description = ""; // @Required() bool ExtraLicenseOption; DateTime? ModifiedDate; bool Active; String VossTierId = ""; int Id = 0; LicenseTypes({this.LicenseItems,this.Prices,this.IsFree,this.PeriodOfNoticeDays,this.NextLicenseOption,this.Name,this.Description,this.ExtraLicenseOption,this.ModifiedDate,this.Active,this.VossTierId,this.Id}); LicenseTypes.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); LicenseItems = JsonConverters.fromJson(json['LicenseItems'],'List',context!); Prices = JsonConverters.fromJson(json['Prices'],'List',context!); IsFree = json['IsFree']; PeriodOfNoticeDays = json['PeriodOfNoticeDays']; NextLicenseOption = JsonConverters.fromJson(json['NextLicenseOption'],'LicenseTypes',context!); Name = json['Name']; Description = json['Description']; ExtraLicenseOption = json['ExtraLicenseOption']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Active = json['Active']; VossTierId = json['VossTierId']; Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'LicenseItems': JsonConverters.toJson(LicenseItems,'List',context!), 'Prices': JsonConverters.toJson(Prices,'List',context!), 'IsFree': IsFree, 'PeriodOfNoticeDays': PeriodOfNoticeDays, 'NextLicenseOption': JsonConverters.toJson(NextLicenseOption,'LicenseTypes',context!), 'Name': Name, 'Description': Description, 'ExtraLicenseOption': ExtraLicenseOption, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Active': Active, 'VossTierId': VossTierId, 'Id': Id }); getTypeName() => "LicenseTypes"; TypeContext? context = _ctx; } class License extends BaseModel implements IConvertible { // @Ignore() VossSubscriptionResponse VossSubscription; // @Ignore() Company Company; LicenseTypes Type; // @Required() String CompanyId = ""; int Id = 0; // @Required() int TypeId = 0; String VossSubscriptionId = ""; // @Required() DateTime ValidFrom = DateTime(0); // @Required() DateTime ValidTo = DateTime(0); // @Required() bool Active; // @Required() DateTime UpdatedDate = DateTime(0); // @Required() DateTime CreatedDate = DateTime(0); DateTime? ModifiedDate; String? MetaData; License({this.VossSubscription,this.Company,this.Type,this.CompanyId,this.Id,this.TypeId,this.VossSubscriptionId,this.ValidFrom,this.ValidTo,this.Active,this.UpdatedDate,this.CreatedDate,this.ModifiedDate,this.MetaData}); License.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); VossSubscription = JsonConverters.fromJson(json['VossSubscription'],'VossSubscriptionResponse',context!); Company = JsonConverters.fromJson(json['Company'],'Company',context!); Type = JsonConverters.fromJson(json['Type'],'LicenseTypes',context!); CompanyId = json['CompanyId']; Id = json['Id']; TypeId = json['TypeId']; VossSubscriptionId = json['VossSubscriptionId']; ValidFrom = JsonConverters.fromJson(json['ValidFrom'],'DateTime',context!); ValidTo = JsonConverters.fromJson(json['ValidTo'],'DateTime',context!); Active = json['Active']; UpdatedDate = JsonConverters.fromJson(json['UpdatedDate'],'DateTime',context!); CreatedDate = JsonConverters.fromJson(json['CreatedDate'],'DateTime',context!); ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); MetaData = json['MetaData']; return this; } Map toJson() => super.toJson()..addAll({ 'VossSubscription': JsonConverters.toJson(VossSubscription,'VossSubscriptionResponse',context!), 'Company': JsonConverters.toJson(Company,'Company',context!), 'Type': JsonConverters.toJson(Type,'LicenseTypes',context!), 'CompanyId': CompanyId, 'Id': Id, 'TypeId': TypeId, 'VossSubscriptionId': VossSubscriptionId, 'ValidFrom': JsonConverters.toJson(ValidFrom,'DateTime',context!), 'ValidTo': JsonConverters.toJson(ValidTo,'DateTime',context!), 'Active': Active, 'UpdatedDate': JsonConverters.toJson(UpdatedDate,'DateTime',context!), 'CreatedDate': JsonConverters.toJson(CreatedDate,'DateTime',context!), 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'MetaData': MetaData }); getTypeName() => "License"; TypeContext? context = _ctx; } enum CountryCodeEnum { AD, AE, AF, AG, AI, AL, AM, AO, AQ, AR, AS, AT, AU, AW, AX, AZ, BA, BB, BD, BE, BF, BG, BH, BI, BJ, BL, BM, BN, BO, BQ, BR, BS, BT, BV, BW, BY, BZ, CA, CC, CD, CF, CG, CH, CI, CK, CL, CM, CN, CO, CR, CU, CV, CW, CX, CY, CZ, DE, DJ, DK, DM, DO, DZ, EC, EE, EG, EH, ER, ES, ET, FI, FJ, FK, FM, FO, FR, GA, GB, GD, GE, GF, GG, GH, GI, GL, GM, GN, GP, GQ, GR, GS, GT, GU, GW, GY, HK, HM, HN, HR, HT, HU, ID, IE, IL, IM, IN, IO, IQ, IR, IS, IT, JE, JM, JO, JP, KE, KG, KH, KI, KM, KN, KP, KR, KW, KY, KZ, LA, LB, LC, LI, LK, LR, LS, LT, LU, LV, LY, MA, MC, MD, ME, MF, MG, MH, MK, ML, MM, MN, MO, MP, MQ, MR, MS, MT, MU, MV, MW, MX, MY, MZ, NA, NC, NE, NF, NG, NI, NL, NO, NP, NR, NU, NZ, OM, PA, PE, PF, PG, PH, PK, PL, PM, PN, PR, PS, PT, PW, PY, QA, RE, RO, RS, RU, RW, SA, SB, SC, SD, SE, SG, SH, SI, SJ, SK, SL, SM, SN, SO, SR, SS, ST, SV, SX, SY, SZ, TC, TD, TF, TG, TH, TJ, TK, TL, TM, TN, TO, TR, TT, TV, TW, TZ, UA, UG, UM, US, UY, UZ, VA, VC, VE, VG, VI, VN, VU, WF, WS, YE, YT, ZA, ZM, ZW, } // @DataContract(Name="CustomerContactPersonDto") class CustomerContactPersonDto implements IConvertible { // @DataMember(Name="email", IsRequired=true) String email = ""; // @DataMember(Name="firstName", IsRequired=true) String firstName = ""; // @DataMember(Name="lastName", IsRequired=true) String lastName = ""; // @DataMember(Name="phoneNumber") String phoneNumber = ""; CustomerContactPersonDto({this.email,this.firstName,this.lastName,this.phoneNumber}); CustomerContactPersonDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { email = json['Email']; firstName = json['FirstName']; lastName = json['LastName']; phoneNumber = json['PhoneNumber']; return this; } Map toJson() => { 'email': email, 'firstName': firstName, 'lastName': lastName, 'phoneNumber': phoneNumber }; getTypeName() => "CustomerContactPersonDto"; TypeContext? context = _ctx; } // @DataContract(Name="CustomerTargetGroupDto") class CustomerTargetGroupDto implements IConvertible { // @DataMember(Name="id", IsRequired=true) String id = ""; // @DataMember(Name="name", IsRequired=true) String name = ""; // @DataMember(Name="isDefault") bool isDefault; // @DataMember(Name="externalId") String externalId = ""; CustomerTargetGroupDto({this.id,this.name,this.isDefault,this.externalId}); CustomerTargetGroupDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['Id']; name = json['Name']; isDefault = json['IsDefault']; externalId = json['ExternalId']; return this; } Map toJson() => { 'id': id, 'name': name, 'isDefault': isDefault, 'externalId': externalId }; getTypeName() => "CustomerTargetGroupDto"; TypeContext? context = _ctx; } // @DataContract(Name="CustomerResult") class CustomerResult implements IConvertible { // @DataMember(Name="countryCode") CountryCodeEnum? countryCode; // @DataMember(Name="id", IsRequired=true) String id = ""; // @DataMember(Name="name", IsRequired=true) String name = ""; // @DataMember(Name="customerNumber") int? customerNumber; // @DataMember(Name="organizationNumber") String organizationNumber = ""; // @DataMember(Name="email") String email = ""; // @DataMember(Name="careOf") String careOf = ""; // @DataMember(Name="address") String address = ""; // @DataMember(Name="postalCode") String postalCode = ""; // @DataMember(Name="city") String city = ""; // @DataMember(Name="electronicInvoiceOperatorCode") String electronicInvoiceOperatorCode = ""; // @DataMember(Name="electronicInvoiceAddress") String electronicInvoiceAddress = ""; // @DataMember(Name="customerGroup") int? customerGroup; // @DataMember(Name="contactPerson") CustomerContactPersonDto contactPerson; // @DataMember(Name="targetGroups", EmitDefaultValue=false) List targetGroups = []; // @DataMember(Name="expiryDate") DateTime? expiryDate; // @DataMember(Name="created", IsRequired=true) DateTime created = DateTime(0); // @DataMember(Name="externalId") String externalId = ""; CustomerResult({this.countryCode,this.id,this.name,this.customerNumber,this.organizationNumber,this.email,this.careOf,this.address,this.postalCode,this.city,this.electronicInvoiceOperatorCode,this.electronicInvoiceAddress,this.customerGroup,this.contactPerson,this.targetGroups,this.expiryDate,this.created,this.externalId}); CustomerResult.fromJson(Map json) { fromMap(json); } fromMap(Map json) { countryCode = JsonConverters.fromJson(json['CountryCode'],'CountryCodeEnum',context!); id = json['Id']; name = json['Name']; customerNumber = json['CustomerNumber']; organizationNumber = json['OrganizationNumber']; email = json['Email']; careOf = json['CareOf']; address = json['Address']; postalCode = json['PostalCode']; city = json['City']; electronicInvoiceOperatorCode = json['ElectronicInvoiceOperatorCode']; electronicInvoiceAddress = json['ElectronicInvoiceAddress']; customerGroup = json['CustomerGroup']; contactPerson = JsonConverters.fromJson(json['ContactPerson'],'CustomerContactPersonDto',context!); targetGroups = JsonConverters.fromJson(json['TargetGroups'],'List',context!); expiryDate = JsonConverters.fromJson(json['ExpiryDate'],'DateTime',context!); created = JsonConverters.fromJson(json['Created'],'DateTime',context!); externalId = json['ExternalId']; return this; } Map toJson() => { 'countryCode': JsonConverters.toJson(countryCode,'CountryCodeEnum',context!), 'id': id, 'name': name, 'customerNumber': customerNumber, 'organizationNumber': organizationNumber, 'email': email, 'careOf': careOf, 'address': address, 'postalCode': postalCode, 'city': city, 'electronicInvoiceOperatorCode': electronicInvoiceOperatorCode, 'electronicInvoiceAddress': electronicInvoiceAddress, 'customerGroup': customerGroup, 'contactPerson': JsonConverters.toJson(contactPerson,'CustomerContactPersonDto',context!), 'targetGroups': JsonConverters.toJson(targetGroups,'List',context!), 'expiryDate': JsonConverters.toJson(expiryDate,'DateTime',context!), 'created': JsonConverters.toJson(created,'DateTime',context!), 'externalId': externalId }; getTypeName() => "CustomerResult"; TypeContext? context = _ctx; } class BillingMethodCountriesRelation extends BaseModel implements IConvertible { // @Required() int BillingMethodId = 0; // @Required() String CountryId = ""; DateTime? ModifiedDate; BillingMethodCountriesRelation({this.BillingMethodId,this.CountryId,this.ModifiedDate}); BillingMethodCountriesRelation.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); BillingMethodId = json['BillingMethodId']; CountryId = json['CountryId']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); return this; } Map toJson() => super.toJson()..addAll({ 'BillingMethodId': BillingMethodId, 'CountryId': CountryId, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!) }); getTypeName() => "BillingMethodCountriesRelation"; TypeContext? context = _ctx; } class BillingMethod extends BaseModel implements IConvertible { List BillingMethodCountriesRelation = []; // @Required() String Name = ""; // @Required() String Description = ""; DateTime? ModifiedDate; int Id = 0; BillingMethod({this.BillingMethodCountriesRelation,this.Name,this.Description,this.ModifiedDate,this.Id}); BillingMethod.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); BillingMethodCountriesRelation = JsonConverters.fromJson(json['BillingMethodCountriesRelation'],'List',context!); Name = json['Name']; Description = json['Description']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'BillingMethodCountriesRelation': JsonConverters.toJson(BillingMethodCountriesRelation,'List',context!), 'Name': Name, 'Description': Description, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "BillingMethod"; TypeContext? context = _ctx; } class BillingInformation extends BaseModel implements IBaseModelCreated, IBaseModelUpdated, IConvertible { BillingMethod BillingMethod; // @Required() int BillingMethodId = 0; // @Required() String Name = ""; String? FirstName; String? LastName; String? PhoneNumber; String? Attention; String? Street1; String? Street2; String? ZipCode; String? City; String? Email; String? CreditCard; String? CreditCardHolder; String? CreditCardNumber; int? ValidToYear; int? ValidToMonth; String? CSV; // @Required() DateTime UpdatedDate = DateTime(0); // @Required() DateTime CreatedDate = DateTime(0); // @Required() String CountryId = ""; // @Required() int PaymentTermsDays = 0; String? VatRegistrationNumber; int LicensePlanId = 0; String? GLN; String? ReferenceLine1; String? ReferenceLine2; DateTime? ModifiedDate; // @Required() String Id = ""; BillingInformation({this.BillingMethod,this.BillingMethodId,this.Name,this.FirstName,this.LastName,this.PhoneNumber,this.Attention,this.Street1,this.Street2,this.ZipCode,this.City,this.Email,this.CreditCard,this.CreditCardHolder,this.CreditCardNumber,this.ValidToYear,this.ValidToMonth,this.CSV,this.UpdatedDate,this.CreatedDate,this.CountryId,this.PaymentTermsDays,this.VatRegistrationNumber,this.LicensePlanId,this.GLN,this.ReferenceLine1,this.ReferenceLine2,this.ModifiedDate,this.Id}); BillingInformation.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); BillingMethod = JsonConverters.fromJson(json['BillingMethod'],'BillingMethod',context!); BillingMethodId = json['BillingMethodId']; Name = json['Name']; FirstName = json['FirstName']; LastName = json['LastName']; PhoneNumber = json['PhoneNumber']; Attention = json['Attention']; Street1 = json['Street1']; Street2 = json['Street2']; ZipCode = json['ZipCode']; City = json['City']; Email = json['Email']; CreditCard = json['CreditCard']; CreditCardHolder = json['CreditCardHolder']; CreditCardNumber = json['CreditCardNumber']; ValidToYear = json['ValidToYear']; ValidToMonth = json['ValidToMonth']; CSV = json['CSV']; UpdatedDate = JsonConverters.fromJson(json['UpdatedDate'],'DateTime',context!); CreatedDate = JsonConverters.fromJson(json['CreatedDate'],'DateTime',context!); CountryId = json['CountryId']; PaymentTermsDays = json['PaymentTermsDays']; VatRegistrationNumber = json['VatRegistrationNumber']; LicensePlanId = json['LicensePlanId']; GLN = json['GLN']; ReferenceLine1 = json['ReferenceLine1']; ReferenceLine2 = json['ReferenceLine2']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'BillingMethod': JsonConverters.toJson(BillingMethod,'BillingMethod',context!), 'BillingMethodId': BillingMethodId, 'Name': Name, 'FirstName': FirstName, 'LastName': LastName, 'PhoneNumber': PhoneNumber, 'Attention': Attention, 'Street1': Street1, 'Street2': Street2, 'ZipCode': ZipCode, 'City': City, 'Email': Email, 'CreditCard': CreditCard, 'CreditCardHolder': CreditCardHolder, 'CreditCardNumber': CreditCardNumber, 'ValidToYear': ValidToYear, 'ValidToMonth': ValidToMonth, 'CSV': CSV, 'UpdatedDate': JsonConverters.toJson(UpdatedDate,'DateTime',context!), 'CreatedDate': JsonConverters.toJson(CreatedDate,'DateTime',context!), 'CountryId': CountryId, 'PaymentTermsDays': PaymentTermsDays, 'VatRegistrationNumber': VatRegistrationNumber, 'LicensePlanId': LicensePlanId, 'GLN': GLN, 'ReferenceLine1': ReferenceLine1, 'ReferenceLine2': ReferenceLine2, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "BillingInformation"; TypeContext? context = _ctx; } enum ScheduleType { NotDefined, RecurringSchedule, DateSchedule, } abstract class ISchedule { String CompanyId = ""; List? Resources; ScheduleType Type; bool Active; bool IsResourceSpecific; } abstract class ITimeException extends IInterval { int Id = 0; String ReasonText = ""; bool IsBlock; String ReasonTextPublic = ""; bool IsRecurring; List ResourceIds = []; } enum BookingStatusEnum { Booked, Unbooked, Reserved, Canceled, AwaitingPayment, AwaitingPaymentNoTimeLimit, Payed, AwaitingPaymentRequestFromAdmin, AwaitingPaymentFromProvider, Invoiced, } class BookedCustomer implements IConvertible { String Id = ""; String Firstname = ""; String Lastname = ""; String Email = ""; String Phone = ""; String FacebookUserName = ""; String ImageUrl = ""; String PersonalIdentityNumber = ""; String CorporateIdentityNumber = ""; String InvoiceAddress1 = ""; String InvoiceAddress2 = ""; String InvoiceCity = ""; String InvoicePostalCode = ""; String InvoiceCountryCode = ""; BookedCustomer({this.Id,this.Firstname,this.Lastname,this.Email,this.Phone,this.FacebookUserName,this.ImageUrl,this.PersonalIdentityNumber,this.CorporateIdentityNumber,this.InvoiceAddress1,this.InvoiceAddress2,this.InvoiceCity,this.InvoicePostalCode,this.InvoiceCountryCode}); BookedCustomer.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Firstname = json['Firstname']; Lastname = json['Lastname']; Email = json['Email']; Phone = json['Phone']; FacebookUserName = json['FacebookUserName']; ImageUrl = json['ImageUrl']; PersonalIdentityNumber = json['PersonalIdentityNumber']; CorporateIdentityNumber = json['CorporateIdentityNumber']; InvoiceAddress1 = json['InvoiceAddress1']; InvoiceAddress2 = json['InvoiceAddress2']; InvoiceCity = json['InvoiceCity']; InvoicePostalCode = json['InvoicePostalCode']; InvoiceCountryCode = json['InvoiceCountryCode']; return this; } Map toJson() => { 'Id': Id, 'Firstname': Firstname, 'Lastname': Lastname, 'Email': Email, 'Phone': Phone, 'FacebookUserName': FacebookUserName, 'ImageUrl': ImageUrl, 'PersonalIdentityNumber': PersonalIdentityNumber, 'CorporateIdentityNumber': CorporateIdentityNumber, 'InvoiceAddress1': InvoiceAddress1, 'InvoiceAddress2': InvoiceAddress2, 'InvoiceCity': InvoiceCity, 'InvoicePostalCode': InvoicePostalCode, 'InvoiceCountryCode': InvoiceCountryCode }; getTypeName() => "BookedCustomer"; TypeContext? context = _ctx; } abstract class IBookedTime extends IInterval { int Id = 0; int ServiceId = 0; int BookedSpots = 0; int TotalSpots = 0; int PauseAfterInMinutes = 0; BookingStatusEnum Status; int StatusId = 0; BookedCustomer Customer; } class CustomFieldDataResponse implements IConvertible { int Id = 0; String Column = ""; String Name = ""; String Description = ""; String Value = ""; /** * Data field of custom field. Valid values are: TextBox, ... Example: 'TextBox' */ // @ApiMember(Description="Data field of custom field. Valid values are: TextBox, ... Example: 'TextBox'") String DataType = ""; CustomFieldDataResponse({this.Id,this.Column,this.Name,this.Description,this.Value,this.DataType}); CustomFieldDataResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Column = json['Column']; Name = json['Name']; Description = json['Description']; Value = json['Value']; DataType = json['DataType']; return this; } Map toJson() => { 'Id': Id, 'Column': Column, 'Name': Name, 'Description': Description, 'Value': Value, 'DataType': DataType }; getTypeName() => "CustomFieldDataResponse"; TypeContext? context = _ctx; } class Resource extends BaseModel implements ICustomFieldTable, IBaseModelCreated, IBaseModelUpdated, IConvertible { // @Ignore() int Priority = 0; // @Ignore() List? Schedules; // @Ignore() List? Exceptions; // @Ignore() List? Bookings; // @Ignore() List? CustomFieldsConfig; // @Ignore() List? CustomFieldsData; // @Required() String CompanyId = ""; int Id = 0; // @Required() String Name = ""; // @Required() bool Active; String? Description; String? ImageUrl; // @Required() DateTime UpdatedDate = DateTime(0); // @Required() DateTime CreatedDate = DateTime(0); // @Required() String Color = ""; String? Email; String? MobilePhone; bool? EmailNotification; bool? SMSNotification; // @Required() bool SendSMSReminder; // @Required() bool SendEmailReminder; DateTime? ModifiedDate; String? AccessGroup; String? TextField1; String? TextField2; String? TextField3; String? TextField4; String? TextField5; String? TextField6; String? TextField7; String? TextField8; String? TextField9; String? TextField10; String? TextField11; String? TextField12; String? TextField13; String? TextField14; String? TextField15; String? TextField16; String? TextField17; String? TextField18; String? TextField19; String? TextField20; Resource({this.Priority,this.Schedules,this.Exceptions,this.Bookings,this.CustomFieldsConfig,this.CustomFieldsData,this.CompanyId,this.Id,this.Name,this.Active,this.Description,this.ImageUrl,this.UpdatedDate,this.CreatedDate,this.Color,this.Email,this.MobilePhone,this.EmailNotification,this.SMSNotification,this.SendSMSReminder,this.SendEmailReminder,this.ModifiedDate,this.AccessGroup,this.TextField1,this.TextField2,this.TextField3,this.TextField4,this.TextField5,this.TextField6,this.TextField7,this.TextField8,this.TextField9,this.TextField10,this.TextField11,this.TextField12,this.TextField13,this.TextField14,this.TextField15,this.TextField16,this.TextField17,this.TextField18,this.TextField19,this.TextField20}); Resource.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Priority = json['Priority']; Schedules = JsonConverters.fromJson(json['Schedules'],'List',context!); Exceptions = JsonConverters.fromJson(json['Exceptions'],'List',context!); Bookings = JsonConverters.fromJson(json['Bookings'],'List',context!); CustomFieldsConfig = JsonConverters.fromJson(json['CustomFieldsConfig'],'List',context!); CustomFieldsData = JsonConverters.fromJson(json['CustomFieldsData'],'List',context!); CompanyId = json['CompanyId']; Id = json['Id']; Name = json['Name']; Active = json['Active']; Description = json['Description']; ImageUrl = json['ImageUrl']; UpdatedDate = JsonConverters.fromJson(json['UpdatedDate'],'DateTime',context!); CreatedDate = JsonConverters.fromJson(json['CreatedDate'],'DateTime',context!); Color = json['Color']; Email = json['Email']; MobilePhone = json['MobilePhone']; EmailNotification = json['EmailNotification']; SMSNotification = json['SMSNotification']; SendSMSReminder = json['SendSMSReminder']; SendEmailReminder = json['SendEmailReminder']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); AccessGroup = json['AccessGroup']; TextField1 = json['TextField1']; TextField2 = json['TextField2']; TextField3 = json['TextField3']; TextField4 = json['TextField4']; TextField5 = json['TextField5']; TextField6 = json['TextField6']; TextField7 = json['TextField7']; TextField8 = json['TextField8']; TextField9 = json['TextField9']; TextField10 = json['TextField10']; TextField11 = json['TextField11']; TextField12 = json['TextField12']; TextField13 = json['TextField13']; TextField14 = json['TextField14']; TextField15 = json['TextField15']; TextField16 = json['TextField16']; TextField17 = json['TextField17']; TextField18 = json['TextField18']; TextField19 = json['TextField19']; TextField20 = json['TextField20']; return this; } Map toJson() => super.toJson()..addAll({ 'Priority': Priority, 'Schedules': JsonConverters.toJson(Schedules,'List',context!), 'Exceptions': JsonConverters.toJson(Exceptions,'List',context!), 'Bookings': JsonConverters.toJson(Bookings,'List',context!), 'CustomFieldsConfig': JsonConverters.toJson(CustomFieldsConfig,'List',context!), 'CustomFieldsData': JsonConverters.toJson(CustomFieldsData,'List',context!), 'CompanyId': CompanyId, 'Id': Id, 'Name': Name, 'Active': Active, 'Description': Description, 'ImageUrl': ImageUrl, 'UpdatedDate': JsonConverters.toJson(UpdatedDate,'DateTime',context!), 'CreatedDate': JsonConverters.toJson(CreatedDate,'DateTime',context!), 'Color': Color, 'Email': Email, 'MobilePhone': MobilePhone, 'EmailNotification': EmailNotification, 'SMSNotification': SMSNotification, 'SendSMSReminder': SendSMSReminder, 'SendEmailReminder': SendEmailReminder, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'AccessGroup': AccessGroup, 'TextField1': TextField1, 'TextField2': TextField2, 'TextField3': TextField3, 'TextField4': TextField4, 'TextField5': TextField5, 'TextField6': TextField6, 'TextField7': TextField7, 'TextField8': TextField8, 'TextField9': TextField9, 'TextField10': TextField10, 'TextField11': TextField11, 'TextField12': TextField12, 'TextField13': TextField13, 'TextField14': TextField14, 'TextField15': TextField15, 'TextField16': TextField16, 'TextField17': TextField17, 'TextField18': TextField18, 'TextField19': TextField19, 'TextField20': TextField20 }); getTypeName() => "Resource"; TypeContext? context = _ctx; } class KeyCloakRole implements IConvertible { String Id = ""; String Name = ""; KeyCloakRole({this.Id,this.Name}); KeyCloakRole.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Name = json['Name']; return this; } Map toJson() => { 'Id': Id, 'Name': Name }; getTypeName() => "KeyCloakRole"; TypeContext? context = _ctx; } class CompanyUser extends BaseModel implements IUser, IBaseModelCreated, IBaseModelUpdated, IConvertible { Resource Resource; // @Ignore() List Roles = []; // @Ignore() Company Company; String Email = ""; // @Ignore() String FullName = ""; int? ResourceId; String? WorkerId; // @Required() bool Active; // @Required() bool IsSuperAdmin; // @Required() DateTime CreatedDate = DateTime(0); // @Required() DateTime UpdatedDate = DateTime(0); DateTime? ModifiedDate; // @Required() String CompanyId = ""; // @Required() String Id = ""; String UserId = ""; String? Firstname; String? Lastname; // @Required() bool SendPushNotification; // @Required() bool SendPushNotificationReminder; String? Phone; CompanyUser({this.Resource,this.Roles,this.Company,this.Email,this.FullName,this.ResourceId,this.WorkerId,this.Active,this.IsSuperAdmin,this.CreatedDate,this.UpdatedDate,this.ModifiedDate,this.CompanyId,this.Id,this.UserId,this.Firstname,this.Lastname,this.SendPushNotification,this.SendPushNotificationReminder,this.Phone}); CompanyUser.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Resource = JsonConverters.fromJson(json['Resource'],'Resource',context!); Roles = JsonConverters.fromJson(json['Roles'],'List',context!); Company = JsonConverters.fromJson(json['Company'],'Company',context!); Email = json['Email']; FullName = json['FullName']; ResourceId = json['ResourceId']; WorkerId = json['WorkerId']; Active = json['Active']; IsSuperAdmin = json['IsSuperAdmin']; CreatedDate = JsonConverters.fromJson(json['CreatedDate'],'DateTime',context!); UpdatedDate = JsonConverters.fromJson(json['UpdatedDate'],'DateTime',context!); ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); CompanyId = json['CompanyId']; Id = json['Id']; UserId = json['UserId']; Firstname = json['Firstname']; Lastname = json['Lastname']; SendPushNotification = json['SendPushNotification']; SendPushNotificationReminder = json['SendPushNotificationReminder']; Phone = json['Phone']; return this; } Map toJson() => super.toJson()..addAll({ 'Resource': JsonConverters.toJson(Resource,'Resource',context!), 'Roles': JsonConverters.toJson(Roles,'List',context!), 'Company': JsonConverters.toJson(Company,'Company',context!), 'Email': Email, 'FullName': FullName, 'ResourceId': ResourceId, 'WorkerId': WorkerId, 'Active': Active, 'IsSuperAdmin': IsSuperAdmin, 'CreatedDate': JsonConverters.toJson(CreatedDate,'DateTime',context!), 'UpdatedDate': JsonConverters.toJson(UpdatedDate,'DateTime',context!), 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'CompanyId': CompanyId, 'Id': Id, 'UserId': UserId, 'Firstname': Firstname, 'Lastname': Lastname, 'SendPushNotification': SendPushNotification, 'SendPushNotificationReminder': SendPushNotificationReminder, 'Phone': Phone }); getTypeName() => "CompanyUser"; TypeContext? context = _ctx; } class CompanyOwner extends BaseModel implements IConvertible { Company Company; int Id = 0; // @Required() String Name = ""; String? Description; String? LogoTypeUrl; // @Required() String BillingCompanyId = ""; DateTime? ModifiedDate; CompanyOwner({this.Company,this.Id,this.Name,this.Description,this.LogoTypeUrl,this.BillingCompanyId,this.ModifiedDate}); CompanyOwner.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Company = JsonConverters.fromJson(json['Company'],'Company',context!); Id = json['Id']; Name = json['Name']; Description = json['Description']; LogoTypeUrl = json['LogoTypeUrl']; BillingCompanyId = json['BillingCompanyId']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); return this; } Map toJson() => super.toJson()..addAll({ 'Company': JsonConverters.toJson(Company,'Company',context!), 'Id': Id, 'Name': Name, 'Description': Description, 'LogoTypeUrl': LogoTypeUrl, 'BillingCompanyId': BillingCompanyId, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!) }); getTypeName() => "CompanyOwner"; TypeContext? context = _ctx; } class CompanyCategory extends BaseModel implements IConvertible { // @Required() String Name = ""; // @Required() String NormalizedName = ""; // @Required() bool Active; DateTime? ModifiedDate; int Id = 0; CompanyCategory({this.Name,this.NormalizedName,this.Active,this.ModifiedDate,this.Id}); CompanyCategory.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Name = json['Name']; NormalizedName = json['NormalizedName']; Active = json['Active']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Name': Name, 'NormalizedName': NormalizedName, 'Active': Active, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "CompanyCategory"; TypeContext? context = _ctx; } class ExternalReference extends BaseModel implements IBaseModelCreated, IBaseModelUpdated, IConvertible { // @Required() String CompanyId = ""; // @Required() String Id = ""; // @Required() String OwnerId = ""; // @Required() String ReferenceType = ""; // @Required() int ReferenceTypeId = 0; String? ExternalData; String? InternalData; String? CreatedBy; // @Required() DateTime UpdatedDate = DateTime(0); // @Required() DateTime CreatedDate = DateTime(0); DateTime? ModifiedDate; ExternalReference({this.CompanyId,this.Id,this.OwnerId,this.ReferenceType,this.ReferenceTypeId,this.ExternalData,this.InternalData,this.CreatedBy,this.UpdatedDate,this.CreatedDate,this.ModifiedDate}); ExternalReference.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CompanyId = json['CompanyId']; Id = json['Id']; OwnerId = json['OwnerId']; ReferenceType = json['ReferenceType']; ReferenceTypeId = json['ReferenceTypeId']; ExternalData = json['ExternalData']; InternalData = json['InternalData']; CreatedBy = json['CreatedBy']; UpdatedDate = JsonConverters.fromJson(json['UpdatedDate'],'DateTime',context!); CreatedDate = JsonConverters.fromJson(json['CreatedDate'],'DateTime',context!); ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); return this; } Map toJson() => super.toJson()..addAll({ 'CompanyId': CompanyId, 'Id': Id, 'OwnerId': OwnerId, 'ReferenceType': ReferenceType, 'ReferenceTypeId': ReferenceTypeId, 'ExternalData': ExternalData, 'InternalData': InternalData, 'CreatedBy': CreatedBy, 'UpdatedDate': JsonConverters.toJson(UpdatedDate,'DateTime',context!), 'CreatedDate': JsonConverters.toJson(CreatedDate,'DateTime',context!), 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!) }); getTypeName() => "ExternalReference"; TypeContext? context = _ctx; } class Company extends BaseModel implements IConvertible { // @Ignore() CompanyStatus Status; // @Ignore() bool Active; // @Ignore() List? CustomerCustomFieldsConfig; // @Ignore() String BookingAgreements = ""; // @Ignore() BookingSettings BookingSettings; // @Ignore() CompanyType CompanyType; // @Ignore() CodeLockSetting CodeLockSettings; // @Ignore() PaymentSettings PaymentSettings; // @Ignore() CompanySetting Settings; // @Ignore() HomepageWidgetSetting WidgetSettings; // @Ignore() HomepageSetting HomepageSettings; // @Ignore() AverageRatingScore RatingScore; // @Ignore() List Ratings = []; // @Ignore() double? Distance; // @Ignore() List Licenses = []; // @Ignore() CustomApiResult? VossCustomers; // @Ignore() BillingInformation BillingInformation; // @Ignore() List CompanyUsers = []; // @Ignore() CompanyOwner CompanyOwner; // @Ignore() List ActiveLicenses = []; // @Ignore() License CurrentLicense; // @Ignore() bool IsFreeAccount; // @Ignore() CultureInfo DefaultLanguage; CompanyCategory Category; // @Ignore() double Lat = 0; // @Ignore() double Lon = 0; // @Ignore() bool IsFavorite; // @Ignore() List? ExternalReferences; // @Required() String OrganisationNumber = ""; // @Required() int StatusId = 0; // @Required() int CategoryId = 0; // @Required() String SitePath = ""; // @Required() String Name = ""; String? Street1; String? Street2; String? ZipCode; String? City; String? OpeningHours; String? FaxNumber; // @Required() String Email = ""; String? Phone; String? Details; String? LogoType; // @Required() bool ApprovedByAdmin; // @Required() DateTime Updated = DateTime(0); // @Required() DateTime Created = DateTime(0); String? IpAddress; String? Homepage; String? DomainName; // @Required() String CountryId = ""; int? TypeId; DateTime? ModifiedDate; // @Required() String Id = ""; int CompanyOwnerId = 0; DateTime? DeletionNotificationDate; Company({this.Status,this.Active,this.CustomerCustomFieldsConfig,this.BookingAgreements,this.BookingSettings,this.CompanyType,this.CodeLockSettings,this.PaymentSettings,this.Settings,this.WidgetSettings,this.HomepageSettings,this.RatingScore,this.Ratings,this.Distance,this.Licenses,this.VossCustomers,this.BillingInformation,this.CompanyUsers,this.CompanyOwner,this.ActiveLicenses,this.CurrentLicense,this.IsFreeAccount,this.DefaultLanguage,this.Category,this.Lat,this.Lon,this.IsFavorite,this.ExternalReferences,this.OrganisationNumber,this.StatusId,this.CategoryId,this.SitePath,this.Name,this.Street1,this.Street2,this.ZipCode,this.City,this.OpeningHours,this.FaxNumber,this.Email,this.Phone,this.Details,this.LogoType,this.ApprovedByAdmin,this.Updated,this.Created,this.IpAddress,this.Homepage,this.DomainName,this.CountryId,this.TypeId,this.ModifiedDate,this.Id,this.CompanyOwnerId,this.DeletionNotificationDate}); Company.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Status = JsonConverters.fromJson(json['Status'],'CompanyStatus',context!); Active = json['Active']; CustomerCustomFieldsConfig = JsonConverters.fromJson(json['CustomerCustomFieldsConfig'],'List',context!); BookingAgreements = json['BookingAgreements']; BookingSettings = JsonConverters.fromJson(json['BookingSettings'],'BookingSettings',context!); CompanyType = JsonConverters.fromJson(json['CompanyType'],'CompanyType',context!); CodeLockSettings = JsonConverters.fromJson(json['CodeLockSettings'],'CodeLockSetting',context!); PaymentSettings = JsonConverters.fromJson(json['PaymentSettings'],'PaymentSettings',context!); Settings = JsonConverters.fromJson(json['Settings'],'CompanySetting',context!); WidgetSettings = JsonConverters.fromJson(json['WidgetSettings'],'HomepageWidgetSetting',context!); HomepageSettings = JsonConverters.fromJson(json['HomepageSettings'],'HomepageSetting',context!); RatingScore = JsonConverters.fromJson(json['RatingScore'],'AverageRatingScore',context!); Ratings = JsonConverters.fromJson(json['Ratings'],'List',context!); Distance = JsonConverters.toDouble(json['Distance']); Licenses = JsonConverters.fromJson(json['Licenses'],'List',context!); VossCustomers = JsonConverters.fromJson(json['VossCustomers'],'CustomApiResult',context!); BillingInformation = JsonConverters.fromJson(json['BillingInformation'],'BillingInformation',context!); CompanyUsers = JsonConverters.fromJson(json['CompanyUsers'],'List',context!); CompanyOwner = JsonConverters.fromJson(json['CompanyOwner'],'CompanyOwner',context!); ActiveLicenses = JsonConverters.fromJson(json['ActiveLicenses'],'List',context!); CurrentLicense = JsonConverters.fromJson(json['CurrentLicense'],'License',context!); IsFreeAccount = json['IsFreeAccount']; DefaultLanguage = JsonConverters.fromJson(json['DefaultLanguage'],'CultureInfo',context!); Category = JsonConverters.fromJson(json['Category'],'CompanyCategory',context!); Lat = JsonConverters.toDouble(json['Lat']); Lon = JsonConverters.toDouble(json['Lon']); IsFavorite = json['IsFavorite']; ExternalReferences = JsonConverters.fromJson(json['ExternalReferences'],'List',context!); OrganisationNumber = json['OrganisationNumber']; StatusId = json['StatusId']; CategoryId = json['CategoryId']; SitePath = json['SitePath']; Name = json['Name']; Street1 = json['Street1']; Street2 = json['Street2']; ZipCode = json['ZipCode']; City = json['City']; OpeningHours = json['OpeningHours']; FaxNumber = json['FaxNumber']; Email = json['Email']; Phone = json['Phone']; Details = json['Details']; LogoType = json['LogoType']; ApprovedByAdmin = json['ApprovedByAdmin']; Updated = JsonConverters.fromJson(json['Updated'],'DateTime',context!); Created = JsonConverters.fromJson(json['Created'],'DateTime',context!); IpAddress = json['IpAddress']; Homepage = json['Homepage']; DomainName = json['DomainName']; CountryId = json['CountryId']; TypeId = json['TypeId']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; CompanyOwnerId = json['CompanyOwnerId']; DeletionNotificationDate = JsonConverters.fromJson(json['DeletionNotificationDate'],'DateTime',context!); return this; } Map toJson() => super.toJson()..addAll({ 'Status': JsonConverters.toJson(Status,'CompanyStatus',context!), 'Active': Active, 'CustomerCustomFieldsConfig': JsonConverters.toJson(CustomerCustomFieldsConfig,'List',context!), 'BookingAgreements': BookingAgreements, 'BookingSettings': JsonConverters.toJson(BookingSettings,'BookingSettings',context!), 'CompanyType': JsonConverters.toJson(CompanyType,'CompanyType',context!), 'CodeLockSettings': JsonConverters.toJson(CodeLockSettings,'CodeLockSetting',context!), 'PaymentSettings': JsonConverters.toJson(PaymentSettings,'PaymentSettings',context!), 'Settings': JsonConverters.toJson(Settings,'CompanySetting',context!), 'WidgetSettings': JsonConverters.toJson(WidgetSettings,'HomepageWidgetSetting',context!), 'HomepageSettings': JsonConverters.toJson(HomepageSettings,'HomepageSetting',context!), 'RatingScore': JsonConverters.toJson(RatingScore,'AverageRatingScore',context!), 'Ratings': JsonConverters.toJson(Ratings,'List',context!), 'Distance': Distance, 'Licenses': JsonConverters.toJson(Licenses,'List',context!), 'VossCustomers': JsonConverters.toJson(VossCustomers,'CustomApiResult',context!), 'BillingInformation': JsonConverters.toJson(BillingInformation,'BillingInformation',context!), 'CompanyUsers': JsonConverters.toJson(CompanyUsers,'List',context!), 'CompanyOwner': JsonConverters.toJson(CompanyOwner,'CompanyOwner',context!), 'ActiveLicenses': JsonConverters.toJson(ActiveLicenses,'List',context!), 'CurrentLicense': JsonConverters.toJson(CurrentLicense,'License',context!), 'IsFreeAccount': IsFreeAccount, 'DefaultLanguage': JsonConverters.toJson(DefaultLanguage,'CultureInfo',context!), 'Category': JsonConverters.toJson(Category,'CompanyCategory',context!), 'Lat': Lat, 'Lon': Lon, 'IsFavorite': IsFavorite, 'ExternalReferences': JsonConverters.toJson(ExternalReferences,'List',context!), 'OrganisationNumber': OrganisationNumber, 'StatusId': StatusId, 'CategoryId': CategoryId, 'SitePath': SitePath, 'Name': Name, 'Street1': Street1, 'Street2': Street2, 'ZipCode': ZipCode, 'City': City, 'OpeningHours': OpeningHours, 'FaxNumber': FaxNumber, 'Email': Email, 'Phone': Phone, 'Details': Details, 'LogoType': LogoType, 'ApprovedByAdmin': ApprovedByAdmin, 'Updated': JsonConverters.toJson(Updated,'DateTime',context!), 'Created': JsonConverters.toJson(Created,'DateTime',context!), 'IpAddress': IpAddress, 'Homepage': Homepage, 'DomainName': DomainName, 'CountryId': CountryId, 'TypeId': TypeId, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id, 'CompanyOwnerId': CompanyOwnerId, 'DeletionNotificationDate': JsonConverters.toJson(DeletionNotificationDate,'DateTime',context!) }); getTypeName() => "Company"; TypeContext? context = _ctx; } class ArticleServiceRelation extends BaseModel implements IConvertible { // @Required() String CompanyId = ""; int Id = 0; // @Required() int ServiceId = 0; // @Required() int ArticleId = 0; ArticleServiceRelation({this.CompanyId,this.Id,this.ServiceId,this.ArticleId}); ArticleServiceRelation.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CompanyId = json['CompanyId']; Id = json['Id']; ServiceId = json['ServiceId']; ArticleId = json['ArticleId']; return this; } Map toJson() => super.toJson()..addAll({ 'CompanyId': CompanyId, 'Id': Id, 'ServiceId': ServiceId, 'ArticleId': ArticleId }); getTypeName() => "ArticleServiceRelation"; TypeContext? context = _ctx; } enum ArticleTypeEnum { ServiceArticle, StandAloneArticle, RebateCodePunchTicketArticle, RebateCodeGiftCardArticle, RebateCodeValueCardArticle, RebateCodeServiceArticleWithDuration, } class Article extends BaseModel implements IBaseModelCreated, IBaseModelUpdated, IConvertible { Company Company; Currency CurrencyInfo; List ArticleServiceRelations = []; // @Ignore() List ServiceIds = []; // @Ignore() List Services = []; // @Ignore() ArticleTypeEnum ArticleType; // @Required() String CompanyId = ""; int Id = 0; // @Required() String Name = ""; // @Required() int ArticleTypeId = 0; String? Description; String? ImageUrl; // @Required() bool Active; // @Required() int Amount = 0; // @Required() double Price = 0; double? VAT; int SortOrder = 0; // @Required() // @StringLength(50) String CurrencyId = ""; // @Required() DateTime UpdatedDate = DateTime(0); // @Required() DateTime CreatedDate = DateTime(0); DateTime? ModifiedDate; Article({this.Company,this.CurrencyInfo,this.ArticleServiceRelations,this.ServiceIds,this.Services,this.ArticleType,this.CompanyId,this.Id,this.Name,this.ArticleTypeId,this.Description,this.ImageUrl,this.Active,this.Amount,this.Price,this.VAT,this.SortOrder,this.CurrencyId,this.UpdatedDate,this.CreatedDate,this.ModifiedDate}); Article.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Company = JsonConverters.fromJson(json['Company'],'Company',context!); CurrencyInfo = JsonConverters.fromJson(json['CurrencyInfo'],'Currency',context!); ArticleServiceRelations = JsonConverters.fromJson(json['ArticleServiceRelations'],'List',context!); ServiceIds = JsonConverters.fromJson(json['ServiceIds'],'List',context!); Services = JsonConverters.fromJson(json['Services'],'List',context!); ArticleType = JsonConverters.fromJson(json['ArticleType'],'ArticleTypeEnum',context!); CompanyId = json['CompanyId']; Id = json['Id']; Name = json['Name']; ArticleTypeId = json['ArticleTypeId']; Description = json['Description']; ImageUrl = json['ImageUrl']; Active = json['Active']; Amount = json['Amount']; Price = JsonConverters.toDouble(json['Price']); VAT = JsonConverters.toDouble(json['VAT']); SortOrder = json['SortOrder']; CurrencyId = json['CurrencyId']; UpdatedDate = JsonConverters.fromJson(json['UpdatedDate'],'DateTime',context!); CreatedDate = JsonConverters.fromJson(json['CreatedDate'],'DateTime',context!); ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); return this; } Map toJson() => super.toJson()..addAll({ 'Company': JsonConverters.toJson(Company,'Company',context!), 'CurrencyInfo': JsonConverters.toJson(CurrencyInfo,'Currency',context!), 'ArticleServiceRelations': JsonConverters.toJson(ArticleServiceRelations,'List',context!), 'ServiceIds': JsonConverters.toJson(ServiceIds,'List',context!), 'Services': JsonConverters.toJson(Services,'List',context!), 'ArticleType': JsonConverters.toJson(ArticleType,'ArticleTypeEnum',context!), 'CompanyId': CompanyId, 'Id': Id, 'Name': Name, 'ArticleTypeId': ArticleTypeId, 'Description': Description, 'ImageUrl': ImageUrl, 'Active': Active, 'Amount': Amount, 'Price': Price, 'VAT': VAT, 'SortOrder': SortOrder, 'CurrencyId': CurrencyId, 'UpdatedDate': JsonConverters.toJson(UpdatedDate,'DateTime',context!), 'CreatedDate': JsonConverters.toJson(CreatedDate,'DateTime',context!), 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!) }); getTypeName() => "Article"; TypeContext? context = _ctx; } class BookingLogEventType extends BaseModel implements IConvertible { // @Required() String Name = ""; // @Required() String Description = ""; DateTime? ModifiedDate; // @Required() int Id = 0; BookingLogEventType({this.Name,this.Description,this.ModifiedDate,this.Id}); BookingLogEventType.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Name = json['Name']; Description = json['Description']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Name': Name, 'Description': Description, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "BookingLogEventType"; TypeContext? context = _ctx; } class BookingLog extends BaseModel implements IConvertible { // @References(typeof(BookingLogEventType)) int EventTypeId = 0; BookingLogEventType EventType; // @Required() String CompanyId = ""; // @Required() int BookingId = 0; int Id = 0; String? Comments; String? UserId; // @Required() DateTime Created = DateTime(0); DateTime? ModifiedDate; BookingLog({this.EventTypeId,this.EventType,this.CompanyId,this.BookingId,this.Id,this.Comments,this.UserId,this.Created,this.ModifiedDate}); BookingLog.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); EventTypeId = json['EventTypeId']; EventType = JsonConverters.fromJson(json['EventType'],'BookingLogEventType',context!); CompanyId = json['CompanyId']; BookingId = json['BookingId']; Id = json['Id']; Comments = json['Comments']; UserId = json['UserId']; Created = JsonConverters.fromJson(json['Created'],'DateTime',context!); ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); return this; } Map toJson() => super.toJson()..addAll({ 'EventTypeId': EventTypeId, 'EventType': JsonConverters.toJson(EventType,'BookingLogEventType',context!), 'CompanyId': CompanyId, 'BookingId': BookingId, 'Id': Id, 'Comments': Comments, 'UserId': UserId, 'Created': JsonConverters.toJson(Created,'DateTime',context!), 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!) }); getTypeName() => "BookingLog"; TypeContext? context = _ctx; } class BookingStatus extends BaseModel implements IConvertible { // @Required() String Name = ""; // @Required() String Description = ""; // @Required() String Color = ""; // @Required() String Icon = ""; DateTime? ModifiedDate; int Id = 0; BookingStatus({this.Name,this.Description,this.Color,this.Icon,this.ModifiedDate,this.Id}); BookingStatus.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Name = json['Name']; Description = json['Description']; Color = json['Color']; Icon = json['Icon']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Name': Name, 'Description': Description, 'Color': Color, 'Icon': Icon, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "BookingStatus"; TypeContext? context = _ctx; } class BookingStatusQueryResponse implements IConvertible { int Id = 0; String Name = ""; String Description = ""; String Icon = ""; String Color = ""; BookingStatusQueryResponse({this.Id,this.Name,this.Description,this.Icon,this.Color}); BookingStatusQueryResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Name = json['Name']; Description = json['Description']; Icon = json['Icon']; Color = json['Color']; return this; } Map toJson() => { 'Id': Id, 'Name': Name, 'Description': Description, 'Icon': Icon, 'Color': Color }; getTypeName() => "BookingStatusQueryResponse"; TypeContext? context = _ctx; } abstract class IDbConnectionFactory { } class ArticlePaymentSettings implements IConvertible { String WeeksBeforeArticleIsCancelled = ""; String ToleranceWhenComparingPaymentAmounts = ""; ArticlePaymentSettings({this.WeeksBeforeArticleIsCancelled,this.ToleranceWhenComparingPaymentAmounts}); ArticlePaymentSettings.fromJson(Map json) { fromMap(json); } fromMap(Map json) { WeeksBeforeArticleIsCancelled = json['WeeksBeforeArticleIsCancelled']; ToleranceWhenComparingPaymentAmounts = json['ToleranceWhenComparingPaymentAmounts']; return this; } Map toJson() => { 'WeeksBeforeArticleIsCancelled': WeeksBeforeArticleIsCancelled, 'ToleranceWhenComparingPaymentAmounts': ToleranceWhenComparingPaymentAmounts }; getTypeName() => "ArticlePaymentSettings"; TypeContext? context = _ctx; } class Credentials implements IConvertible { String Hash = ""; String Logid = ""; Credentials({this.Hash,this.Logid}); Credentials.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Hash = json['Hash']; Logid = json['Logid']; return this; } Map toJson() => { 'Hash': Hash, 'Logid': Logid }; getTypeName() => "Credentials"; TypeContext? context = _ctx; } class CheckoutData implements IConvertible { Uri terms; Uri privacyPolicy; String redirectOnSuccess = ""; CheckoutData({this.terms,this.privacyPolicy,this.redirectOnSuccess}); CheckoutData.fromJson(Map json) { fromMap(json); } fromMap(Map json) { terms = JsonConverters.fromJson(json['terms'],'Uri',context!); privacyPolicy = JsonConverters.fromJson(json['privacyPolicy'],'Uri',context!); redirectOnSuccess = json['redirectOnSuccess']; return this; } Map toJson() => { 'terms': JsonConverters.toJson(terms,'Uri',context!), 'privacyPolicy': JsonConverters.toJson(privacyPolicy,'Uri',context!), 'redirectOnSuccess': redirectOnSuccess }; getTypeName() => "CheckoutData"; TypeContext? context = _ctx; } class CheckoutInvoice implements IConvertible { String? number; String? status; CheckoutInvoice({this.number,this.status}); CheckoutInvoice.fromJson(Map json) { fromMap(json); } fromMap(Map json) { number = json['number']; status = json['status']; return this; } Map toJson() => { 'number': number, 'status': status }; getTypeName() => "CheckoutInvoice"; TypeContext? context = _ctx; } class CheckoutPaymentData implements IConvertible { String currency = ""; String language = ""; String country = ""; String autoactivate = ""; String orderid = ""; String returnmethod = ""; String accepturl = ""; String cancelurl = ""; Uri callbackurl; CheckoutInvoice? invoice; CheckoutPaymentData({this.currency,this.language,this.country,this.autoactivate,this.orderid,this.returnmethod,this.accepturl,this.cancelurl,this.callbackurl,this.invoice}); CheckoutPaymentData.fromJson(Map json) { fromMap(json); } fromMap(Map json) { currency = json['currency']; language = json['language']; country = json['country']; autoactivate = json['autoactivate']; orderid = json['orderid']; returnmethod = json['returnmethod']; accepturl = json['accepturl']; cancelurl = json['cancelurl']; callbackurl = JsonConverters.fromJson(json['callbackurl'],'Uri',context!); invoice = JsonConverters.fromJson(json['invoice'],'CheckoutInvoice',context!); return this; } Map toJson() => { 'currency': currency, 'language': language, 'country': country, 'autoactivate': autoactivate, 'orderid': orderid, 'returnmethod': returnmethod, 'accepturl': accepturl, 'cancelurl': cancelurl, 'callbackurl': JsonConverters.toJson(callbackurl,'Uri',context!), 'invoice': JsonConverters.toJson(invoice,'CheckoutInvoice',context!) }; getTypeName() => "CheckoutPaymentData"; TypeContext? context = _ctx; } class PaymentInfo implements IConvertible { String paymentdate = ""; String paymentterms = ""; String yourreference = ""; String ourreference = ""; String projectname = ""; String deliverymethod = ""; String deliveryterms = ""; PaymentInfo({this.paymentdate,this.paymentterms,this.yourreference,this.ourreference,this.projectname,this.deliverymethod,this.deliveryterms}); PaymentInfo.fromJson(Map json) { fromMap(json); } fromMap(Map json) { paymentdate = json['paymentdate']; paymentterms = json['paymentterms']; yourreference = json['yourreference']; ourreference = json['ourreference']; projectname = json['projectname']; deliverymethod = json['deliverymethod']; deliveryterms = json['deliveryterms']; return this; } Map toJson() => { 'paymentdate': paymentdate, 'paymentterms': paymentterms, 'yourreference': yourreference, 'ourreference': ourreference, 'projectname': projectname, 'deliverymethod': deliverymethod, 'deliveryterms': deliveryterms }; getTypeName() => "PaymentInfo"; TypeContext? context = _ctx; } class QvicklyArticle implements IConvertible { String artnr = ""; String title = ""; int quantity = 0; int aprice = 0; int tax = 0; int discount = 0; int withouttax = 0; int taxrate = 0; QvicklyArticle({this.artnr,this.title,this.quantity,this.aprice,this.tax,this.discount,this.withouttax,this.taxrate}); QvicklyArticle.fromJson(Map json) { fromMap(json); } fromMap(Map json) { artnr = json['artnr']; title = json['title']; quantity = json['quantity']; aprice = json['aprice']; tax = json['tax']; discount = json['discount']; withouttax = json['withouttax']; taxrate = json['taxrate']; return this; } Map toJson() => { 'artnr': artnr, 'title': title, 'quantity': quantity, 'aprice': aprice, 'tax': tax, 'discount': discount, 'withouttax': withouttax, 'taxrate': taxrate }; getTypeName() => "QvicklyArticle"; TypeContext? context = _ctx; } class CartHandling implements IConvertible { String withouttax = ""; String taxrate = ""; CartHandling({this.withouttax,this.taxrate}); CartHandling.fromJson(Map json) { fromMap(json); } fromMap(Map json) { withouttax = json['withouttax']; taxrate = json['taxrate']; return this; } Map toJson() => { 'withouttax': withouttax, 'taxrate': taxrate }; getTypeName() => "CartHandling"; TypeContext? context = _ctx; } class CartTotal implements IConvertible { double rounding = 0; int withouttax = 0; int tax = 0; int withtax = 0; CartTotal({this.rounding,this.withouttax,this.tax,this.withtax}); CartTotal.fromJson(Map json) { fromMap(json); } fromMap(Map json) { rounding = JsonConverters.toDouble(json['rounding']); withouttax = json['withouttax']; tax = json['tax']; withtax = json['withtax']; return this; } Map toJson() => { 'rounding': rounding, 'withouttax': withouttax, 'tax': tax, 'withtax': withtax }; getTypeName() => "CartTotal"; TypeContext? context = _ctx; } abstract class StripeEntity implements IStripeEntity { StripeEntity(); StripeEntity.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "StripeEntity"; TypeContext? context = _ctx; } abstract class StripeEntity1 extends StripeEntity { StripeEntity1(); StripeEntity1.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "StripeEntity<$T>"; TypeContext? context = _ctx; } class Address extends StripeEntity1
implements IConvertible { String? City; String? Country; String? Line1; String? Line2; String? PostalCode; String? State; Address({this.City,this.Country,this.Line1,this.Line2,this.PostalCode,this.State}); Address.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); City = json['City']; Country = json['Country']; Line1 = json['Line1']; Line2 = json['Line2']; PostalCode = json['PostalCode']; State = json['State']; return this; } Map toJson() => super.toJson()..addAll({ 'City': City, 'Country': Country, 'Line1': Line1, 'Line2': Line2, 'PostalCode': PostalCode, 'State': State }); getTypeName() => "Address"; TypeContext? context = _ctx; } class Shipping extends StripeEntity1 implements IConvertible { Address? Address; String? Carrier; String? Name; String? Phone; String? TrackingNumber; Shipping({this.Address,this.Carrier,this.Name,this.Phone,this.TrackingNumber}); Shipping.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Address = JsonConverters.fromJson(json['Address'],'Address',context!); Carrier = json['Carrier']; Name = json['Name']; Phone = json['Phone']; TrackingNumber = json['TrackingNumber']; return this; } Map toJson() => super.toJson()..addAll({ 'Address': JsonConverters.toJson(Address,'Address',context!), 'Carrier': Carrier, 'Name': Name, 'Phone': Phone, 'TrackingNumber': TrackingNumber }); getTypeName() => "Shipping"; TypeContext? context = _ctx; } class Cart implements IConvertible { CartHandling Handling; CartTotal? Total; Shipping Shipping; Cart({this.Handling,this.Total,this.Shipping}); Cart.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Handling = JsonConverters.fromJson(json['Handling'],'CartHandling',context!); Total = JsonConverters.fromJson(json['Total'],'CartTotal',context!); Shipping = JsonConverters.fromJson(json['Shipping'],'Shipping',context!); return this; } Map toJson() => { 'Handling': JsonConverters.toJson(Handling,'CartHandling',context!), 'Total': JsonConverters.toJson(Total,'CartTotal',context!), 'Shipping': JsonConverters.toJson(Shipping,'Shipping',context!) }; getTypeName() => "Cart"; TypeContext? context = _ctx; } class CustomerBilling implements IConvertible { String firstname = ""; String lastname = ""; String company = ""; String street = ""; String street2 = ""; String zip = ""; String city = ""; String country = ""; String phone = ""; String email = ""; CustomerBilling({this.firstname,this.lastname,this.company,this.street,this.street2,this.zip,this.city,this.country,this.phone,this.email}); CustomerBilling.fromJson(Map json) { fromMap(json); } fromMap(Map json) { firstname = json['firstname']; lastname = json['lastname']; company = json['company']; street = json['street']; street2 = json['street2']; zip = json['zip']; city = json['city']; country = json['country']; phone = json['phone']; email = json['email']; return this; } Map toJson() => { 'firstname': firstname, 'lastname': lastname, 'company': company, 'street': street, 'street2': street2, 'zip': zip, 'city': city, 'country': country, 'phone': phone, 'email': email }; getTypeName() => "CustomerBilling"; TypeContext? context = _ctx; } class QvicklyCustomer implements IConvertible { String nr = ""; String pno = ""; CustomerBilling Billing; QvicklyCustomer({this.nr,this.pno,this.Billing}); QvicklyCustomer.fromJson(Map json) { fromMap(json); } fromMap(Map json) { nr = json['nr']; pno = json['pno']; Billing = JsonConverters.fromJson(json['Billing'],'CustomerBilling',context!); return this; } Map toJson() => { 'nr': nr, 'pno': pno, 'Billing': JsonConverters.toJson(Billing,'CustomerBilling',context!) }; getTypeName() => "QvicklyCustomer"; TypeContext? context = _ctx; } class InitCheckoutData implements IConvertible { CheckoutData CheckoutData; CheckoutPaymentData PaymentData; PaymentInfo PaymentInfo; List Articles = []; Cart Cart; QvicklyCustomer QvicklyCustomer; InitCheckoutData({this.CheckoutData,this.PaymentData,this.PaymentInfo,this.Articles,this.Cart,this.QvicklyCustomer}); InitCheckoutData.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CheckoutData = JsonConverters.fromJson(json['CheckoutData'],'CheckoutData',context!); PaymentData = JsonConverters.fromJson(json['PaymentData'],'CheckoutPaymentData',context!); PaymentInfo = JsonConverters.fromJson(json['PaymentInfo'],'PaymentInfo',context!); Articles = JsonConverters.fromJson(json['Articles'],'List',context!); Cart = JsonConverters.fromJson(json['Cart'],'Cart',context!); QvicklyCustomer = JsonConverters.fromJson(json['QvicklyCustomer'],'QvicklyCustomer',context!); return this; } Map toJson() => { 'CheckoutData': JsonConverters.toJson(CheckoutData,'CheckoutData',context!), 'PaymentData': JsonConverters.toJson(PaymentData,'CheckoutPaymentData',context!), 'PaymentInfo': JsonConverters.toJson(PaymentInfo,'PaymentInfo',context!), 'Articles': JsonConverters.toJson(Articles,'List',context!), 'Cart': JsonConverters.toJson(Cart,'Cart',context!), 'QvicklyCustomer': JsonConverters.toJson(QvicklyCustomer,'QvicklyCustomer',context!) }; getTypeName() => "InitCheckoutData"; TypeContext? context = _ctx; } class InitCheckoutRequestBody implements IConvertible { Credentials credentials; InitCheckoutData data; String function = ""; InitCheckoutRequestBody({this.credentials,this.data,this.function}); InitCheckoutRequestBody.fromJson(Map json) { fromMap(json); } fromMap(Map json) { credentials = JsonConverters.fromJson(json['credentials'],'Credentials',context!); data = JsonConverters.fromJson(json['data'],'InitCheckoutData',context!); function = json['function']; return this; } Map toJson() => { 'credentials': JsonConverters.toJson(credentials,'Credentials',context!), 'data': JsonConverters.toJson(data,'InitCheckoutData',context!), 'function': function }; getTypeName() => "InitCheckoutRequestBody"; TypeContext? context = _ctx; } class GetCheckoutData implements IConvertible { CheckoutData CheckoutData; CheckoutPaymentData PaymentData; List Articles = []; GetCheckoutData({this.CheckoutData,this.PaymentData,this.Articles}); GetCheckoutData.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CheckoutData = JsonConverters.fromJson(json['CheckoutData'],'CheckoutData',context!); PaymentData = JsonConverters.fromJson(json['PaymentData'],'CheckoutPaymentData',context!); Articles = JsonConverters.fromJson(json['Articles'],'List',context!); return this; } Map toJson() => { 'CheckoutData': JsonConverters.toJson(CheckoutData,'CheckoutData',context!), 'PaymentData': JsonConverters.toJson(PaymentData,'CheckoutPaymentData',context!), 'Articles': JsonConverters.toJson(Articles,'List',context!) }; getTypeName() => "GetCheckoutData"; TypeContext? context = _ctx; } class GetCheckoutResponse implements IConvertible { Credentials credentials; GetCheckoutData GetCheckoutData; GetCheckoutResponse({this.credentials,this.GetCheckoutData}); GetCheckoutResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { credentials = JsonConverters.fromJson(json['credentials'],'Credentials',context!); GetCheckoutData = JsonConverters.fromJson(json['GetCheckoutData'],'GetCheckoutData',context!); return this; } Map toJson() => { 'credentials': JsonConverters.toJson(credentials,'Credentials',context!), 'GetCheckoutData': JsonConverters.toJson(GetCheckoutData,'GetCheckoutData',context!) }; getTypeName() => "GetCheckoutResponse"; TypeContext? context = _ctx; } class InitCheckoutResponse implements IConvertible { int Number = 0; String Status = ""; String OrderId = ""; String Url = ""; InitCheckoutResponse({this.Number,this.Status,this.OrderId,this.Url}); InitCheckoutResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Number = json['Number']; Status = json['Status']; OrderId = json['OrderId']; Url = json['Url']; return this; } Map toJson() => { 'Number': Number, 'Status': Status, 'OrderId': OrderId, 'Url': Url }; getTypeName() => "InitCheckoutResponse"; TypeContext? context = _ctx; } class QvikclyPaymentData implements IConvertible { String method = ""; String paymentplanid = ""; String currency = ""; String country = ""; String language = ""; String autoactivate = ""; String orderid = ""; String status = ""; String paymentid_related = ""; String url = ""; QvikclyPaymentData({this.method,this.paymentplanid,this.currency,this.country,this.language,this.autoactivate,this.orderid,this.status,this.paymentid_related,this.url}); QvikclyPaymentData.fromJson(Map json) { fromMap(json); } fromMap(Map json) { method = json['method']; paymentplanid = json['paymentplanid']; currency = json['currency']; country = json['country']; language = json['language']; autoactivate = json['autoactivate']; orderid = json['orderid']; status = json['status']; paymentid_related = json['paymentid_related']; url = json['url']; return this; } Map toJson() => { 'method': method, 'paymentplanid': paymentplanid, 'currency': currency, 'country': country, 'language': language, 'autoactivate': autoactivate, 'orderid': orderid, 'status': status, 'paymentid_related': paymentid_related, 'url': url }; getTypeName() => "QvikclyPaymentData"; TypeContext? context = _ctx; } class Card implements IConvertible { String promptname = ""; String recurring = ""; String recurringnr = ""; String accepturl = ""; String cancelurl = ""; String callbackurl = ""; String returnmethod = ""; Card({this.promptname,this.recurring,this.recurringnr,this.accepturl,this.cancelurl,this.callbackurl,this.returnmethod}); Card.fromJson(Map json) { fromMap(json); } fromMap(Map json) { promptname = json['promptname']; recurring = json['recurring']; recurringnr = json['recurringnr']; accepturl = json['accepturl']; cancelurl = json['cancelurl']; callbackurl = json['callbackurl']; returnmethod = json['returnmethod']; return this; } Map toJson() => { 'promptname': promptname, 'recurring': recurring, 'recurringnr': recurringnr, 'accepturl': accepturl, 'cancelurl': cancelurl, 'callbackurl': callbackurl, 'returnmethod': returnmethod }; getTypeName() => "Card"; TypeContext? context = _ctx; } class Settlement implements IConvertible { int number = 0; String date = ""; Settlement({this.number,this.date}); Settlement.fromJson(Map json) { fromMap(json); } fromMap(Map json) { number = json['number']; date = json['date']; return this; } Map toJson() => { 'number': number, 'date': date }; getTypeName() => "Settlement"; TypeContext? context = _ctx; } class QvicklyPaymentResponse implements IConvertible { QvikclyPaymentData PaymentData; PaymentInfo PaymentInfo; Card Card; Settlement Settlement; QvicklyCustomer QvicklyCustomer; List Articles = []; Cart Cart; QvicklyPaymentResponse({this.PaymentData,this.PaymentInfo,this.Card,this.Settlement,this.QvicklyCustomer,this.Articles,this.Cart}); QvicklyPaymentResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { PaymentData = JsonConverters.fromJson(json['PaymentData'],'QvikclyPaymentData',context!); PaymentInfo = JsonConverters.fromJson(json['PaymentInfo'],'PaymentInfo',context!); Card = JsonConverters.fromJson(json['Card'],'Card',context!); Settlement = JsonConverters.fromJson(json['Settlement'],'Settlement',context!); QvicklyCustomer = JsonConverters.fromJson(json['QvicklyCustomer'],'QvicklyCustomer',context!); Articles = JsonConverters.fromJson(json['Articles'],'List',context!); Cart = JsonConverters.fromJson(json['Cart'],'Cart',context!); return this; } Map toJson() => { 'PaymentData': JsonConverters.toJson(PaymentData,'QvikclyPaymentData',context!), 'PaymentInfo': JsonConverters.toJson(PaymentInfo,'PaymentInfo',context!), 'Card': JsonConverters.toJson(Card,'Card',context!), 'Settlement': JsonConverters.toJson(Settlement,'Settlement',context!), 'QvicklyCustomer': JsonConverters.toJson(QvicklyCustomer,'QvicklyCustomer',context!), 'Articles': JsonConverters.toJson(Articles,'List',context!), 'Cart': JsonConverters.toJson(Cart,'Cart',context!) }; getTypeName() => "QvicklyPaymentResponse"; TypeContext? context = _ctx; } class QvicklyCustomCheckoutData implements IConvertible { GetCheckoutResponse? QvicklyCheckoutResponse; InitCheckoutResponse? InitCheckoutResponse; QvicklyPaymentResponse? QvicklyPaymentResponse; QvicklyCustomCheckoutData({this.QvicklyCheckoutResponse,this.InitCheckoutResponse,this.QvicklyPaymentResponse}); QvicklyCustomCheckoutData.fromJson(Map json) { fromMap(json); } fromMap(Map json) { QvicklyCheckoutResponse = JsonConverters.fromJson(json['QvicklyCheckoutResponse'],'GetCheckoutResponse',context!); InitCheckoutResponse = JsonConverters.fromJson(json['InitCheckoutResponse'],'InitCheckoutResponse',context!); QvicklyPaymentResponse = JsonConverters.fromJson(json['QvicklyPaymentResponse'],'QvicklyPaymentResponse',context!); return this; } Map toJson() => { 'QvicklyCheckoutResponse': JsonConverters.toJson(QvicklyCheckoutResponse,'GetCheckoutResponse',context!), 'InitCheckoutResponse': JsonConverters.toJson(InitCheckoutResponse,'InitCheckoutResponse',context!), 'QvicklyPaymentResponse': JsonConverters.toJson(QvicklyPaymentResponse,'QvicklyPaymentResponse',context!) }; getTypeName() => "QvicklyCustomCheckoutData"; TypeContext? context = _ctx; } class BaseOptions implements INestedOptions, IConvertible { Map? ExtraParams; BaseOptions({this.ExtraParams}); BaseOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ExtraParams = JsonConverters.fromJson(json['ExtraParams'],'Map',context!); return this; } Map toJson() => { 'ExtraParams': JsonConverters.toJson(ExtraParams,'Map',context!) }; getTypeName() => "BaseOptions"; TypeContext? context = _ctx; } class SessionAdaptivePricingOptions implements INestedOptions, IConvertible { bool? Enabled; SessionAdaptivePricingOptions({this.Enabled}); SessionAdaptivePricingOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Enabled = json['Enabled']; return this; } Map toJson() => { 'Enabled': Enabled }; getTypeName() => "SessionAdaptivePricingOptions"; TypeContext? context = _ctx; } class SessionAfterExpirationRecoveryOptions implements INestedOptions, IConvertible { bool? AllowPromotionCodes; bool? Enabled; SessionAfterExpirationRecoveryOptions({this.AllowPromotionCodes,this.Enabled}); SessionAfterExpirationRecoveryOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AllowPromotionCodes = json['AllowPromotionCodes']; Enabled = json['Enabled']; return this; } Map toJson() => { 'AllowPromotionCodes': AllowPromotionCodes, 'Enabled': Enabled }; getTypeName() => "SessionAfterExpirationRecoveryOptions"; TypeContext? context = _ctx; } class SessionAfterExpirationOptions implements INestedOptions, IConvertible { SessionAfterExpirationRecoveryOptions? Recovery; SessionAfterExpirationOptions({this.Recovery}); SessionAfterExpirationOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Recovery = JsonConverters.fromJson(json['Recovery'],'SessionAfterExpirationRecoveryOptions',context!); return this; } Map toJson() => { 'Recovery': JsonConverters.toJson(Recovery,'SessionAfterExpirationRecoveryOptions',context!) }; getTypeName() => "SessionAfterExpirationOptions"; TypeContext? context = _ctx; } class SessionAutomaticTaxLiabilityOptions implements INestedOptions, IConvertible { String? Account; String? Type; SessionAutomaticTaxLiabilityOptions({this.Account,this.Type}); SessionAutomaticTaxLiabilityOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Account = json['Account']; Type = json['Type']; return this; } Map toJson() => { 'Account': Account, 'Type': Type }; getTypeName() => "SessionAutomaticTaxLiabilityOptions"; TypeContext? context = _ctx; } class SessionAutomaticTaxOptions implements INestedOptions, IConvertible { bool? Enabled; SessionAutomaticTaxLiabilityOptions? Liability; SessionAutomaticTaxOptions({this.Enabled,this.Liability}); SessionAutomaticTaxOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Enabled = json['Enabled']; Liability = JsonConverters.fromJson(json['Liability'],'SessionAutomaticTaxLiabilityOptions',context!); return this; } Map toJson() => { 'Enabled': Enabled, 'Liability': JsonConverters.toJson(Liability,'SessionAutomaticTaxLiabilityOptions',context!) }; getTypeName() => "SessionAutomaticTaxOptions"; TypeContext? context = _ctx; } class SessionConsentCollectionPaymentMethodReuseAgreementOptions implements INestedOptions, IConvertible { String? Position; SessionConsentCollectionPaymentMethodReuseAgreementOptions({this.Position}); SessionConsentCollectionPaymentMethodReuseAgreementOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Position = json['Position']; return this; } Map toJson() => { 'Position': Position }; getTypeName() => "SessionConsentCollectionPaymentMethodReuseAgreementOptions"; TypeContext? context = _ctx; } class SessionConsentCollectionOptions implements INestedOptions, IConvertible { SessionConsentCollectionPaymentMethodReuseAgreementOptions? PaymentMethodReuseAgreement; String? Promotions; String? TermsOfService; SessionConsentCollectionOptions({this.PaymentMethodReuseAgreement,this.Promotions,this.TermsOfService}); SessionConsentCollectionOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { PaymentMethodReuseAgreement = JsonConverters.fromJson(json['PaymentMethodReuseAgreement'],'SessionConsentCollectionPaymentMethodReuseAgreementOptions',context!); Promotions = json['Promotions']; TermsOfService = json['TermsOfService']; return this; } Map toJson() => { 'PaymentMethodReuseAgreement': JsonConverters.toJson(PaymentMethodReuseAgreement,'SessionConsentCollectionPaymentMethodReuseAgreementOptions',context!), 'Promotions': Promotions, 'TermsOfService': TermsOfService }; getTypeName() => "SessionConsentCollectionOptions"; TypeContext? context = _ctx; } class SessionCustomFieldDropdownOptionOptions implements INestedOptions, IConvertible { String? Label; String? Value; SessionCustomFieldDropdownOptionOptions({this.Label,this.Value}); SessionCustomFieldDropdownOptionOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Label = json['Label']; Value = json['Value']; return this; } Map toJson() => { 'Label': Label, 'Value': Value }; getTypeName() => "SessionCustomFieldDropdownOptionOptions"; TypeContext? context = _ctx; } class SessionCustomFieldDropdownOptions implements INestedOptions, IConvertible { String? DefaultValue; List? Options; SessionCustomFieldDropdownOptions({this.DefaultValue,this.Options}); SessionCustomFieldDropdownOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { DefaultValue = json['DefaultValue']; Options = JsonConverters.fromJson(json['Options'],'List',context!); return this; } Map toJson() => { 'DefaultValue': DefaultValue, 'Options': JsonConverters.toJson(Options,'List',context!) }; getTypeName() => "SessionCustomFieldDropdownOptions"; TypeContext? context = _ctx; } class SessionCustomFieldLabelOptions implements INestedOptions, IConvertible { String? Custom; String? Type; SessionCustomFieldLabelOptions({this.Custom,this.Type}); SessionCustomFieldLabelOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Custom = json['Custom']; Type = json['Type']; return this; } Map toJson() => { 'Custom': Custom, 'Type': Type }; getTypeName() => "SessionCustomFieldLabelOptions"; TypeContext? context = _ctx; } class SessionCustomFieldNumericOptions implements INestedOptions, IConvertible { String? DefaultValue; int? MaximumLength; int? MinimumLength; SessionCustomFieldNumericOptions({this.DefaultValue,this.MaximumLength,this.MinimumLength}); SessionCustomFieldNumericOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { DefaultValue = json['DefaultValue']; MaximumLength = json['MaximumLength']; MinimumLength = json['MinimumLength']; return this; } Map toJson() => { 'DefaultValue': DefaultValue, 'MaximumLength': MaximumLength, 'MinimumLength': MinimumLength }; getTypeName() => "SessionCustomFieldNumericOptions"; TypeContext? context = _ctx; } class SessionCustomFieldTextOptions implements INestedOptions, IConvertible { String? DefaultValue; int? MaximumLength; int? MinimumLength; SessionCustomFieldTextOptions({this.DefaultValue,this.MaximumLength,this.MinimumLength}); SessionCustomFieldTextOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { DefaultValue = json['DefaultValue']; MaximumLength = json['MaximumLength']; MinimumLength = json['MinimumLength']; return this; } Map toJson() => { 'DefaultValue': DefaultValue, 'MaximumLength': MaximumLength, 'MinimumLength': MinimumLength }; getTypeName() => "SessionCustomFieldTextOptions"; TypeContext? context = _ctx; } class SessionCustomFieldOptions implements INestedOptions, IConvertible { SessionCustomFieldDropdownOptions? Dropdown; String? Key; SessionCustomFieldLabelOptions? Label; SessionCustomFieldNumericOptions? Numeric; bool? Optional; SessionCustomFieldTextOptions? Text; String? Type; SessionCustomFieldOptions({this.Dropdown,this.Key,this.Label,this.Numeric,this.Optional,this.Text,this.Type}); SessionCustomFieldOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Dropdown = JsonConverters.fromJson(json['Dropdown'],'SessionCustomFieldDropdownOptions',context!); Key = json['Key']; Label = JsonConverters.fromJson(json['Label'],'SessionCustomFieldLabelOptions',context!); Numeric = JsonConverters.fromJson(json['Numeric'],'SessionCustomFieldNumericOptions',context!); Optional = json['Optional']; Text = JsonConverters.fromJson(json['Text'],'SessionCustomFieldTextOptions',context!); Type = json['Type']; return this; } Map toJson() => { 'Dropdown': JsonConverters.toJson(Dropdown,'SessionCustomFieldDropdownOptions',context!), 'Key': Key, 'Label': JsonConverters.toJson(Label,'SessionCustomFieldLabelOptions',context!), 'Numeric': JsonConverters.toJson(Numeric,'SessionCustomFieldNumericOptions',context!), 'Optional': Optional, 'Text': JsonConverters.toJson(Text,'SessionCustomFieldTextOptions',context!), 'Type': Type }; getTypeName() => "SessionCustomFieldOptions"; TypeContext? context = _ctx; } class SessionCustomTextAfterSubmitOptions implements INestedOptions, IConvertible { String? Message; SessionCustomTextAfterSubmitOptions({this.Message}); SessionCustomTextAfterSubmitOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Message = json['Message']; return this; } Map toJson() => { 'Message': Message }; getTypeName() => "SessionCustomTextAfterSubmitOptions"; TypeContext? context = _ctx; } class SessionCustomTextShippingAddressOptions implements INestedOptions, IConvertible { String? Message; SessionCustomTextShippingAddressOptions({this.Message}); SessionCustomTextShippingAddressOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Message = json['Message']; return this; } Map toJson() => { 'Message': Message }; getTypeName() => "SessionCustomTextShippingAddressOptions"; TypeContext? context = _ctx; } class SessionCustomTextSubmitOptions implements INestedOptions, IConvertible { String? Message; SessionCustomTextSubmitOptions({this.Message}); SessionCustomTextSubmitOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Message = json['Message']; return this; } Map toJson() => { 'Message': Message }; getTypeName() => "SessionCustomTextSubmitOptions"; TypeContext? context = _ctx; } class SessionCustomTextTermsOfServiceAcceptanceOptions implements INestedOptions, IConvertible { String? Message; SessionCustomTextTermsOfServiceAcceptanceOptions({this.Message}); SessionCustomTextTermsOfServiceAcceptanceOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Message = json['Message']; return this; } Map toJson() => { 'Message': Message }; getTypeName() => "SessionCustomTextTermsOfServiceAcceptanceOptions"; TypeContext? context = _ctx; } class SessionCustomTextOptions implements INestedOptions, IConvertible { SessionCustomTextAfterSubmitOptions? AfterSubmit; SessionCustomTextShippingAddressOptions? ShippingAddress; SessionCustomTextSubmitOptions? Submit; SessionCustomTextTermsOfServiceAcceptanceOptions? TermsOfServiceAcceptance; SessionCustomTextOptions({this.AfterSubmit,this.ShippingAddress,this.Submit,this.TermsOfServiceAcceptance}); SessionCustomTextOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AfterSubmit = JsonConverters.fromJson(json['AfterSubmit'],'SessionCustomTextAfterSubmitOptions',context!); ShippingAddress = JsonConverters.fromJson(json['ShippingAddress'],'SessionCustomTextShippingAddressOptions',context!); Submit = JsonConverters.fromJson(json['Submit'],'SessionCustomTextSubmitOptions',context!); TermsOfServiceAcceptance = JsonConverters.fromJson(json['TermsOfServiceAcceptance'],'SessionCustomTextTermsOfServiceAcceptanceOptions',context!); return this; } Map toJson() => { 'AfterSubmit': JsonConverters.toJson(AfterSubmit,'SessionCustomTextAfterSubmitOptions',context!), 'ShippingAddress': JsonConverters.toJson(ShippingAddress,'SessionCustomTextShippingAddressOptions',context!), 'Submit': JsonConverters.toJson(Submit,'SessionCustomTextSubmitOptions',context!), 'TermsOfServiceAcceptance': JsonConverters.toJson(TermsOfServiceAcceptance,'SessionCustomTextTermsOfServiceAcceptanceOptions',context!) }; getTypeName() => "SessionCustomTextOptions"; TypeContext? context = _ctx; } class SessionCustomerUpdateOptions implements INestedOptions, IConvertible { String? Address; String? Name; String? Shipping; SessionCustomerUpdateOptions({this.Address,this.Name,this.Shipping}); SessionCustomerUpdateOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Address = json['Address']; Name = json['Name']; Shipping = json['Shipping']; return this; } Map toJson() => { 'Address': Address, 'Name': Name, 'Shipping': Shipping }; getTypeName() => "SessionCustomerUpdateOptions"; TypeContext? context = _ctx; } class SessionDiscountOptions implements INestedOptions, IConvertible { String? Coupon; String? PromotionCode; SessionDiscountOptions({this.Coupon,this.PromotionCode}); SessionDiscountOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Coupon = json['Coupon']; PromotionCode = json['PromotionCode']; return this; } Map toJson() => { 'Coupon': Coupon, 'PromotionCode': PromotionCode }; getTypeName() => "SessionDiscountOptions"; TypeContext? context = _ctx; } class SessionInvoiceCreationInvoiceDataCustomFieldOptions implements INestedOptions, IConvertible { String? Name; String? Value; SessionInvoiceCreationInvoiceDataCustomFieldOptions({this.Name,this.Value}); SessionInvoiceCreationInvoiceDataCustomFieldOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Name = json['Name']; Value = json['Value']; return this; } Map toJson() => { 'Name': Name, 'Value': Value }; getTypeName() => "SessionInvoiceCreationInvoiceDataCustomFieldOptions"; TypeContext? context = _ctx; } class SessionInvoiceCreationInvoiceDataIssuerOptions implements INestedOptions, IConvertible { String? Account; String? Type; SessionInvoiceCreationInvoiceDataIssuerOptions({this.Account,this.Type}); SessionInvoiceCreationInvoiceDataIssuerOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Account = json['Account']; Type = json['Type']; return this; } Map toJson() => { 'Account': Account, 'Type': Type }; getTypeName() => "SessionInvoiceCreationInvoiceDataIssuerOptions"; TypeContext? context = _ctx; } class SessionInvoiceCreationInvoiceDataRenderingOptionsOptions implements INestedOptions, IConvertible { String? AmountTaxDisplay; SessionInvoiceCreationInvoiceDataRenderingOptionsOptions({this.AmountTaxDisplay}); SessionInvoiceCreationInvoiceDataRenderingOptionsOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AmountTaxDisplay = json['AmountTaxDisplay']; return this; } Map toJson() => { 'AmountTaxDisplay': AmountTaxDisplay }; getTypeName() => "SessionInvoiceCreationInvoiceDataRenderingOptionsOptions"; TypeContext? context = _ctx; } class SessionInvoiceCreationInvoiceDataOptions implements INestedOptions, IHasMetadata, IConvertible { List? AccountTaxIds; List? CustomFields; String? Description; String? Footer; SessionInvoiceCreationInvoiceDataIssuerOptions? Issuer; Map? Metadata; SessionInvoiceCreationInvoiceDataRenderingOptionsOptions? RenderingOptions; SessionInvoiceCreationInvoiceDataOptions({this.AccountTaxIds,this.CustomFields,this.Description,this.Footer,this.Issuer,this.Metadata,this.RenderingOptions}); SessionInvoiceCreationInvoiceDataOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AccountTaxIds = JsonConverters.fromJson(json['AccountTaxIds'],'List',context!); CustomFields = JsonConverters.fromJson(json['CustomFields'],'List',context!); Description = json['Description']; Footer = json['Footer']; Issuer = JsonConverters.fromJson(json['Issuer'],'SessionInvoiceCreationInvoiceDataIssuerOptions',context!); Metadata = JsonConverters.toStringMap(json['Metadata']); RenderingOptions = JsonConverters.fromJson(json['RenderingOptions'],'SessionInvoiceCreationInvoiceDataRenderingOptionsOptions',context!); return this; } Map toJson() => { 'AccountTaxIds': JsonConverters.toJson(AccountTaxIds,'List',context!), 'CustomFields': JsonConverters.toJson(CustomFields,'List',context!), 'Description': Description, 'Footer': Footer, 'Issuer': JsonConverters.toJson(Issuer,'SessionInvoiceCreationInvoiceDataIssuerOptions',context!), 'Metadata': Metadata, 'RenderingOptions': JsonConverters.toJson(RenderingOptions,'SessionInvoiceCreationInvoiceDataRenderingOptionsOptions',context!) }; getTypeName() => "SessionInvoiceCreationInvoiceDataOptions"; TypeContext? context = _ctx; } class SessionInvoiceCreationOptions implements INestedOptions, IConvertible { bool? Enabled; SessionInvoiceCreationInvoiceDataOptions? InvoiceData; SessionInvoiceCreationOptions({this.Enabled,this.InvoiceData}); SessionInvoiceCreationOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Enabled = json['Enabled']; InvoiceData = JsonConverters.fromJson(json['InvoiceData'],'SessionInvoiceCreationInvoiceDataOptions',context!); return this; } Map toJson() => { 'Enabled': Enabled, 'InvoiceData': JsonConverters.toJson(InvoiceData,'SessionInvoiceCreationInvoiceDataOptions',context!) }; getTypeName() => "SessionInvoiceCreationOptions"; TypeContext? context = _ctx; } class SessionLineItemAdjustableQuantityOptions implements INestedOptions, IConvertible { bool? Enabled; int? Maximum; int? Minimum; SessionLineItemAdjustableQuantityOptions({this.Enabled,this.Maximum,this.Minimum}); SessionLineItemAdjustableQuantityOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Enabled = json['Enabled']; Maximum = json['Maximum']; Minimum = json['Minimum']; return this; } Map toJson() => { 'Enabled': Enabled, 'Maximum': Maximum, 'Minimum': Minimum }; getTypeName() => "SessionLineItemAdjustableQuantityOptions"; TypeContext? context = _ctx; } class SessionLineItemPriceDataProductDataOptions implements INestedOptions, IHasMetadata, IConvertible { String? Description; List? Images; Map? Metadata; String? Name; String? TaxCode; SessionLineItemPriceDataProductDataOptions({this.Description,this.Images,this.Metadata,this.Name,this.TaxCode}); SessionLineItemPriceDataProductDataOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Description = json['Description']; Images = JsonConverters.fromJson(json['Images'],'List',context!); Metadata = JsonConverters.toStringMap(json['Metadata']); Name = json['Name']; TaxCode = json['TaxCode']; return this; } Map toJson() => { 'Description': Description, 'Images': JsonConverters.toJson(Images,'List',context!), 'Metadata': Metadata, 'Name': Name, 'TaxCode': TaxCode }; getTypeName() => "SessionLineItemPriceDataProductDataOptions"; TypeContext? context = _ctx; } class SessionLineItemPriceDataRecurringOptions implements INestedOptions, IConvertible { String? Interval; int? IntervalCount; SessionLineItemPriceDataRecurringOptions({this.Interval,this.IntervalCount}); SessionLineItemPriceDataRecurringOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Interval = json['Interval']; IntervalCount = json['IntervalCount']; return this; } Map toJson() => { 'Interval': Interval, 'IntervalCount': IntervalCount }; getTypeName() => "SessionLineItemPriceDataRecurringOptions"; TypeContext? context = _ctx; } class SessionLineItemPriceDataOptions implements INestedOptions, IConvertible { String? Currency; String? Product; SessionLineItemPriceDataProductDataOptions? ProductData; SessionLineItemPriceDataRecurringOptions? Recurring; String? TaxBehavior; int? UnitAmount; double? UnitAmountDecimal; SessionLineItemPriceDataOptions({this.Currency,this.Product,this.ProductData,this.Recurring,this.TaxBehavior,this.UnitAmount,this.UnitAmountDecimal}); SessionLineItemPriceDataOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Currency = json['Currency']; Product = json['Product']; ProductData = JsonConverters.fromJson(json['ProductData'],'SessionLineItemPriceDataProductDataOptions',context!); Recurring = JsonConverters.fromJson(json['Recurring'],'SessionLineItemPriceDataRecurringOptions',context!); TaxBehavior = json['TaxBehavior']; UnitAmount = json['UnitAmount']; UnitAmountDecimal = JsonConverters.toDouble(json['UnitAmountDecimal']); return this; } Map toJson() => { 'Currency': Currency, 'Product': Product, 'ProductData': JsonConverters.toJson(ProductData,'SessionLineItemPriceDataProductDataOptions',context!), 'Recurring': JsonConverters.toJson(Recurring,'SessionLineItemPriceDataRecurringOptions',context!), 'TaxBehavior': TaxBehavior, 'UnitAmount': UnitAmount, 'UnitAmountDecimal': UnitAmountDecimal }; getTypeName() => "SessionLineItemPriceDataOptions"; TypeContext? context = _ctx; } class SessionLineItemOptions implements INestedOptions, IConvertible { SessionLineItemAdjustableQuantityOptions? AdjustableQuantity; List? DynamicTaxRates; String? Price; SessionLineItemPriceDataOptions? PriceData; int? Quantity; List? TaxRates; SessionLineItemOptions({this.AdjustableQuantity,this.DynamicTaxRates,this.Price,this.PriceData,this.Quantity,this.TaxRates}); SessionLineItemOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AdjustableQuantity = JsonConverters.fromJson(json['AdjustableQuantity'],'SessionLineItemAdjustableQuantityOptions',context!); DynamicTaxRates = JsonConverters.fromJson(json['DynamicTaxRates'],'List',context!); Price = json['Price']; PriceData = JsonConverters.fromJson(json['PriceData'],'SessionLineItemPriceDataOptions',context!); Quantity = json['Quantity']; TaxRates = JsonConverters.fromJson(json['TaxRates'],'List',context!); return this; } Map toJson() => { 'AdjustableQuantity': JsonConverters.toJson(AdjustableQuantity,'SessionLineItemAdjustableQuantityOptions',context!), 'DynamicTaxRates': JsonConverters.toJson(DynamicTaxRates,'List',context!), 'Price': Price, 'PriceData': JsonConverters.toJson(PriceData,'SessionLineItemPriceDataOptions',context!), 'Quantity': Quantity, 'TaxRates': JsonConverters.toJson(TaxRates,'List',context!) }; getTypeName() => "SessionLineItemOptions"; TypeContext? context = _ctx; } class SessionOptionalItemAdjustableQuantityOptions implements INestedOptions, IConvertible { bool? Enabled; int? Maximum; int? Minimum; SessionOptionalItemAdjustableQuantityOptions({this.Enabled,this.Maximum,this.Minimum}); SessionOptionalItemAdjustableQuantityOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Enabled = json['Enabled']; Maximum = json['Maximum']; Minimum = json['Minimum']; return this; } Map toJson() => { 'Enabled': Enabled, 'Maximum': Maximum, 'Minimum': Minimum }; getTypeName() => "SessionOptionalItemAdjustableQuantityOptions"; TypeContext? context = _ctx; } class SessionOptionalItemOptions implements INestedOptions, IConvertible { SessionOptionalItemAdjustableQuantityOptions? AdjustableQuantity; String? Price; int? Quantity; SessionOptionalItemOptions({this.AdjustableQuantity,this.Price,this.Quantity}); SessionOptionalItemOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AdjustableQuantity = JsonConverters.fromJson(json['AdjustableQuantity'],'SessionOptionalItemAdjustableQuantityOptions',context!); Price = json['Price']; Quantity = json['Quantity']; return this; } Map toJson() => { 'AdjustableQuantity': JsonConverters.toJson(AdjustableQuantity,'SessionOptionalItemAdjustableQuantityOptions',context!), 'Price': Price, 'Quantity': Quantity }; getTypeName() => "SessionOptionalItemOptions"; TypeContext? context = _ctx; } class AddressOptions implements INestedOptions, IConvertible { String? City; String? Country; String? Line1; String? Line2; String? PostalCode; String? State; AddressOptions({this.City,this.Country,this.Line1,this.Line2,this.PostalCode,this.State}); AddressOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { City = json['City']; Country = json['Country']; Line1 = json['Line1']; Line2 = json['Line2']; PostalCode = json['PostalCode']; State = json['State']; return this; } Map toJson() => { 'City': City, 'Country': Country, 'Line1': Line1, 'Line2': Line2, 'PostalCode': PostalCode, 'State': State }; getTypeName() => "AddressOptions"; TypeContext? context = _ctx; } class ChargeShippingOptions implements INestedOptions, IConvertible { AddressOptions? Address; String? Carrier; String? Name; String? Phone; String? TrackingNumber; ChargeShippingOptions({this.Address,this.Carrier,this.Name,this.Phone,this.TrackingNumber}); ChargeShippingOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Address = JsonConverters.fromJson(json['Address'],'AddressOptions',context!); Carrier = json['Carrier']; Name = json['Name']; Phone = json['Phone']; TrackingNumber = json['TrackingNumber']; return this; } Map toJson() => { 'Address': JsonConverters.toJson(Address,'AddressOptions',context!), 'Carrier': Carrier, 'Name': Name, 'Phone': Phone, 'TrackingNumber': TrackingNumber }; getTypeName() => "ChargeShippingOptions"; TypeContext? context = _ctx; } class SessionPaymentIntentDataTransferDataOptions implements INestedOptions, IConvertible { int? Amount; String? Destination; SessionPaymentIntentDataTransferDataOptions({this.Amount,this.Destination}); SessionPaymentIntentDataTransferDataOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Amount = json['Amount']; Destination = json['Destination']; return this; } Map toJson() => { 'Amount': Amount, 'Destination': Destination }; getTypeName() => "SessionPaymentIntentDataTransferDataOptions"; TypeContext? context = _ctx; } class SessionPaymentIntentDataOptions implements INestedOptions, IHasMetadata, IConvertible { int? ApplicationFeeAmount; String? CaptureMethod; String? Description; Map? Metadata; String? OnBehalfOf; String? ReceiptEmail; String? SetupFutureUsage; ChargeShippingOptions? Shipping; String? StatementDescriptor; String? StatementDescriptorSuffix; SessionPaymentIntentDataTransferDataOptions? TransferData; String? TransferGroup; SessionPaymentIntentDataOptions({this.ApplicationFeeAmount,this.CaptureMethod,this.Description,this.Metadata,this.OnBehalfOf,this.ReceiptEmail,this.SetupFutureUsage,this.Shipping,this.StatementDescriptor,this.StatementDescriptorSuffix,this.TransferData,this.TransferGroup}); SessionPaymentIntentDataOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ApplicationFeeAmount = json['ApplicationFeeAmount']; CaptureMethod = json['CaptureMethod']; Description = json['Description']; Metadata = JsonConverters.toStringMap(json['Metadata']); OnBehalfOf = json['OnBehalfOf']; ReceiptEmail = json['ReceiptEmail']; SetupFutureUsage = json['SetupFutureUsage']; Shipping = JsonConverters.fromJson(json['Shipping'],'ChargeShippingOptions',context!); StatementDescriptor = json['StatementDescriptor']; StatementDescriptorSuffix = json['StatementDescriptorSuffix']; TransferData = JsonConverters.fromJson(json['TransferData'],'SessionPaymentIntentDataTransferDataOptions',context!); TransferGroup = json['TransferGroup']; return this; } Map toJson() => { 'ApplicationFeeAmount': ApplicationFeeAmount, 'CaptureMethod': CaptureMethod, 'Description': Description, 'Metadata': Metadata, 'OnBehalfOf': OnBehalfOf, 'ReceiptEmail': ReceiptEmail, 'SetupFutureUsage': SetupFutureUsage, 'Shipping': JsonConverters.toJson(Shipping,'ChargeShippingOptions',context!), 'StatementDescriptor': StatementDescriptor, 'StatementDescriptorSuffix': StatementDescriptorSuffix, 'TransferData': JsonConverters.toJson(TransferData,'SessionPaymentIntentDataTransferDataOptions',context!), 'TransferGroup': TransferGroup }; getTypeName() => "SessionPaymentIntentDataOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodDataOptions implements INestedOptions, IConvertible { String? AllowRedisplay; SessionPaymentMethodDataOptions({this.AllowRedisplay}); SessionPaymentMethodDataOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AllowRedisplay = json['AllowRedisplay']; return this; } Map toJson() => { 'AllowRedisplay': AllowRedisplay }; getTypeName() => "SessionPaymentMethodDataOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsAcssDebitMandateOptionsOptions implements INestedOptions, IConvertible { String? CustomMandateUrl; List? DefaultFor; String? IntervalDescription; String? PaymentSchedule; String? TransactionType; SessionPaymentMethodOptionsAcssDebitMandateOptionsOptions({this.CustomMandateUrl,this.DefaultFor,this.IntervalDescription,this.PaymentSchedule,this.TransactionType}); SessionPaymentMethodOptionsAcssDebitMandateOptionsOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CustomMandateUrl = json['CustomMandateUrl']; DefaultFor = JsonConverters.fromJson(json['DefaultFor'],'List',context!); IntervalDescription = json['IntervalDescription']; PaymentSchedule = json['PaymentSchedule']; TransactionType = json['TransactionType']; return this; } Map toJson() => { 'CustomMandateUrl': CustomMandateUrl, 'DefaultFor': JsonConverters.toJson(DefaultFor,'List',context!), 'IntervalDescription': IntervalDescription, 'PaymentSchedule': PaymentSchedule, 'TransactionType': TransactionType }; getTypeName() => "SessionPaymentMethodOptionsAcssDebitMandateOptionsOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsAcssDebitOptions implements INestedOptions, IConvertible { String? Currency; SessionPaymentMethodOptionsAcssDebitMandateOptionsOptions? MandateOptions; String? SetupFutureUsage; String? TargetDate; String? VerificationMethod; SessionPaymentMethodOptionsAcssDebitOptions({this.Currency,this.MandateOptions,this.SetupFutureUsage,this.TargetDate,this.VerificationMethod}); SessionPaymentMethodOptionsAcssDebitOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Currency = json['Currency']; MandateOptions = JsonConverters.fromJson(json['MandateOptions'],'SessionPaymentMethodOptionsAcssDebitMandateOptionsOptions',context!); SetupFutureUsage = json['SetupFutureUsage']; TargetDate = json['TargetDate']; VerificationMethod = json['VerificationMethod']; return this; } Map toJson() => { 'Currency': Currency, 'MandateOptions': JsonConverters.toJson(MandateOptions,'SessionPaymentMethodOptionsAcssDebitMandateOptionsOptions',context!), 'SetupFutureUsage': SetupFutureUsage, 'TargetDate': TargetDate, 'VerificationMethod': VerificationMethod }; getTypeName() => "SessionPaymentMethodOptionsAcssDebitOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsAffirmOptions implements INestedOptions, IConvertible { String? SetupFutureUsage; SessionPaymentMethodOptionsAffirmOptions({this.SetupFutureUsage}); SessionPaymentMethodOptionsAffirmOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "SessionPaymentMethodOptionsAffirmOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsAfterpayClearpayOptions implements INestedOptions, IConvertible { String? SetupFutureUsage; SessionPaymentMethodOptionsAfterpayClearpayOptions({this.SetupFutureUsage}); SessionPaymentMethodOptionsAfterpayClearpayOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "SessionPaymentMethodOptionsAfterpayClearpayOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsAlipayOptions implements INestedOptions, IConvertible { String? SetupFutureUsage; SessionPaymentMethodOptionsAlipayOptions({this.SetupFutureUsage}); SessionPaymentMethodOptionsAlipayOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "SessionPaymentMethodOptionsAlipayOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsAmazonPayOptions implements INestedOptions, IConvertible { String? SetupFutureUsage; SessionPaymentMethodOptionsAmazonPayOptions({this.SetupFutureUsage}); SessionPaymentMethodOptionsAmazonPayOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "SessionPaymentMethodOptionsAmazonPayOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsAuBecsDebitOptions implements INestedOptions, IConvertible { String? SetupFutureUsage; String? TargetDate; SessionPaymentMethodOptionsAuBecsDebitOptions({this.SetupFutureUsage,this.TargetDate}); SessionPaymentMethodOptionsAuBecsDebitOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SetupFutureUsage = json['SetupFutureUsage']; TargetDate = json['TargetDate']; return this; } Map toJson() => { 'SetupFutureUsage': SetupFutureUsage, 'TargetDate': TargetDate }; getTypeName() => "SessionPaymentMethodOptionsAuBecsDebitOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsBacsDebitMandateOptionsOptions implements INestedOptions, IConvertible { String? ReferencePrefix; SessionPaymentMethodOptionsBacsDebitMandateOptionsOptions({this.ReferencePrefix}); SessionPaymentMethodOptionsBacsDebitMandateOptionsOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ReferencePrefix = json['ReferencePrefix']; return this; } Map toJson() => { 'ReferencePrefix': ReferencePrefix }; getTypeName() => "SessionPaymentMethodOptionsBacsDebitMandateOptionsOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsBacsDebitOptions implements INestedOptions, IConvertible { SessionPaymentMethodOptionsBacsDebitMandateOptionsOptions? MandateOptions; String? SetupFutureUsage; String? TargetDate; SessionPaymentMethodOptionsBacsDebitOptions({this.MandateOptions,this.SetupFutureUsage,this.TargetDate}); SessionPaymentMethodOptionsBacsDebitOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { MandateOptions = JsonConverters.fromJson(json['MandateOptions'],'SessionPaymentMethodOptionsBacsDebitMandateOptionsOptions',context!); SetupFutureUsage = json['SetupFutureUsage']; TargetDate = json['TargetDate']; return this; } Map toJson() => { 'MandateOptions': JsonConverters.toJson(MandateOptions,'SessionPaymentMethodOptionsBacsDebitMandateOptionsOptions',context!), 'SetupFutureUsage': SetupFutureUsage, 'TargetDate': TargetDate }; getTypeName() => "SessionPaymentMethodOptionsBacsDebitOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsBancontactOptions implements INestedOptions, IConvertible { String? SetupFutureUsage; SessionPaymentMethodOptionsBancontactOptions({this.SetupFutureUsage}); SessionPaymentMethodOptionsBancontactOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "SessionPaymentMethodOptionsBancontactOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsBoletoOptions implements INestedOptions, IConvertible { int? ExpiresAfterDays; String? SetupFutureUsage; SessionPaymentMethodOptionsBoletoOptions({this.ExpiresAfterDays,this.SetupFutureUsage}); SessionPaymentMethodOptionsBoletoOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ExpiresAfterDays = json['ExpiresAfterDays']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'ExpiresAfterDays': ExpiresAfterDays, 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "SessionPaymentMethodOptionsBoletoOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsCardInstallmentsOptions implements INestedOptions, IConvertible { bool? Enabled; SessionPaymentMethodOptionsCardInstallmentsOptions({this.Enabled}); SessionPaymentMethodOptionsCardInstallmentsOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Enabled = json['Enabled']; return this; } Map toJson() => { 'Enabled': Enabled }; getTypeName() => "SessionPaymentMethodOptionsCardInstallmentsOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsCardRestrictionsOptions implements INestedOptions, IConvertible { List? BrandsBlocked; SessionPaymentMethodOptionsCardRestrictionsOptions({this.BrandsBlocked}); SessionPaymentMethodOptionsCardRestrictionsOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { BrandsBlocked = JsonConverters.fromJson(json['BrandsBlocked'],'List',context!); return this; } Map toJson() => { 'BrandsBlocked': JsonConverters.toJson(BrandsBlocked,'List',context!) }; getTypeName() => "SessionPaymentMethodOptionsCardRestrictionsOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsCardOptions implements INestedOptions, IConvertible { SessionPaymentMethodOptionsCardInstallmentsOptions? Installments; String? RequestExtendedAuthorization; String? RequestIncrementalAuthorization; String? RequestMulticapture; String? RequestOvercapture; String? RequestThreeDSecure; SessionPaymentMethodOptionsCardRestrictionsOptions? Restrictions; String? SetupFutureUsage; String? StatementDescriptorSuffixKana; String? StatementDescriptorSuffixKanji; SessionPaymentMethodOptionsCardOptions({this.Installments,this.RequestExtendedAuthorization,this.RequestIncrementalAuthorization,this.RequestMulticapture,this.RequestOvercapture,this.RequestThreeDSecure,this.Restrictions,this.SetupFutureUsage,this.StatementDescriptorSuffixKana,this.StatementDescriptorSuffixKanji}); SessionPaymentMethodOptionsCardOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Installments = JsonConverters.fromJson(json['Installments'],'SessionPaymentMethodOptionsCardInstallmentsOptions',context!); RequestExtendedAuthorization = json['RequestExtendedAuthorization']; RequestIncrementalAuthorization = json['RequestIncrementalAuthorization']; RequestMulticapture = json['RequestMulticapture']; RequestOvercapture = json['RequestOvercapture']; RequestThreeDSecure = json['RequestThreeDSecure']; Restrictions = JsonConverters.fromJson(json['Restrictions'],'SessionPaymentMethodOptionsCardRestrictionsOptions',context!); SetupFutureUsage = json['SetupFutureUsage']; StatementDescriptorSuffixKana = json['StatementDescriptorSuffixKana']; StatementDescriptorSuffixKanji = json['StatementDescriptorSuffixKanji']; return this; } Map toJson() => { 'Installments': JsonConverters.toJson(Installments,'SessionPaymentMethodOptionsCardInstallmentsOptions',context!), 'RequestExtendedAuthorization': RequestExtendedAuthorization, 'RequestIncrementalAuthorization': RequestIncrementalAuthorization, 'RequestMulticapture': RequestMulticapture, 'RequestOvercapture': RequestOvercapture, 'RequestThreeDSecure': RequestThreeDSecure, 'Restrictions': JsonConverters.toJson(Restrictions,'SessionPaymentMethodOptionsCardRestrictionsOptions',context!), 'SetupFutureUsage': SetupFutureUsage, 'StatementDescriptorSuffixKana': StatementDescriptorSuffixKana, 'StatementDescriptorSuffixKanji': StatementDescriptorSuffixKanji }; getTypeName() => "SessionPaymentMethodOptionsCardOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsCashappOptions implements INestedOptions, IConvertible { String? SetupFutureUsage; SessionPaymentMethodOptionsCashappOptions({this.SetupFutureUsage}); SessionPaymentMethodOptionsCashappOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "SessionPaymentMethodOptionsCashappOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferOptions implements INestedOptions, IConvertible { String? Country; SessionPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferOptions({this.Country}); SessionPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Country = json['Country']; return this; } Map toJson() => { 'Country': Country }; getTypeName() => "SessionPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsCustomerBalanceBankTransferOptions implements INestedOptions, IConvertible { SessionPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferOptions? EuBankTransfer; List? RequestedAddressTypes; String? Type; SessionPaymentMethodOptionsCustomerBalanceBankTransferOptions({this.EuBankTransfer,this.RequestedAddressTypes,this.Type}); SessionPaymentMethodOptionsCustomerBalanceBankTransferOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { EuBankTransfer = JsonConverters.fromJson(json['EuBankTransfer'],'SessionPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferOptions',context!); RequestedAddressTypes = JsonConverters.fromJson(json['RequestedAddressTypes'],'List',context!); Type = json['Type']; return this; } Map toJson() => { 'EuBankTransfer': JsonConverters.toJson(EuBankTransfer,'SessionPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferOptions',context!), 'RequestedAddressTypes': JsonConverters.toJson(RequestedAddressTypes,'List',context!), 'Type': Type }; getTypeName() => "SessionPaymentMethodOptionsCustomerBalanceBankTransferOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsCustomerBalanceOptions implements INestedOptions, IConvertible { SessionPaymentMethodOptionsCustomerBalanceBankTransferOptions? BankTransfer; String? FundingType; String? SetupFutureUsage; SessionPaymentMethodOptionsCustomerBalanceOptions({this.BankTransfer,this.FundingType,this.SetupFutureUsage}); SessionPaymentMethodOptionsCustomerBalanceOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { BankTransfer = JsonConverters.fromJson(json['BankTransfer'],'SessionPaymentMethodOptionsCustomerBalanceBankTransferOptions',context!); FundingType = json['FundingType']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'BankTransfer': JsonConverters.toJson(BankTransfer,'SessionPaymentMethodOptionsCustomerBalanceBankTransferOptions',context!), 'FundingType': FundingType, 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "SessionPaymentMethodOptionsCustomerBalanceOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsEpsOptions implements INestedOptions, IConvertible { String? SetupFutureUsage; SessionPaymentMethodOptionsEpsOptions({this.SetupFutureUsage}); SessionPaymentMethodOptionsEpsOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "SessionPaymentMethodOptionsEpsOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsFpxOptions implements INestedOptions, IConvertible { String? SetupFutureUsage; SessionPaymentMethodOptionsFpxOptions({this.SetupFutureUsage}); SessionPaymentMethodOptionsFpxOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "SessionPaymentMethodOptionsFpxOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsGiropayOptions implements INestedOptions, IConvertible { String? SetupFutureUsage; SessionPaymentMethodOptionsGiropayOptions({this.SetupFutureUsage}); SessionPaymentMethodOptionsGiropayOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "SessionPaymentMethodOptionsGiropayOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsGrabpayOptions implements INestedOptions, IConvertible { String? SetupFutureUsage; SessionPaymentMethodOptionsGrabpayOptions({this.SetupFutureUsage}); SessionPaymentMethodOptionsGrabpayOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "SessionPaymentMethodOptionsGrabpayOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsIdealOptions implements INestedOptions, IConvertible { String? SetupFutureUsage; SessionPaymentMethodOptionsIdealOptions({this.SetupFutureUsage}); SessionPaymentMethodOptionsIdealOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "SessionPaymentMethodOptionsIdealOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsKakaoPayOptions implements INestedOptions, IConvertible { String? CaptureMethod; String? SetupFutureUsage; SessionPaymentMethodOptionsKakaoPayOptions({this.CaptureMethod,this.SetupFutureUsage}); SessionPaymentMethodOptionsKakaoPayOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CaptureMethod = json['CaptureMethod']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'CaptureMethod': CaptureMethod, 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "SessionPaymentMethodOptionsKakaoPayOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsKlarnaOptions implements INestedOptions, IConvertible { String? SetupFutureUsage; SessionPaymentMethodOptionsKlarnaOptions({this.SetupFutureUsage}); SessionPaymentMethodOptionsKlarnaOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "SessionPaymentMethodOptionsKlarnaOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsKonbiniOptions implements INestedOptions, IConvertible { int? ExpiresAfterDays; String? SetupFutureUsage; SessionPaymentMethodOptionsKonbiniOptions({this.ExpiresAfterDays,this.SetupFutureUsage}); SessionPaymentMethodOptionsKonbiniOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ExpiresAfterDays = json['ExpiresAfterDays']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'ExpiresAfterDays': ExpiresAfterDays, 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "SessionPaymentMethodOptionsKonbiniOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsKrCardOptions implements INestedOptions, IConvertible { String? CaptureMethod; String? SetupFutureUsage; SessionPaymentMethodOptionsKrCardOptions({this.CaptureMethod,this.SetupFutureUsage}); SessionPaymentMethodOptionsKrCardOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CaptureMethod = json['CaptureMethod']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'CaptureMethod': CaptureMethod, 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "SessionPaymentMethodOptionsKrCardOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsLinkOptions implements INestedOptions, IConvertible { String? SetupFutureUsage; SessionPaymentMethodOptionsLinkOptions({this.SetupFutureUsage}); SessionPaymentMethodOptionsLinkOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "SessionPaymentMethodOptionsLinkOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsMobilepayOptions implements INestedOptions, IConvertible { String? SetupFutureUsage; SessionPaymentMethodOptionsMobilepayOptions({this.SetupFutureUsage}); SessionPaymentMethodOptionsMobilepayOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "SessionPaymentMethodOptionsMobilepayOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsMultibancoOptions implements INestedOptions, IConvertible { String? SetupFutureUsage; SessionPaymentMethodOptionsMultibancoOptions({this.SetupFutureUsage}); SessionPaymentMethodOptionsMultibancoOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "SessionPaymentMethodOptionsMultibancoOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsNaverPayOptions implements INestedOptions, IConvertible { String? CaptureMethod; String? SetupFutureUsage; SessionPaymentMethodOptionsNaverPayOptions({this.CaptureMethod,this.SetupFutureUsage}); SessionPaymentMethodOptionsNaverPayOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CaptureMethod = json['CaptureMethod']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'CaptureMethod': CaptureMethod, 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "SessionPaymentMethodOptionsNaverPayOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsOxxoOptions implements INestedOptions, IConvertible { int? ExpiresAfterDays; String? SetupFutureUsage; SessionPaymentMethodOptionsOxxoOptions({this.ExpiresAfterDays,this.SetupFutureUsage}); SessionPaymentMethodOptionsOxxoOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ExpiresAfterDays = json['ExpiresAfterDays']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'ExpiresAfterDays': ExpiresAfterDays, 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "SessionPaymentMethodOptionsOxxoOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsP24Options implements INestedOptions, IConvertible { String? SetupFutureUsage; bool? TosShownAndAccepted; SessionPaymentMethodOptionsP24Options({this.SetupFutureUsage,this.TosShownAndAccepted}); SessionPaymentMethodOptionsP24Options.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SetupFutureUsage = json['SetupFutureUsage']; TosShownAndAccepted = json['TosShownAndAccepted']; return this; } Map toJson() => { 'SetupFutureUsage': SetupFutureUsage, 'TosShownAndAccepted': TosShownAndAccepted }; getTypeName() => "SessionPaymentMethodOptionsP24Options"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsPayByBankOptions implements INestedOptions, IConvertible { SessionPaymentMethodOptionsPayByBankOptions(); SessionPaymentMethodOptionsPayByBankOptions.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "SessionPaymentMethodOptionsPayByBankOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsPaycoOptions implements INestedOptions, IConvertible { String? CaptureMethod; SessionPaymentMethodOptionsPaycoOptions({this.CaptureMethod}); SessionPaymentMethodOptionsPaycoOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CaptureMethod = json['CaptureMethod']; return this; } Map toJson() => { 'CaptureMethod': CaptureMethod }; getTypeName() => "SessionPaymentMethodOptionsPaycoOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsPaynowOptions implements INestedOptions, IConvertible { String? SetupFutureUsage; SessionPaymentMethodOptionsPaynowOptions({this.SetupFutureUsage}); SessionPaymentMethodOptionsPaynowOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "SessionPaymentMethodOptionsPaynowOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsPaypalOptions implements INestedOptions, IConvertible { String? CaptureMethod; String? PreferredLocale; String? Reference; String? RiskCorrelationId; String? SetupFutureUsage; SessionPaymentMethodOptionsPaypalOptions({this.CaptureMethod,this.PreferredLocale,this.Reference,this.RiskCorrelationId,this.SetupFutureUsage}); SessionPaymentMethodOptionsPaypalOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CaptureMethod = json['CaptureMethod']; PreferredLocale = json['PreferredLocale']; Reference = json['Reference']; RiskCorrelationId = json['RiskCorrelationId']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'CaptureMethod': CaptureMethod, 'PreferredLocale': PreferredLocale, 'Reference': Reference, 'RiskCorrelationId': RiskCorrelationId, 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "SessionPaymentMethodOptionsPaypalOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsPixOptions implements INestedOptions, IConvertible { int? ExpiresAfterSeconds; SessionPaymentMethodOptionsPixOptions({this.ExpiresAfterSeconds}); SessionPaymentMethodOptionsPixOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ExpiresAfterSeconds = json['ExpiresAfterSeconds']; return this; } Map toJson() => { 'ExpiresAfterSeconds': ExpiresAfterSeconds }; getTypeName() => "SessionPaymentMethodOptionsPixOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsRevolutPayOptions implements INestedOptions, IConvertible { String? SetupFutureUsage; SessionPaymentMethodOptionsRevolutPayOptions({this.SetupFutureUsage}); SessionPaymentMethodOptionsRevolutPayOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "SessionPaymentMethodOptionsRevolutPayOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsSamsungPayOptions implements INestedOptions, IConvertible { String? CaptureMethod; SessionPaymentMethodOptionsSamsungPayOptions({this.CaptureMethod}); SessionPaymentMethodOptionsSamsungPayOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CaptureMethod = json['CaptureMethod']; return this; } Map toJson() => { 'CaptureMethod': CaptureMethod }; getTypeName() => "SessionPaymentMethodOptionsSamsungPayOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsSepaDebitMandateOptionsOptions implements INestedOptions, IConvertible { String? ReferencePrefix; SessionPaymentMethodOptionsSepaDebitMandateOptionsOptions({this.ReferencePrefix}); SessionPaymentMethodOptionsSepaDebitMandateOptionsOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ReferencePrefix = json['ReferencePrefix']; return this; } Map toJson() => { 'ReferencePrefix': ReferencePrefix }; getTypeName() => "SessionPaymentMethodOptionsSepaDebitMandateOptionsOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsSepaDebitOptions implements INestedOptions, IConvertible { SessionPaymentMethodOptionsSepaDebitMandateOptionsOptions? MandateOptions; String? SetupFutureUsage; String? TargetDate; SessionPaymentMethodOptionsSepaDebitOptions({this.MandateOptions,this.SetupFutureUsage,this.TargetDate}); SessionPaymentMethodOptionsSepaDebitOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { MandateOptions = JsonConverters.fromJson(json['MandateOptions'],'SessionPaymentMethodOptionsSepaDebitMandateOptionsOptions',context!); SetupFutureUsage = json['SetupFutureUsage']; TargetDate = json['TargetDate']; return this; } Map toJson() => { 'MandateOptions': JsonConverters.toJson(MandateOptions,'SessionPaymentMethodOptionsSepaDebitMandateOptionsOptions',context!), 'SetupFutureUsage': SetupFutureUsage, 'TargetDate': TargetDate }; getTypeName() => "SessionPaymentMethodOptionsSepaDebitOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsSofortOptions implements INestedOptions, IConvertible { String? SetupFutureUsage; SessionPaymentMethodOptionsSofortOptions({this.SetupFutureUsage}); SessionPaymentMethodOptionsSofortOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "SessionPaymentMethodOptionsSofortOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsSwishOptions implements INestedOptions, IConvertible { String? Reference; SessionPaymentMethodOptionsSwishOptions({this.Reference}); SessionPaymentMethodOptionsSwishOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Reference = json['Reference']; return this; } Map toJson() => { 'Reference': Reference }; getTypeName() => "SessionPaymentMethodOptionsSwishOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsUsBankAccountFinancialConnectionsOptions implements INestedOptions, IConvertible { List? Permissions; List? Prefetch; SessionPaymentMethodOptionsUsBankAccountFinancialConnectionsOptions({this.Permissions,this.Prefetch}); SessionPaymentMethodOptionsUsBankAccountFinancialConnectionsOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Permissions = JsonConverters.fromJson(json['Permissions'],'List',context!); Prefetch = JsonConverters.fromJson(json['Prefetch'],'List',context!); return this; } Map toJson() => { 'Permissions': JsonConverters.toJson(Permissions,'List',context!), 'Prefetch': JsonConverters.toJson(Prefetch,'List',context!) }; getTypeName() => "SessionPaymentMethodOptionsUsBankAccountFinancialConnectionsOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsUsBankAccountOptions implements INestedOptions, IConvertible { SessionPaymentMethodOptionsUsBankAccountFinancialConnectionsOptions? FinancialConnections; String? SetupFutureUsage; String? TargetDate; String? VerificationMethod; SessionPaymentMethodOptionsUsBankAccountOptions({this.FinancialConnections,this.SetupFutureUsage,this.TargetDate,this.VerificationMethod}); SessionPaymentMethodOptionsUsBankAccountOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { FinancialConnections = JsonConverters.fromJson(json['FinancialConnections'],'SessionPaymentMethodOptionsUsBankAccountFinancialConnectionsOptions',context!); SetupFutureUsage = json['SetupFutureUsage']; TargetDate = json['TargetDate']; VerificationMethod = json['VerificationMethod']; return this; } Map toJson() => { 'FinancialConnections': JsonConverters.toJson(FinancialConnections,'SessionPaymentMethodOptionsUsBankAccountFinancialConnectionsOptions',context!), 'SetupFutureUsage': SetupFutureUsage, 'TargetDate': TargetDate, 'VerificationMethod': VerificationMethod }; getTypeName() => "SessionPaymentMethodOptionsUsBankAccountOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsWechatPayOptions implements INestedOptions, IConvertible { String? AppId; String? Client; String? SetupFutureUsage; SessionPaymentMethodOptionsWechatPayOptions({this.AppId,this.Client,this.SetupFutureUsage}); SessionPaymentMethodOptionsWechatPayOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AppId = json['AppId']; Client = json['Client']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'AppId': AppId, 'Client': Client, 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "SessionPaymentMethodOptionsWechatPayOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsOptions implements INestedOptions, IConvertible { SessionPaymentMethodOptionsAcssDebitOptions? AcssDebit; SessionPaymentMethodOptionsAffirmOptions? Affirm; SessionPaymentMethodOptionsAfterpayClearpayOptions? AfterpayClearpay; SessionPaymentMethodOptionsAlipayOptions? Alipay; SessionPaymentMethodOptionsAmazonPayOptions? AmazonPay; SessionPaymentMethodOptionsAuBecsDebitOptions? AuBecsDebit; SessionPaymentMethodOptionsBacsDebitOptions? BacsDebit; SessionPaymentMethodOptionsBancontactOptions? Bancontact; SessionPaymentMethodOptionsBoletoOptions? Boleto; SessionPaymentMethodOptionsCardOptions? Card; SessionPaymentMethodOptionsCashappOptions? Cashapp; SessionPaymentMethodOptionsCustomerBalanceOptions? CustomerBalance; SessionPaymentMethodOptionsEpsOptions? Eps; SessionPaymentMethodOptionsFpxOptions? Fpx; SessionPaymentMethodOptionsGiropayOptions? Giropay; SessionPaymentMethodOptionsGrabpayOptions? Grabpay; SessionPaymentMethodOptionsIdealOptions? Ideal; SessionPaymentMethodOptionsKakaoPayOptions? KakaoPay; SessionPaymentMethodOptionsKlarnaOptions? Klarna; SessionPaymentMethodOptionsKonbiniOptions? Konbini; SessionPaymentMethodOptionsKrCardOptions? KrCard; SessionPaymentMethodOptionsLinkOptions? Link; SessionPaymentMethodOptionsMobilepayOptions? Mobilepay; SessionPaymentMethodOptionsMultibancoOptions? Multibanco; SessionPaymentMethodOptionsNaverPayOptions? NaverPay; SessionPaymentMethodOptionsOxxoOptions? Oxxo; SessionPaymentMethodOptionsP24Options? P24; SessionPaymentMethodOptionsPayByBankOptions? PayByBank; SessionPaymentMethodOptionsPaycoOptions? Payco; SessionPaymentMethodOptionsPaynowOptions? Paynow; SessionPaymentMethodOptionsPaypalOptions? Paypal; SessionPaymentMethodOptionsPixOptions? Pix; SessionPaymentMethodOptionsRevolutPayOptions? RevolutPay; SessionPaymentMethodOptionsSamsungPayOptions? SamsungPay; SessionPaymentMethodOptionsSepaDebitOptions? SepaDebit; SessionPaymentMethodOptionsSofortOptions? Sofort; SessionPaymentMethodOptionsSwishOptions? Swish; SessionPaymentMethodOptionsUsBankAccountOptions? UsBankAccount; SessionPaymentMethodOptionsWechatPayOptions? WechatPay; SessionPaymentMethodOptionsOptions({this.AcssDebit,this.Affirm,this.AfterpayClearpay,this.Alipay,this.AmazonPay,this.AuBecsDebit,this.BacsDebit,this.Bancontact,this.Boleto,this.Card,this.Cashapp,this.CustomerBalance,this.Eps,this.Fpx,this.Giropay,this.Grabpay,this.Ideal,this.KakaoPay,this.Klarna,this.Konbini,this.KrCard,this.Link,this.Mobilepay,this.Multibanco,this.NaverPay,this.Oxxo,this.P24,this.PayByBank,this.Payco,this.Paynow,this.Paypal,this.Pix,this.RevolutPay,this.SamsungPay,this.SepaDebit,this.Sofort,this.Swish,this.UsBankAccount,this.WechatPay}); SessionPaymentMethodOptionsOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AcssDebit = JsonConverters.fromJson(json['AcssDebit'],'SessionPaymentMethodOptionsAcssDebitOptions',context!); Affirm = JsonConverters.fromJson(json['Affirm'],'SessionPaymentMethodOptionsAffirmOptions',context!); AfterpayClearpay = JsonConverters.fromJson(json['AfterpayClearpay'],'SessionPaymentMethodOptionsAfterpayClearpayOptions',context!); Alipay = JsonConverters.fromJson(json['Alipay'],'SessionPaymentMethodOptionsAlipayOptions',context!); AmazonPay = JsonConverters.fromJson(json['AmazonPay'],'SessionPaymentMethodOptionsAmazonPayOptions',context!); AuBecsDebit = JsonConverters.fromJson(json['AuBecsDebit'],'SessionPaymentMethodOptionsAuBecsDebitOptions',context!); BacsDebit = JsonConverters.fromJson(json['BacsDebit'],'SessionPaymentMethodOptionsBacsDebitOptions',context!); Bancontact = JsonConverters.fromJson(json['Bancontact'],'SessionPaymentMethodOptionsBancontactOptions',context!); Boleto = JsonConverters.fromJson(json['Boleto'],'SessionPaymentMethodOptionsBoletoOptions',context!); Card = JsonConverters.fromJson(json['Card'],'SessionPaymentMethodOptionsCardOptions',context!); Cashapp = JsonConverters.fromJson(json['Cashapp'],'SessionPaymentMethodOptionsCashappOptions',context!); CustomerBalance = JsonConverters.fromJson(json['CustomerBalance'],'SessionPaymentMethodOptionsCustomerBalanceOptions',context!); Eps = JsonConverters.fromJson(json['Eps'],'SessionPaymentMethodOptionsEpsOptions',context!); Fpx = JsonConverters.fromJson(json['Fpx'],'SessionPaymentMethodOptionsFpxOptions',context!); Giropay = JsonConverters.fromJson(json['Giropay'],'SessionPaymentMethodOptionsGiropayOptions',context!); Grabpay = JsonConverters.fromJson(json['Grabpay'],'SessionPaymentMethodOptionsGrabpayOptions',context!); Ideal = JsonConverters.fromJson(json['Ideal'],'SessionPaymentMethodOptionsIdealOptions',context!); KakaoPay = JsonConverters.fromJson(json['KakaoPay'],'SessionPaymentMethodOptionsKakaoPayOptions',context!); Klarna = JsonConverters.fromJson(json['Klarna'],'SessionPaymentMethodOptionsKlarnaOptions',context!); Konbini = JsonConverters.fromJson(json['Konbini'],'SessionPaymentMethodOptionsKonbiniOptions',context!); KrCard = JsonConverters.fromJson(json['KrCard'],'SessionPaymentMethodOptionsKrCardOptions',context!); Link = JsonConverters.fromJson(json['Link'],'SessionPaymentMethodOptionsLinkOptions',context!); Mobilepay = JsonConverters.fromJson(json['Mobilepay'],'SessionPaymentMethodOptionsMobilepayOptions',context!); Multibanco = JsonConverters.fromJson(json['Multibanco'],'SessionPaymentMethodOptionsMultibancoOptions',context!); NaverPay = JsonConverters.fromJson(json['NaverPay'],'SessionPaymentMethodOptionsNaverPayOptions',context!); Oxxo = JsonConverters.fromJson(json['Oxxo'],'SessionPaymentMethodOptionsOxxoOptions',context!); P24 = JsonConverters.fromJson(json['P24'],'SessionPaymentMethodOptionsP24Options',context!); PayByBank = JsonConverters.fromJson(json['PayByBank'],'SessionPaymentMethodOptionsPayByBankOptions',context!); Payco = JsonConverters.fromJson(json['Payco'],'SessionPaymentMethodOptionsPaycoOptions',context!); Paynow = JsonConverters.fromJson(json['Paynow'],'SessionPaymentMethodOptionsPaynowOptions',context!); Paypal = JsonConverters.fromJson(json['Paypal'],'SessionPaymentMethodOptionsPaypalOptions',context!); Pix = JsonConverters.fromJson(json['Pix'],'SessionPaymentMethodOptionsPixOptions',context!); RevolutPay = JsonConverters.fromJson(json['RevolutPay'],'SessionPaymentMethodOptionsRevolutPayOptions',context!); SamsungPay = JsonConverters.fromJson(json['SamsungPay'],'SessionPaymentMethodOptionsSamsungPayOptions',context!); SepaDebit = JsonConverters.fromJson(json['SepaDebit'],'SessionPaymentMethodOptionsSepaDebitOptions',context!); Sofort = JsonConverters.fromJson(json['Sofort'],'SessionPaymentMethodOptionsSofortOptions',context!); Swish = JsonConverters.fromJson(json['Swish'],'SessionPaymentMethodOptionsSwishOptions',context!); UsBankAccount = JsonConverters.fromJson(json['UsBankAccount'],'SessionPaymentMethodOptionsUsBankAccountOptions',context!); WechatPay = JsonConverters.fromJson(json['WechatPay'],'SessionPaymentMethodOptionsWechatPayOptions',context!); return this; } Map toJson() => { 'AcssDebit': JsonConverters.toJson(AcssDebit,'SessionPaymentMethodOptionsAcssDebitOptions',context!), 'Affirm': JsonConverters.toJson(Affirm,'SessionPaymentMethodOptionsAffirmOptions',context!), 'AfterpayClearpay': JsonConverters.toJson(AfterpayClearpay,'SessionPaymentMethodOptionsAfterpayClearpayOptions',context!), 'Alipay': JsonConverters.toJson(Alipay,'SessionPaymentMethodOptionsAlipayOptions',context!), 'AmazonPay': JsonConverters.toJson(AmazonPay,'SessionPaymentMethodOptionsAmazonPayOptions',context!), 'AuBecsDebit': JsonConverters.toJson(AuBecsDebit,'SessionPaymentMethodOptionsAuBecsDebitOptions',context!), 'BacsDebit': JsonConverters.toJson(BacsDebit,'SessionPaymentMethodOptionsBacsDebitOptions',context!), 'Bancontact': JsonConverters.toJson(Bancontact,'SessionPaymentMethodOptionsBancontactOptions',context!), 'Boleto': JsonConverters.toJson(Boleto,'SessionPaymentMethodOptionsBoletoOptions',context!), 'Card': JsonConverters.toJson(Card,'SessionPaymentMethodOptionsCardOptions',context!), 'Cashapp': JsonConverters.toJson(Cashapp,'SessionPaymentMethodOptionsCashappOptions',context!), 'CustomerBalance': JsonConverters.toJson(CustomerBalance,'SessionPaymentMethodOptionsCustomerBalanceOptions',context!), 'Eps': JsonConverters.toJson(Eps,'SessionPaymentMethodOptionsEpsOptions',context!), 'Fpx': JsonConverters.toJson(Fpx,'SessionPaymentMethodOptionsFpxOptions',context!), 'Giropay': JsonConverters.toJson(Giropay,'SessionPaymentMethodOptionsGiropayOptions',context!), 'Grabpay': JsonConverters.toJson(Grabpay,'SessionPaymentMethodOptionsGrabpayOptions',context!), 'Ideal': JsonConverters.toJson(Ideal,'SessionPaymentMethodOptionsIdealOptions',context!), 'KakaoPay': JsonConverters.toJson(KakaoPay,'SessionPaymentMethodOptionsKakaoPayOptions',context!), 'Klarna': JsonConverters.toJson(Klarna,'SessionPaymentMethodOptionsKlarnaOptions',context!), 'Konbini': JsonConverters.toJson(Konbini,'SessionPaymentMethodOptionsKonbiniOptions',context!), 'KrCard': JsonConverters.toJson(KrCard,'SessionPaymentMethodOptionsKrCardOptions',context!), 'Link': JsonConverters.toJson(Link,'SessionPaymentMethodOptionsLinkOptions',context!), 'Mobilepay': JsonConverters.toJson(Mobilepay,'SessionPaymentMethodOptionsMobilepayOptions',context!), 'Multibanco': JsonConverters.toJson(Multibanco,'SessionPaymentMethodOptionsMultibancoOptions',context!), 'NaverPay': JsonConverters.toJson(NaverPay,'SessionPaymentMethodOptionsNaverPayOptions',context!), 'Oxxo': JsonConverters.toJson(Oxxo,'SessionPaymentMethodOptionsOxxoOptions',context!), 'P24': JsonConverters.toJson(P24,'SessionPaymentMethodOptionsP24Options',context!), 'PayByBank': JsonConverters.toJson(PayByBank,'SessionPaymentMethodOptionsPayByBankOptions',context!), 'Payco': JsonConverters.toJson(Payco,'SessionPaymentMethodOptionsPaycoOptions',context!), 'Paynow': JsonConverters.toJson(Paynow,'SessionPaymentMethodOptionsPaynowOptions',context!), 'Paypal': JsonConverters.toJson(Paypal,'SessionPaymentMethodOptionsPaypalOptions',context!), 'Pix': JsonConverters.toJson(Pix,'SessionPaymentMethodOptionsPixOptions',context!), 'RevolutPay': JsonConverters.toJson(RevolutPay,'SessionPaymentMethodOptionsRevolutPayOptions',context!), 'SamsungPay': JsonConverters.toJson(SamsungPay,'SessionPaymentMethodOptionsSamsungPayOptions',context!), 'SepaDebit': JsonConverters.toJson(SepaDebit,'SessionPaymentMethodOptionsSepaDebitOptions',context!), 'Sofort': JsonConverters.toJson(Sofort,'SessionPaymentMethodOptionsSofortOptions',context!), 'Swish': JsonConverters.toJson(Swish,'SessionPaymentMethodOptionsSwishOptions',context!), 'UsBankAccount': JsonConverters.toJson(UsBankAccount,'SessionPaymentMethodOptionsUsBankAccountOptions',context!), 'WechatPay': JsonConverters.toJson(WechatPay,'SessionPaymentMethodOptionsWechatPayOptions',context!) }; getTypeName() => "SessionPaymentMethodOptionsOptions"; TypeContext? context = _ctx; } class SessionPermissionsOptions implements INestedOptions, IConvertible { String? UpdateShippingDetails; SessionPermissionsOptions({this.UpdateShippingDetails}); SessionPermissionsOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { UpdateShippingDetails = json['UpdateShippingDetails']; return this; } Map toJson() => { 'UpdateShippingDetails': UpdateShippingDetails }; getTypeName() => "SessionPermissionsOptions"; TypeContext? context = _ctx; } class SessionPhoneNumberCollectionOptions implements INestedOptions, IConvertible { bool? Enabled; SessionPhoneNumberCollectionOptions({this.Enabled}); SessionPhoneNumberCollectionOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Enabled = json['Enabled']; return this; } Map toJson() => { 'Enabled': Enabled }; getTypeName() => "SessionPhoneNumberCollectionOptions"; TypeContext? context = _ctx; } class SessionSavedPaymentMethodOptionsOptions implements INestedOptions, IConvertible { List? AllowRedisplayFilters; String? PaymentMethodSave; SessionSavedPaymentMethodOptionsOptions({this.AllowRedisplayFilters,this.PaymentMethodSave}); SessionSavedPaymentMethodOptionsOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AllowRedisplayFilters = JsonConverters.fromJson(json['AllowRedisplayFilters'],'List',context!); PaymentMethodSave = json['PaymentMethodSave']; return this; } Map toJson() => { 'AllowRedisplayFilters': JsonConverters.toJson(AllowRedisplayFilters,'List',context!), 'PaymentMethodSave': PaymentMethodSave }; getTypeName() => "SessionSavedPaymentMethodOptionsOptions"; TypeContext? context = _ctx; } class SessionSetupIntentDataOptions implements INestedOptions, IHasMetadata, IConvertible { String? Description; Map? Metadata; String? OnBehalfOf; SessionSetupIntentDataOptions({this.Description,this.Metadata,this.OnBehalfOf}); SessionSetupIntentDataOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Description = json['Description']; Metadata = JsonConverters.toStringMap(json['Metadata']); OnBehalfOf = json['OnBehalfOf']; return this; } Map toJson() => { 'Description': Description, 'Metadata': Metadata, 'OnBehalfOf': OnBehalfOf }; getTypeName() => "SessionSetupIntentDataOptions"; TypeContext? context = _ctx; } class SessionShippingAddressCollectionOptions implements INestedOptions, IConvertible { List? AllowedCountries; SessionShippingAddressCollectionOptions({this.AllowedCountries}); SessionShippingAddressCollectionOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AllowedCountries = JsonConverters.fromJson(json['AllowedCountries'],'List',context!); return this; } Map toJson() => { 'AllowedCountries': JsonConverters.toJson(AllowedCountries,'List',context!) }; getTypeName() => "SessionShippingAddressCollectionOptions"; TypeContext? context = _ctx; } class SessionShippingOptionShippingRateDataDeliveryEstimateMaximumOptions implements INestedOptions, IConvertible { String? Unit; int? Value; SessionShippingOptionShippingRateDataDeliveryEstimateMaximumOptions({this.Unit,this.Value}); SessionShippingOptionShippingRateDataDeliveryEstimateMaximumOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Unit = json['Unit']; Value = json['Value']; return this; } Map toJson() => { 'Unit': Unit, 'Value': Value }; getTypeName() => "SessionShippingOptionShippingRateDataDeliveryEstimateMaximumOptions"; TypeContext? context = _ctx; } class SessionShippingOptionShippingRateDataDeliveryEstimateMinimumOptions implements INestedOptions, IConvertible { String? Unit; int? Value; SessionShippingOptionShippingRateDataDeliveryEstimateMinimumOptions({this.Unit,this.Value}); SessionShippingOptionShippingRateDataDeliveryEstimateMinimumOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Unit = json['Unit']; Value = json['Value']; return this; } Map toJson() => { 'Unit': Unit, 'Value': Value }; getTypeName() => "SessionShippingOptionShippingRateDataDeliveryEstimateMinimumOptions"; TypeContext? context = _ctx; } class SessionShippingOptionShippingRateDataDeliveryEstimateOptions implements INestedOptions, IConvertible { SessionShippingOptionShippingRateDataDeliveryEstimateMaximumOptions? Maximum; SessionShippingOptionShippingRateDataDeliveryEstimateMinimumOptions? Minimum; SessionShippingOptionShippingRateDataDeliveryEstimateOptions({this.Maximum,this.Minimum}); SessionShippingOptionShippingRateDataDeliveryEstimateOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Maximum = JsonConverters.fromJson(json['Maximum'],'SessionShippingOptionShippingRateDataDeliveryEstimateMaximumOptions',context!); Minimum = JsonConverters.fromJson(json['Minimum'],'SessionShippingOptionShippingRateDataDeliveryEstimateMinimumOptions',context!); return this; } Map toJson() => { 'Maximum': JsonConverters.toJson(Maximum,'SessionShippingOptionShippingRateDataDeliveryEstimateMaximumOptions',context!), 'Minimum': JsonConverters.toJson(Minimum,'SessionShippingOptionShippingRateDataDeliveryEstimateMinimumOptions',context!) }; getTypeName() => "SessionShippingOptionShippingRateDataDeliveryEstimateOptions"; TypeContext? context = _ctx; } class SessionShippingOptionShippingRateDataFixedAmountCurrencyOptionsOptions implements INestedOptions, IConvertible { int? Amount; String? TaxBehavior; SessionShippingOptionShippingRateDataFixedAmountCurrencyOptionsOptions({this.Amount,this.TaxBehavior}); SessionShippingOptionShippingRateDataFixedAmountCurrencyOptionsOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Amount = json['Amount']; TaxBehavior = json['TaxBehavior']; return this; } Map toJson() => { 'Amount': Amount, 'TaxBehavior': TaxBehavior }; getTypeName() => "SessionShippingOptionShippingRateDataFixedAmountCurrencyOptionsOptions"; TypeContext? context = _ctx; } class SessionShippingOptionShippingRateDataFixedAmountOptions implements INestedOptions, IConvertible { int? Amount; String? Currency; Map? CurrencyOptions; SessionShippingOptionShippingRateDataFixedAmountOptions({this.Amount,this.Currency,this.CurrencyOptions}); SessionShippingOptionShippingRateDataFixedAmountOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Amount = json['Amount']; Currency = json['Currency']; CurrencyOptions = JsonConverters.fromJson(json['CurrencyOptions'],'Map',context!); return this; } Map toJson() => { 'Amount': Amount, 'Currency': Currency, 'CurrencyOptions': JsonConverters.toJson(CurrencyOptions,'Map',context!) }; getTypeName() => "SessionShippingOptionShippingRateDataFixedAmountOptions"; TypeContext? context = _ctx; } class SessionShippingOptionShippingRateDataOptions implements INestedOptions, IHasMetadata, IConvertible { SessionShippingOptionShippingRateDataDeliveryEstimateOptions? DeliveryEstimate; String? DisplayName; SessionShippingOptionShippingRateDataFixedAmountOptions? FixedAmount; Map? Metadata; String? TaxBehavior; String? TaxCode; String? Type; SessionShippingOptionShippingRateDataOptions({this.DeliveryEstimate,this.DisplayName,this.FixedAmount,this.Metadata,this.TaxBehavior,this.TaxCode,this.Type}); SessionShippingOptionShippingRateDataOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { DeliveryEstimate = JsonConverters.fromJson(json['DeliveryEstimate'],'SessionShippingOptionShippingRateDataDeliveryEstimateOptions',context!); DisplayName = json['DisplayName']; FixedAmount = JsonConverters.fromJson(json['FixedAmount'],'SessionShippingOptionShippingRateDataFixedAmountOptions',context!); Metadata = JsonConverters.toStringMap(json['Metadata']); TaxBehavior = json['TaxBehavior']; TaxCode = json['TaxCode']; Type = json['Type']; return this; } Map toJson() => { 'DeliveryEstimate': JsonConverters.toJson(DeliveryEstimate,'SessionShippingOptionShippingRateDataDeliveryEstimateOptions',context!), 'DisplayName': DisplayName, 'FixedAmount': JsonConverters.toJson(FixedAmount,'SessionShippingOptionShippingRateDataFixedAmountOptions',context!), 'Metadata': Metadata, 'TaxBehavior': TaxBehavior, 'TaxCode': TaxCode, 'Type': Type }; getTypeName() => "SessionShippingOptionShippingRateDataOptions"; TypeContext? context = _ctx; } class SessionShippingOptionOptions implements INestedOptions, IConvertible { String? ShippingRate; SessionShippingOptionShippingRateDataOptions? ShippingRateData; SessionShippingOptionOptions({this.ShippingRate,this.ShippingRateData}); SessionShippingOptionOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ShippingRate = json['ShippingRate']; ShippingRateData = JsonConverters.fromJson(json['ShippingRateData'],'SessionShippingOptionShippingRateDataOptions',context!); return this; } Map toJson() => { 'ShippingRate': ShippingRate, 'ShippingRateData': JsonConverters.toJson(ShippingRateData,'SessionShippingOptionShippingRateDataOptions',context!) }; getTypeName() => "SessionShippingOptionOptions"; TypeContext? context = _ctx; } class SessionSubscriptionDataInvoiceSettingsIssuerOptions implements INestedOptions, IConvertible { String? Account; String? Type; SessionSubscriptionDataInvoiceSettingsIssuerOptions({this.Account,this.Type}); SessionSubscriptionDataInvoiceSettingsIssuerOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Account = json['Account']; Type = json['Type']; return this; } Map toJson() => { 'Account': Account, 'Type': Type }; getTypeName() => "SessionSubscriptionDataInvoiceSettingsIssuerOptions"; TypeContext? context = _ctx; } class SessionSubscriptionDataInvoiceSettingsOptions implements INestedOptions, IConvertible { SessionSubscriptionDataInvoiceSettingsIssuerOptions? Issuer; SessionSubscriptionDataInvoiceSettingsOptions({this.Issuer}); SessionSubscriptionDataInvoiceSettingsOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Issuer = JsonConverters.fromJson(json['Issuer'],'SessionSubscriptionDataInvoiceSettingsIssuerOptions',context!); return this; } Map toJson() => { 'Issuer': JsonConverters.toJson(Issuer,'SessionSubscriptionDataInvoiceSettingsIssuerOptions',context!) }; getTypeName() => "SessionSubscriptionDataInvoiceSettingsOptions"; TypeContext? context = _ctx; } class SessionSubscriptionDataTransferDataOptions implements INestedOptions, IConvertible { double? AmountPercent; String? Destination; SessionSubscriptionDataTransferDataOptions({this.AmountPercent,this.Destination}); SessionSubscriptionDataTransferDataOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AmountPercent = JsonConverters.toDouble(json['AmountPercent']); Destination = json['Destination']; return this; } Map toJson() => { 'AmountPercent': AmountPercent, 'Destination': Destination }; getTypeName() => "SessionSubscriptionDataTransferDataOptions"; TypeContext? context = _ctx; } class SessionSubscriptionDataTrialSettingsEndBehaviorOptions implements INestedOptions, IConvertible { String? MissingPaymentMethod; SessionSubscriptionDataTrialSettingsEndBehaviorOptions({this.MissingPaymentMethod}); SessionSubscriptionDataTrialSettingsEndBehaviorOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { MissingPaymentMethod = json['MissingPaymentMethod']; return this; } Map toJson() => { 'MissingPaymentMethod': MissingPaymentMethod }; getTypeName() => "SessionSubscriptionDataTrialSettingsEndBehaviorOptions"; TypeContext? context = _ctx; } class SessionSubscriptionDataTrialSettingsOptions implements INestedOptions, IConvertible { SessionSubscriptionDataTrialSettingsEndBehaviorOptions? EndBehavior; SessionSubscriptionDataTrialSettingsOptions({this.EndBehavior}); SessionSubscriptionDataTrialSettingsOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { EndBehavior = JsonConverters.fromJson(json['EndBehavior'],'SessionSubscriptionDataTrialSettingsEndBehaviorOptions',context!); return this; } Map toJson() => { 'EndBehavior': JsonConverters.toJson(EndBehavior,'SessionSubscriptionDataTrialSettingsEndBehaviorOptions',context!) }; getTypeName() => "SessionSubscriptionDataTrialSettingsOptions"; TypeContext? context = _ctx; } class SessionSubscriptionDataOptions implements INestedOptions, IHasMetadata, IConvertible { double? ApplicationFeePercent; DateTime? BillingCycleAnchor; List? DefaultTaxRates; String? Description; SessionSubscriptionDataInvoiceSettingsOptions? InvoiceSettings; Map? Metadata; String? OnBehalfOf; String? ProrationBehavior; SessionSubscriptionDataTransferDataOptions? TransferData; DateTime? TrialEnd; int? TrialPeriodDays; SessionSubscriptionDataTrialSettingsOptions? TrialSettings; SessionSubscriptionDataOptions({this.ApplicationFeePercent,this.BillingCycleAnchor,this.DefaultTaxRates,this.Description,this.InvoiceSettings,this.Metadata,this.OnBehalfOf,this.ProrationBehavior,this.TransferData,this.TrialEnd,this.TrialPeriodDays,this.TrialSettings}); SessionSubscriptionDataOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ApplicationFeePercent = JsonConverters.toDouble(json['ApplicationFeePercent']); BillingCycleAnchor = JsonConverters.fromJson(json['BillingCycleAnchor'],'DateTime',context!); DefaultTaxRates = JsonConverters.fromJson(json['DefaultTaxRates'],'List',context!); Description = json['Description']; InvoiceSettings = JsonConverters.fromJson(json['InvoiceSettings'],'SessionSubscriptionDataInvoiceSettingsOptions',context!); Metadata = JsonConverters.toStringMap(json['Metadata']); OnBehalfOf = json['OnBehalfOf']; ProrationBehavior = json['ProrationBehavior']; TransferData = JsonConverters.fromJson(json['TransferData'],'SessionSubscriptionDataTransferDataOptions',context!); TrialEnd = JsonConverters.fromJson(json['TrialEnd'],'DateTime',context!); TrialPeriodDays = json['TrialPeriodDays']; TrialSettings = JsonConverters.fromJson(json['TrialSettings'],'SessionSubscriptionDataTrialSettingsOptions',context!); return this; } Map toJson() => { 'ApplicationFeePercent': ApplicationFeePercent, 'BillingCycleAnchor': JsonConverters.toJson(BillingCycleAnchor,'DateTime',context!), 'DefaultTaxRates': JsonConverters.toJson(DefaultTaxRates,'List',context!), 'Description': Description, 'InvoiceSettings': JsonConverters.toJson(InvoiceSettings,'SessionSubscriptionDataInvoiceSettingsOptions',context!), 'Metadata': Metadata, 'OnBehalfOf': OnBehalfOf, 'ProrationBehavior': ProrationBehavior, 'TransferData': JsonConverters.toJson(TransferData,'SessionSubscriptionDataTransferDataOptions',context!), 'TrialEnd': JsonConverters.toJson(TrialEnd,'DateTime',context!), 'TrialPeriodDays': TrialPeriodDays, 'TrialSettings': JsonConverters.toJson(TrialSettings,'SessionSubscriptionDataTrialSettingsOptions',context!) }; getTypeName() => "SessionSubscriptionDataOptions"; TypeContext? context = _ctx; } class SessionTaxIdCollectionOptions implements INestedOptions, IConvertible { bool? Enabled; String? Required; SessionTaxIdCollectionOptions({this.Enabled,this.Required}); SessionTaxIdCollectionOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Enabled = json['Enabled']; Required = json['Required']; return this; } Map toJson() => { 'Enabled': Enabled, 'Required': Required }; getTypeName() => "SessionTaxIdCollectionOptions"; TypeContext? context = _ctx; } class SessionCreateOptions extends BaseOptions implements IHasMetadata, IConvertible { SessionAdaptivePricingOptions? AdaptivePricing; SessionAfterExpirationOptions? AfterExpiration; bool? AllowPromotionCodes; SessionAutomaticTaxOptions? AutomaticTax; String? BillingAddressCollection; String? CancelUrl; String? ClientReferenceId; SessionConsentCollectionOptions? ConsentCollection; String? Currency; List? CustomFields; SessionCustomTextOptions? CustomText; String? Customer; String? CustomerCreation; String? CustomerEmail; SessionCustomerUpdateOptions? CustomerUpdate; List? Discounts; DateTime? ExpiresAt; SessionInvoiceCreationOptions? InvoiceCreation; List? LineItems; String? Locale; Map? Metadata; String? Mode; List? OptionalItems; SessionPaymentIntentDataOptions? PaymentIntentData; String? PaymentMethodCollection; String? PaymentMethodConfiguration; SessionPaymentMethodDataOptions? PaymentMethodData; SessionPaymentMethodOptionsOptions? PaymentMethodOptions; List? PaymentMethodTypes; SessionPermissionsOptions? Permissions; SessionPhoneNumberCollectionOptions? PhoneNumberCollection; String? RedirectOnCompletion; String? ReturnUrl; SessionSavedPaymentMethodOptionsOptions? SavedPaymentMethodOptions; SessionSetupIntentDataOptions? SetupIntentData; SessionShippingAddressCollectionOptions? ShippingAddressCollection; List? ShippingOptions; String? SubmitType; SessionSubscriptionDataOptions? SubscriptionData; String? SuccessUrl; SessionTaxIdCollectionOptions? TaxIdCollection; String? UiMode; SessionCreateOptions({this.AdaptivePricing,this.AfterExpiration,this.AllowPromotionCodes,this.AutomaticTax,this.BillingAddressCollection,this.CancelUrl,this.ClientReferenceId,this.ConsentCollection,this.Currency,this.CustomFields,this.CustomText,this.Customer,this.CustomerCreation,this.CustomerEmail,this.CustomerUpdate,this.Discounts,this.ExpiresAt,this.InvoiceCreation,this.LineItems,this.Locale,this.Metadata,this.Mode,this.OptionalItems,this.PaymentIntentData,this.PaymentMethodCollection,this.PaymentMethodConfiguration,this.PaymentMethodData,this.PaymentMethodOptions,this.PaymentMethodTypes,this.Permissions,this.PhoneNumberCollection,this.RedirectOnCompletion,this.ReturnUrl,this.SavedPaymentMethodOptions,this.SetupIntentData,this.ShippingAddressCollection,this.ShippingOptions,this.SubmitType,this.SubscriptionData,this.SuccessUrl,this.TaxIdCollection,this.UiMode}); SessionCreateOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); AdaptivePricing = JsonConverters.fromJson(json['AdaptivePricing'],'SessionAdaptivePricingOptions',context!); AfterExpiration = JsonConverters.fromJson(json['AfterExpiration'],'SessionAfterExpirationOptions',context!); AllowPromotionCodes = json['AllowPromotionCodes']; AutomaticTax = JsonConverters.fromJson(json['AutomaticTax'],'SessionAutomaticTaxOptions',context!); BillingAddressCollection = json['BillingAddressCollection']; CancelUrl = json['CancelUrl']; ClientReferenceId = json['ClientReferenceId']; ConsentCollection = JsonConverters.fromJson(json['ConsentCollection'],'SessionConsentCollectionOptions',context!); Currency = json['Currency']; CustomFields = JsonConverters.fromJson(json['CustomFields'],'List',context!); CustomText = JsonConverters.fromJson(json['CustomText'],'SessionCustomTextOptions',context!); Customer = json['Customer']; CustomerCreation = json['CustomerCreation']; CustomerEmail = json['CustomerEmail']; CustomerUpdate = JsonConverters.fromJson(json['CustomerUpdate'],'SessionCustomerUpdateOptions',context!); Discounts = JsonConverters.fromJson(json['Discounts'],'List',context!); ExpiresAt = JsonConverters.fromJson(json['ExpiresAt'],'DateTime',context!); InvoiceCreation = JsonConverters.fromJson(json['InvoiceCreation'],'SessionInvoiceCreationOptions',context!); LineItems = JsonConverters.fromJson(json['LineItems'],'List',context!); Locale = json['Locale']; Metadata = JsonConverters.toStringMap(json['Metadata']); Mode = json['Mode']; OptionalItems = JsonConverters.fromJson(json['OptionalItems'],'List',context!); PaymentIntentData = JsonConverters.fromJson(json['PaymentIntentData'],'SessionPaymentIntentDataOptions',context!); PaymentMethodCollection = json['PaymentMethodCollection']; PaymentMethodConfiguration = json['PaymentMethodConfiguration']; PaymentMethodData = JsonConverters.fromJson(json['PaymentMethodData'],'SessionPaymentMethodDataOptions',context!); PaymentMethodOptions = JsonConverters.fromJson(json['PaymentMethodOptions'],'SessionPaymentMethodOptionsOptions',context!); PaymentMethodTypes = JsonConverters.fromJson(json['PaymentMethodTypes'],'List',context!); Permissions = JsonConverters.fromJson(json['Permissions'],'SessionPermissionsOptions',context!); PhoneNumberCollection = JsonConverters.fromJson(json['PhoneNumberCollection'],'SessionPhoneNumberCollectionOptions',context!); RedirectOnCompletion = json['RedirectOnCompletion']; ReturnUrl = json['ReturnUrl']; SavedPaymentMethodOptions = JsonConverters.fromJson(json['SavedPaymentMethodOptions'],'SessionSavedPaymentMethodOptionsOptions',context!); SetupIntentData = JsonConverters.fromJson(json['SetupIntentData'],'SessionSetupIntentDataOptions',context!); ShippingAddressCollection = JsonConverters.fromJson(json['ShippingAddressCollection'],'SessionShippingAddressCollectionOptions',context!); ShippingOptions = JsonConverters.fromJson(json['ShippingOptions'],'List',context!); SubmitType = json['SubmitType']; SubscriptionData = JsonConverters.fromJson(json['SubscriptionData'],'SessionSubscriptionDataOptions',context!); SuccessUrl = json['SuccessUrl']; TaxIdCollection = JsonConverters.fromJson(json['TaxIdCollection'],'SessionTaxIdCollectionOptions',context!); UiMode = json['UiMode']; return this; } Map toJson() => super.toJson()..addAll({ 'AdaptivePricing': JsonConverters.toJson(AdaptivePricing,'SessionAdaptivePricingOptions',context!), 'AfterExpiration': JsonConverters.toJson(AfterExpiration,'SessionAfterExpirationOptions',context!), 'AllowPromotionCodes': AllowPromotionCodes, 'AutomaticTax': JsonConverters.toJson(AutomaticTax,'SessionAutomaticTaxOptions',context!), 'BillingAddressCollection': BillingAddressCollection, 'CancelUrl': CancelUrl, 'ClientReferenceId': ClientReferenceId, 'ConsentCollection': JsonConverters.toJson(ConsentCollection,'SessionConsentCollectionOptions',context!), 'Currency': Currency, 'CustomFields': JsonConverters.toJson(CustomFields,'List',context!), 'CustomText': JsonConverters.toJson(CustomText,'SessionCustomTextOptions',context!), 'Customer': Customer, 'CustomerCreation': CustomerCreation, 'CustomerEmail': CustomerEmail, 'CustomerUpdate': JsonConverters.toJson(CustomerUpdate,'SessionCustomerUpdateOptions',context!), 'Discounts': JsonConverters.toJson(Discounts,'List',context!), 'ExpiresAt': JsonConverters.toJson(ExpiresAt,'DateTime',context!), 'InvoiceCreation': JsonConverters.toJson(InvoiceCreation,'SessionInvoiceCreationOptions',context!), 'LineItems': JsonConverters.toJson(LineItems,'List',context!), 'Locale': Locale, 'Metadata': Metadata, 'Mode': Mode, 'OptionalItems': JsonConverters.toJson(OptionalItems,'List',context!), 'PaymentIntentData': JsonConverters.toJson(PaymentIntentData,'SessionPaymentIntentDataOptions',context!), 'PaymentMethodCollection': PaymentMethodCollection, 'PaymentMethodConfiguration': PaymentMethodConfiguration, 'PaymentMethodData': JsonConverters.toJson(PaymentMethodData,'SessionPaymentMethodDataOptions',context!), 'PaymentMethodOptions': JsonConverters.toJson(PaymentMethodOptions,'SessionPaymentMethodOptionsOptions',context!), 'PaymentMethodTypes': JsonConverters.toJson(PaymentMethodTypes,'List',context!), 'Permissions': JsonConverters.toJson(Permissions,'SessionPermissionsOptions',context!), 'PhoneNumberCollection': JsonConverters.toJson(PhoneNumberCollection,'SessionPhoneNumberCollectionOptions',context!), 'RedirectOnCompletion': RedirectOnCompletion, 'ReturnUrl': ReturnUrl, 'SavedPaymentMethodOptions': JsonConverters.toJson(SavedPaymentMethodOptions,'SessionSavedPaymentMethodOptionsOptions',context!), 'SetupIntentData': JsonConverters.toJson(SetupIntentData,'SessionSetupIntentDataOptions',context!), 'ShippingAddressCollection': JsonConverters.toJson(ShippingAddressCollection,'SessionShippingAddressCollectionOptions',context!), 'ShippingOptions': JsonConverters.toJson(ShippingOptions,'List',context!), 'SubmitType': SubmitType, 'SubscriptionData': JsonConverters.toJson(SubscriptionData,'SessionSubscriptionDataOptions',context!), 'SuccessUrl': SuccessUrl, 'TaxIdCollection': JsonConverters.toJson(TaxIdCollection,'SessionTaxIdCollectionOptions',context!), 'UiMode': UiMode }); getTypeName() => "SessionCreateOptions"; TypeContext? context = _ctx; } class PaymentIntentAutomaticPaymentMethodsOptions implements INestedOptions, IConvertible { String? AllowRedirects; bool? Enabled; PaymentIntentAutomaticPaymentMethodsOptions({this.AllowRedirects,this.Enabled}); PaymentIntentAutomaticPaymentMethodsOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AllowRedirects = json['AllowRedirects']; Enabled = json['Enabled']; return this; } Map toJson() => { 'AllowRedirects': AllowRedirects, 'Enabled': Enabled }; getTypeName() => "PaymentIntentAutomaticPaymentMethodsOptions"; TypeContext? context = _ctx; } class PaymentIntentMandateDataCustomerAcceptanceOfflineOptions implements INestedOptions, IConvertible { PaymentIntentMandateDataCustomerAcceptanceOfflineOptions(); PaymentIntentMandateDataCustomerAcceptanceOfflineOptions.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "PaymentIntentMandateDataCustomerAcceptanceOfflineOptions"; TypeContext? context = _ctx; } class PaymentIntentMandateDataCustomerAcceptanceOnlineOptions implements INestedOptions, IConvertible { String? IpAddress; String? UserAgent; PaymentIntentMandateDataCustomerAcceptanceOnlineOptions({this.IpAddress,this.UserAgent}); PaymentIntentMandateDataCustomerAcceptanceOnlineOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { IpAddress = json['IpAddress']; UserAgent = json['UserAgent']; return this; } Map toJson() => { 'IpAddress': IpAddress, 'UserAgent': UserAgent }; getTypeName() => "PaymentIntentMandateDataCustomerAcceptanceOnlineOptions"; TypeContext? context = _ctx; } class PaymentIntentMandateDataCustomerAcceptanceOptions implements INestedOptions, IConvertible { DateTime? AcceptedAt; PaymentIntentMandateDataCustomerAcceptanceOfflineOptions? Offline; PaymentIntentMandateDataCustomerAcceptanceOnlineOptions? Online; String? Type; PaymentIntentMandateDataCustomerAcceptanceOptions({this.AcceptedAt,this.Offline,this.Online,this.Type}); PaymentIntentMandateDataCustomerAcceptanceOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AcceptedAt = JsonConverters.fromJson(json['AcceptedAt'],'DateTime',context!); Offline = JsonConverters.fromJson(json['Offline'],'PaymentIntentMandateDataCustomerAcceptanceOfflineOptions',context!); Online = JsonConverters.fromJson(json['Online'],'PaymentIntentMandateDataCustomerAcceptanceOnlineOptions',context!); Type = json['Type']; return this; } Map toJson() => { 'AcceptedAt': JsonConverters.toJson(AcceptedAt,'DateTime',context!), 'Offline': JsonConverters.toJson(Offline,'PaymentIntentMandateDataCustomerAcceptanceOfflineOptions',context!), 'Online': JsonConverters.toJson(Online,'PaymentIntentMandateDataCustomerAcceptanceOnlineOptions',context!), 'Type': Type }; getTypeName() => "PaymentIntentMandateDataCustomerAcceptanceOptions"; TypeContext? context = _ctx; } class PaymentIntentMandateDataOptions implements INestedOptions, IConvertible { PaymentIntentMandateDataCustomerAcceptanceOptions? CustomerAcceptance; PaymentIntentMandateDataOptions({this.CustomerAcceptance}); PaymentIntentMandateDataOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CustomerAcceptance = JsonConverters.fromJson(json['CustomerAcceptance'],'PaymentIntentMandateDataCustomerAcceptanceOptions',context!); return this; } Map toJson() => { 'CustomerAcceptance': JsonConverters.toJson(CustomerAcceptance,'PaymentIntentMandateDataCustomerAcceptanceOptions',context!) }; getTypeName() => "PaymentIntentMandateDataOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataAcssDebitOptions implements INestedOptions, IConvertible { String? AccountNumber; String? InstitutionNumber; String? TransitNumber; PaymentIntentPaymentMethodDataAcssDebitOptions({this.AccountNumber,this.InstitutionNumber,this.TransitNumber}); PaymentIntentPaymentMethodDataAcssDebitOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AccountNumber = json['AccountNumber']; InstitutionNumber = json['InstitutionNumber']; TransitNumber = json['TransitNumber']; return this; } Map toJson() => { 'AccountNumber': AccountNumber, 'InstitutionNumber': InstitutionNumber, 'TransitNumber': TransitNumber }; getTypeName() => "PaymentIntentPaymentMethodDataAcssDebitOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataAffirmOptions implements INestedOptions, IConvertible { PaymentIntentPaymentMethodDataAffirmOptions(); PaymentIntentPaymentMethodDataAffirmOptions.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "PaymentIntentPaymentMethodDataAffirmOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataAfterpayClearpayOptions implements INestedOptions, IConvertible { PaymentIntentPaymentMethodDataAfterpayClearpayOptions(); PaymentIntentPaymentMethodDataAfterpayClearpayOptions.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "PaymentIntentPaymentMethodDataAfterpayClearpayOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataAlipayOptions implements INestedOptions, IConvertible { PaymentIntentPaymentMethodDataAlipayOptions(); PaymentIntentPaymentMethodDataAlipayOptions.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "PaymentIntentPaymentMethodDataAlipayOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataAlmaOptions implements INestedOptions, IConvertible { PaymentIntentPaymentMethodDataAlmaOptions(); PaymentIntentPaymentMethodDataAlmaOptions.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "PaymentIntentPaymentMethodDataAlmaOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataAmazonPayOptions implements INestedOptions, IConvertible { PaymentIntentPaymentMethodDataAmazonPayOptions(); PaymentIntentPaymentMethodDataAmazonPayOptions.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "PaymentIntentPaymentMethodDataAmazonPayOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataAuBecsDebitOptions implements INestedOptions, IConvertible { String? AccountNumber; String? BsbNumber; PaymentIntentPaymentMethodDataAuBecsDebitOptions({this.AccountNumber,this.BsbNumber}); PaymentIntentPaymentMethodDataAuBecsDebitOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AccountNumber = json['AccountNumber']; BsbNumber = json['BsbNumber']; return this; } Map toJson() => { 'AccountNumber': AccountNumber, 'BsbNumber': BsbNumber }; getTypeName() => "PaymentIntentPaymentMethodDataAuBecsDebitOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataBacsDebitOptions implements INestedOptions, IConvertible { String? AccountNumber; String? SortCode; PaymentIntentPaymentMethodDataBacsDebitOptions({this.AccountNumber,this.SortCode}); PaymentIntentPaymentMethodDataBacsDebitOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AccountNumber = json['AccountNumber']; SortCode = json['SortCode']; return this; } Map toJson() => { 'AccountNumber': AccountNumber, 'SortCode': SortCode }; getTypeName() => "PaymentIntentPaymentMethodDataBacsDebitOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataBancontactOptions implements INestedOptions, IConvertible { PaymentIntentPaymentMethodDataBancontactOptions(); PaymentIntentPaymentMethodDataBancontactOptions.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "PaymentIntentPaymentMethodDataBancontactOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataBillieOptions implements INestedOptions, IConvertible { PaymentIntentPaymentMethodDataBillieOptions(); PaymentIntentPaymentMethodDataBillieOptions.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "PaymentIntentPaymentMethodDataBillieOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataBillingDetailsOptions implements INestedOptions, IConvertible { AddressOptions? Address; String? Email; String? Name; String? Phone; PaymentIntentPaymentMethodDataBillingDetailsOptions({this.Address,this.Email,this.Name,this.Phone}); PaymentIntentPaymentMethodDataBillingDetailsOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Address = JsonConverters.fromJson(json['Address'],'AddressOptions',context!); Email = json['Email']; Name = json['Name']; Phone = json['Phone']; return this; } Map toJson() => { 'Address': JsonConverters.toJson(Address,'AddressOptions',context!), 'Email': Email, 'Name': Name, 'Phone': Phone }; getTypeName() => "PaymentIntentPaymentMethodDataBillingDetailsOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataBlikOptions implements INestedOptions, IConvertible { PaymentIntentPaymentMethodDataBlikOptions(); PaymentIntentPaymentMethodDataBlikOptions.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "PaymentIntentPaymentMethodDataBlikOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataBoletoOptions implements INestedOptions, IConvertible { String? TaxId; PaymentIntentPaymentMethodDataBoletoOptions({this.TaxId}); PaymentIntentPaymentMethodDataBoletoOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { TaxId = json['TaxId']; return this; } Map toJson() => { 'TaxId': TaxId }; getTypeName() => "PaymentIntentPaymentMethodDataBoletoOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataCashappOptions implements INestedOptions, IConvertible { PaymentIntentPaymentMethodDataCashappOptions(); PaymentIntentPaymentMethodDataCashappOptions.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "PaymentIntentPaymentMethodDataCashappOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataCustomerBalanceOptions implements INestedOptions, IConvertible { PaymentIntentPaymentMethodDataCustomerBalanceOptions(); PaymentIntentPaymentMethodDataCustomerBalanceOptions.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "PaymentIntentPaymentMethodDataCustomerBalanceOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataEpsOptions implements INestedOptions, IConvertible { String? Bank; PaymentIntentPaymentMethodDataEpsOptions({this.Bank}); PaymentIntentPaymentMethodDataEpsOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Bank = json['Bank']; return this; } Map toJson() => { 'Bank': Bank }; getTypeName() => "PaymentIntentPaymentMethodDataEpsOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataFpxOptions implements INestedOptions, IConvertible { String? AccountHolderType; String? Bank; PaymentIntentPaymentMethodDataFpxOptions({this.AccountHolderType,this.Bank}); PaymentIntentPaymentMethodDataFpxOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AccountHolderType = json['AccountHolderType']; Bank = json['Bank']; return this; } Map toJson() => { 'AccountHolderType': AccountHolderType, 'Bank': Bank }; getTypeName() => "PaymentIntentPaymentMethodDataFpxOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataGiropayOptions implements INestedOptions, IConvertible { PaymentIntentPaymentMethodDataGiropayOptions(); PaymentIntentPaymentMethodDataGiropayOptions.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "PaymentIntentPaymentMethodDataGiropayOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataGrabpayOptions implements INestedOptions, IConvertible { PaymentIntentPaymentMethodDataGrabpayOptions(); PaymentIntentPaymentMethodDataGrabpayOptions.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "PaymentIntentPaymentMethodDataGrabpayOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataIdealOptions implements INestedOptions, IConvertible { String? Bank; PaymentIntentPaymentMethodDataIdealOptions({this.Bank}); PaymentIntentPaymentMethodDataIdealOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Bank = json['Bank']; return this; } Map toJson() => { 'Bank': Bank }; getTypeName() => "PaymentIntentPaymentMethodDataIdealOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataInteracPresentOptions implements INestedOptions, IConvertible { PaymentIntentPaymentMethodDataInteracPresentOptions(); PaymentIntentPaymentMethodDataInteracPresentOptions.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "PaymentIntentPaymentMethodDataInteracPresentOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataKakaoPayOptions implements INestedOptions, IConvertible { PaymentIntentPaymentMethodDataKakaoPayOptions(); PaymentIntentPaymentMethodDataKakaoPayOptions.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "PaymentIntentPaymentMethodDataKakaoPayOptions"; TypeContext? context = _ctx; } class DobOptions implements INestedOptions, IConvertible { int? Day; int? Month; int? Year; DobOptions({this.Day,this.Month,this.Year}); DobOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Day = json['Day']; Month = json['Month']; Year = json['Year']; return this; } Map toJson() => { 'Day': Day, 'Month': Month, 'Year': Year }; getTypeName() => "DobOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataKlarnaOptions implements INestedOptions, IConvertible { DobOptions? Dob; PaymentIntentPaymentMethodDataKlarnaOptions({this.Dob}); PaymentIntentPaymentMethodDataKlarnaOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Dob = JsonConverters.fromJson(json['Dob'],'DobOptions',context!); return this; } Map toJson() => { 'Dob': JsonConverters.toJson(Dob,'DobOptions',context!) }; getTypeName() => "PaymentIntentPaymentMethodDataKlarnaOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataKonbiniOptions implements INestedOptions, IConvertible { PaymentIntentPaymentMethodDataKonbiniOptions(); PaymentIntentPaymentMethodDataKonbiniOptions.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "PaymentIntentPaymentMethodDataKonbiniOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataKrCardOptions implements INestedOptions, IConvertible { PaymentIntentPaymentMethodDataKrCardOptions(); PaymentIntentPaymentMethodDataKrCardOptions.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "PaymentIntentPaymentMethodDataKrCardOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataLinkOptions implements INestedOptions, IConvertible { PaymentIntentPaymentMethodDataLinkOptions(); PaymentIntentPaymentMethodDataLinkOptions.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "PaymentIntentPaymentMethodDataLinkOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataMobilepayOptions implements INestedOptions, IConvertible { PaymentIntentPaymentMethodDataMobilepayOptions(); PaymentIntentPaymentMethodDataMobilepayOptions.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "PaymentIntentPaymentMethodDataMobilepayOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataMultibancoOptions implements INestedOptions, IConvertible { PaymentIntentPaymentMethodDataMultibancoOptions(); PaymentIntentPaymentMethodDataMultibancoOptions.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "PaymentIntentPaymentMethodDataMultibancoOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataNaverPayOptions implements INestedOptions, IConvertible { String? Funding; PaymentIntentPaymentMethodDataNaverPayOptions({this.Funding}); PaymentIntentPaymentMethodDataNaverPayOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Funding = json['Funding']; return this; } Map toJson() => { 'Funding': Funding }; getTypeName() => "PaymentIntentPaymentMethodDataNaverPayOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataNzBankAccountOptions implements INestedOptions, IConvertible { String? AccountHolderName; String? AccountNumber; String? BankCode; String? BranchCode; String? Reference; String? Suffix; PaymentIntentPaymentMethodDataNzBankAccountOptions({this.AccountHolderName,this.AccountNumber,this.BankCode,this.BranchCode,this.Reference,this.Suffix}); PaymentIntentPaymentMethodDataNzBankAccountOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AccountHolderName = json['AccountHolderName']; AccountNumber = json['AccountNumber']; BankCode = json['BankCode']; BranchCode = json['BranchCode']; Reference = json['Reference']; Suffix = json['Suffix']; return this; } Map toJson() => { 'AccountHolderName': AccountHolderName, 'AccountNumber': AccountNumber, 'BankCode': BankCode, 'BranchCode': BranchCode, 'Reference': Reference, 'Suffix': Suffix }; getTypeName() => "PaymentIntentPaymentMethodDataNzBankAccountOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataOxxoOptions implements INestedOptions, IConvertible { PaymentIntentPaymentMethodDataOxxoOptions(); PaymentIntentPaymentMethodDataOxxoOptions.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "PaymentIntentPaymentMethodDataOxxoOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataP24Options implements INestedOptions, IConvertible { String? Bank; PaymentIntentPaymentMethodDataP24Options({this.Bank}); PaymentIntentPaymentMethodDataP24Options.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Bank = json['Bank']; return this; } Map toJson() => { 'Bank': Bank }; getTypeName() => "PaymentIntentPaymentMethodDataP24Options"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataPayByBankOptions implements INestedOptions, IConvertible { PaymentIntentPaymentMethodDataPayByBankOptions(); PaymentIntentPaymentMethodDataPayByBankOptions.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "PaymentIntentPaymentMethodDataPayByBankOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataPaycoOptions implements INestedOptions, IConvertible { PaymentIntentPaymentMethodDataPaycoOptions(); PaymentIntentPaymentMethodDataPaycoOptions.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "PaymentIntentPaymentMethodDataPaycoOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataPaynowOptions implements INestedOptions, IConvertible { PaymentIntentPaymentMethodDataPaynowOptions(); PaymentIntentPaymentMethodDataPaynowOptions.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "PaymentIntentPaymentMethodDataPaynowOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataPaypalOptions implements INestedOptions, IConvertible { PaymentIntentPaymentMethodDataPaypalOptions(); PaymentIntentPaymentMethodDataPaypalOptions.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "PaymentIntentPaymentMethodDataPaypalOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataPixOptions implements INestedOptions, IConvertible { PaymentIntentPaymentMethodDataPixOptions(); PaymentIntentPaymentMethodDataPixOptions.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "PaymentIntentPaymentMethodDataPixOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataPromptpayOptions implements INestedOptions, IConvertible { PaymentIntentPaymentMethodDataPromptpayOptions(); PaymentIntentPaymentMethodDataPromptpayOptions.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "PaymentIntentPaymentMethodDataPromptpayOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataRadarOptionsOptions implements INestedOptions, IConvertible { String? Session; PaymentIntentPaymentMethodDataRadarOptionsOptions({this.Session}); PaymentIntentPaymentMethodDataRadarOptionsOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Session = json['Session']; return this; } Map toJson() => { 'Session': Session }; getTypeName() => "PaymentIntentPaymentMethodDataRadarOptionsOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataRevolutPayOptions implements INestedOptions, IConvertible { PaymentIntentPaymentMethodDataRevolutPayOptions(); PaymentIntentPaymentMethodDataRevolutPayOptions.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "PaymentIntentPaymentMethodDataRevolutPayOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataSamsungPayOptions implements INestedOptions, IConvertible { PaymentIntentPaymentMethodDataSamsungPayOptions(); PaymentIntentPaymentMethodDataSamsungPayOptions.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "PaymentIntentPaymentMethodDataSamsungPayOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataSatispayOptions implements INestedOptions, IConvertible { PaymentIntentPaymentMethodDataSatispayOptions(); PaymentIntentPaymentMethodDataSatispayOptions.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "PaymentIntentPaymentMethodDataSatispayOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataSepaDebitOptions implements INestedOptions, IConvertible { String? Iban; PaymentIntentPaymentMethodDataSepaDebitOptions({this.Iban}); PaymentIntentPaymentMethodDataSepaDebitOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Iban = json['Iban']; return this; } Map toJson() => { 'Iban': Iban }; getTypeName() => "PaymentIntentPaymentMethodDataSepaDebitOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataSofortOptions implements INestedOptions, IConvertible { String? Country; PaymentIntentPaymentMethodDataSofortOptions({this.Country}); PaymentIntentPaymentMethodDataSofortOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Country = json['Country']; return this; } Map toJson() => { 'Country': Country }; getTypeName() => "PaymentIntentPaymentMethodDataSofortOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataSwishOptions implements INestedOptions, IConvertible { PaymentIntentPaymentMethodDataSwishOptions(); PaymentIntentPaymentMethodDataSwishOptions.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "PaymentIntentPaymentMethodDataSwishOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataTwintOptions implements INestedOptions, IConvertible { PaymentIntentPaymentMethodDataTwintOptions(); PaymentIntentPaymentMethodDataTwintOptions.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "PaymentIntentPaymentMethodDataTwintOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataUsBankAccountOptions implements INestedOptions, IConvertible { String? AccountHolderType; String? AccountNumber; String? AccountType; String? FinancialConnectionsAccount; String? RoutingNumber; PaymentIntentPaymentMethodDataUsBankAccountOptions({this.AccountHolderType,this.AccountNumber,this.AccountType,this.FinancialConnectionsAccount,this.RoutingNumber}); PaymentIntentPaymentMethodDataUsBankAccountOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AccountHolderType = json['AccountHolderType']; AccountNumber = json['AccountNumber']; AccountType = json['AccountType']; FinancialConnectionsAccount = json['FinancialConnectionsAccount']; RoutingNumber = json['RoutingNumber']; return this; } Map toJson() => { 'AccountHolderType': AccountHolderType, 'AccountNumber': AccountNumber, 'AccountType': AccountType, 'FinancialConnectionsAccount': FinancialConnectionsAccount, 'RoutingNumber': RoutingNumber }; getTypeName() => "PaymentIntentPaymentMethodDataUsBankAccountOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataWechatPayOptions implements INestedOptions, IConvertible { PaymentIntentPaymentMethodDataWechatPayOptions(); PaymentIntentPaymentMethodDataWechatPayOptions.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "PaymentIntentPaymentMethodDataWechatPayOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataZipOptions implements INestedOptions, IConvertible { PaymentIntentPaymentMethodDataZipOptions(); PaymentIntentPaymentMethodDataZipOptions.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "PaymentIntentPaymentMethodDataZipOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodDataOptions implements INestedOptions, IHasMetadata, IConvertible { PaymentIntentPaymentMethodDataAcssDebitOptions? AcssDebit; PaymentIntentPaymentMethodDataAffirmOptions? Affirm; PaymentIntentPaymentMethodDataAfterpayClearpayOptions? AfterpayClearpay; PaymentIntentPaymentMethodDataAlipayOptions? Alipay; String? AllowRedisplay; PaymentIntentPaymentMethodDataAlmaOptions? Alma; PaymentIntentPaymentMethodDataAmazonPayOptions? AmazonPay; PaymentIntentPaymentMethodDataAuBecsDebitOptions? AuBecsDebit; PaymentIntentPaymentMethodDataBacsDebitOptions? BacsDebit; PaymentIntentPaymentMethodDataBancontactOptions? Bancontact; PaymentIntentPaymentMethodDataBillieOptions? Billie; PaymentIntentPaymentMethodDataBillingDetailsOptions? BillingDetails; PaymentIntentPaymentMethodDataBlikOptions? Blik; PaymentIntentPaymentMethodDataBoletoOptions? Boleto; PaymentIntentPaymentMethodDataCashappOptions? Cashapp; PaymentIntentPaymentMethodDataCustomerBalanceOptions? CustomerBalance; PaymentIntentPaymentMethodDataEpsOptions? Eps; PaymentIntentPaymentMethodDataFpxOptions? Fpx; PaymentIntentPaymentMethodDataGiropayOptions? Giropay; PaymentIntentPaymentMethodDataGrabpayOptions? Grabpay; PaymentIntentPaymentMethodDataIdealOptions? Ideal; PaymentIntentPaymentMethodDataInteracPresentOptions? InteracPresent; PaymentIntentPaymentMethodDataKakaoPayOptions? KakaoPay; PaymentIntentPaymentMethodDataKlarnaOptions? Klarna; PaymentIntentPaymentMethodDataKonbiniOptions? Konbini; PaymentIntentPaymentMethodDataKrCardOptions? KrCard; PaymentIntentPaymentMethodDataLinkOptions? Link; Map? Metadata; PaymentIntentPaymentMethodDataMobilepayOptions? Mobilepay; PaymentIntentPaymentMethodDataMultibancoOptions? Multibanco; PaymentIntentPaymentMethodDataNaverPayOptions? NaverPay; PaymentIntentPaymentMethodDataNzBankAccountOptions? NzBankAccount; PaymentIntentPaymentMethodDataOxxoOptions? Oxxo; PaymentIntentPaymentMethodDataP24Options? P24; PaymentIntentPaymentMethodDataPayByBankOptions? PayByBank; PaymentIntentPaymentMethodDataPaycoOptions? Payco; PaymentIntentPaymentMethodDataPaynowOptions? Paynow; PaymentIntentPaymentMethodDataPaypalOptions? Paypal; PaymentIntentPaymentMethodDataPixOptions? Pix; PaymentIntentPaymentMethodDataPromptpayOptions? Promptpay; PaymentIntentPaymentMethodDataRadarOptionsOptions? RadarOptions; PaymentIntentPaymentMethodDataRevolutPayOptions? RevolutPay; PaymentIntentPaymentMethodDataSamsungPayOptions? SamsungPay; PaymentIntentPaymentMethodDataSatispayOptions? Satispay; PaymentIntentPaymentMethodDataSepaDebitOptions? SepaDebit; PaymentIntentPaymentMethodDataSofortOptions? Sofort; PaymentIntentPaymentMethodDataSwishOptions? Swish; PaymentIntentPaymentMethodDataTwintOptions? Twint; String? Type; PaymentIntentPaymentMethodDataUsBankAccountOptions? UsBankAccount; PaymentIntentPaymentMethodDataWechatPayOptions? WechatPay; PaymentIntentPaymentMethodDataZipOptions? Zip; PaymentIntentPaymentMethodDataOptions({this.AcssDebit,this.Affirm,this.AfterpayClearpay,this.Alipay,this.AllowRedisplay,this.Alma,this.AmazonPay,this.AuBecsDebit,this.BacsDebit,this.Bancontact,this.Billie,this.BillingDetails,this.Blik,this.Boleto,this.Cashapp,this.CustomerBalance,this.Eps,this.Fpx,this.Giropay,this.Grabpay,this.Ideal,this.InteracPresent,this.KakaoPay,this.Klarna,this.Konbini,this.KrCard,this.Link,this.Metadata,this.Mobilepay,this.Multibanco,this.NaverPay,this.NzBankAccount,this.Oxxo,this.P24,this.PayByBank,this.Payco,this.Paynow,this.Paypal,this.Pix,this.Promptpay,this.RadarOptions,this.RevolutPay,this.SamsungPay,this.Satispay,this.SepaDebit,this.Sofort,this.Swish,this.Twint,this.Type,this.UsBankAccount,this.WechatPay,this.Zip}); PaymentIntentPaymentMethodDataOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AcssDebit = JsonConverters.fromJson(json['AcssDebit'],'PaymentIntentPaymentMethodDataAcssDebitOptions',context!); Affirm = JsonConverters.fromJson(json['Affirm'],'PaymentIntentPaymentMethodDataAffirmOptions',context!); AfterpayClearpay = JsonConverters.fromJson(json['AfterpayClearpay'],'PaymentIntentPaymentMethodDataAfterpayClearpayOptions',context!); Alipay = JsonConverters.fromJson(json['Alipay'],'PaymentIntentPaymentMethodDataAlipayOptions',context!); AllowRedisplay = json['AllowRedisplay']; Alma = JsonConverters.fromJson(json['Alma'],'PaymentIntentPaymentMethodDataAlmaOptions',context!); AmazonPay = JsonConverters.fromJson(json['AmazonPay'],'PaymentIntentPaymentMethodDataAmazonPayOptions',context!); AuBecsDebit = JsonConverters.fromJson(json['AuBecsDebit'],'PaymentIntentPaymentMethodDataAuBecsDebitOptions',context!); BacsDebit = JsonConverters.fromJson(json['BacsDebit'],'PaymentIntentPaymentMethodDataBacsDebitOptions',context!); Bancontact = JsonConverters.fromJson(json['Bancontact'],'PaymentIntentPaymentMethodDataBancontactOptions',context!); Billie = JsonConverters.fromJson(json['Billie'],'PaymentIntentPaymentMethodDataBillieOptions',context!); BillingDetails = JsonConverters.fromJson(json['BillingDetails'],'PaymentIntentPaymentMethodDataBillingDetailsOptions',context!); Blik = JsonConverters.fromJson(json['Blik'],'PaymentIntentPaymentMethodDataBlikOptions',context!); Boleto = JsonConverters.fromJson(json['Boleto'],'PaymentIntentPaymentMethodDataBoletoOptions',context!); Cashapp = JsonConverters.fromJson(json['Cashapp'],'PaymentIntentPaymentMethodDataCashappOptions',context!); CustomerBalance = JsonConverters.fromJson(json['CustomerBalance'],'PaymentIntentPaymentMethodDataCustomerBalanceOptions',context!); Eps = JsonConverters.fromJson(json['Eps'],'PaymentIntentPaymentMethodDataEpsOptions',context!); Fpx = JsonConverters.fromJson(json['Fpx'],'PaymentIntentPaymentMethodDataFpxOptions',context!); Giropay = JsonConverters.fromJson(json['Giropay'],'PaymentIntentPaymentMethodDataGiropayOptions',context!); Grabpay = JsonConverters.fromJson(json['Grabpay'],'PaymentIntentPaymentMethodDataGrabpayOptions',context!); Ideal = JsonConverters.fromJson(json['Ideal'],'PaymentIntentPaymentMethodDataIdealOptions',context!); InteracPresent = JsonConverters.fromJson(json['InteracPresent'],'PaymentIntentPaymentMethodDataInteracPresentOptions',context!); KakaoPay = JsonConverters.fromJson(json['KakaoPay'],'PaymentIntentPaymentMethodDataKakaoPayOptions',context!); Klarna = JsonConverters.fromJson(json['Klarna'],'PaymentIntentPaymentMethodDataKlarnaOptions',context!); Konbini = JsonConverters.fromJson(json['Konbini'],'PaymentIntentPaymentMethodDataKonbiniOptions',context!); KrCard = JsonConverters.fromJson(json['KrCard'],'PaymentIntentPaymentMethodDataKrCardOptions',context!); Link = JsonConverters.fromJson(json['Link'],'PaymentIntentPaymentMethodDataLinkOptions',context!); Metadata = JsonConverters.toStringMap(json['Metadata']); Mobilepay = JsonConverters.fromJson(json['Mobilepay'],'PaymentIntentPaymentMethodDataMobilepayOptions',context!); Multibanco = JsonConverters.fromJson(json['Multibanco'],'PaymentIntentPaymentMethodDataMultibancoOptions',context!); NaverPay = JsonConverters.fromJson(json['NaverPay'],'PaymentIntentPaymentMethodDataNaverPayOptions',context!); NzBankAccount = JsonConverters.fromJson(json['NzBankAccount'],'PaymentIntentPaymentMethodDataNzBankAccountOptions',context!); Oxxo = JsonConverters.fromJson(json['Oxxo'],'PaymentIntentPaymentMethodDataOxxoOptions',context!); P24 = JsonConverters.fromJson(json['P24'],'PaymentIntentPaymentMethodDataP24Options',context!); PayByBank = JsonConverters.fromJson(json['PayByBank'],'PaymentIntentPaymentMethodDataPayByBankOptions',context!); Payco = JsonConverters.fromJson(json['Payco'],'PaymentIntentPaymentMethodDataPaycoOptions',context!); Paynow = JsonConverters.fromJson(json['Paynow'],'PaymentIntentPaymentMethodDataPaynowOptions',context!); Paypal = JsonConverters.fromJson(json['Paypal'],'PaymentIntentPaymentMethodDataPaypalOptions',context!); Pix = JsonConverters.fromJson(json['Pix'],'PaymentIntentPaymentMethodDataPixOptions',context!); Promptpay = JsonConverters.fromJson(json['Promptpay'],'PaymentIntentPaymentMethodDataPromptpayOptions',context!); RadarOptions = JsonConverters.fromJson(json['RadarOptions'],'PaymentIntentPaymentMethodDataRadarOptionsOptions',context!); RevolutPay = JsonConverters.fromJson(json['RevolutPay'],'PaymentIntentPaymentMethodDataRevolutPayOptions',context!); SamsungPay = JsonConverters.fromJson(json['SamsungPay'],'PaymentIntentPaymentMethodDataSamsungPayOptions',context!); Satispay = JsonConverters.fromJson(json['Satispay'],'PaymentIntentPaymentMethodDataSatispayOptions',context!); SepaDebit = JsonConverters.fromJson(json['SepaDebit'],'PaymentIntentPaymentMethodDataSepaDebitOptions',context!); Sofort = JsonConverters.fromJson(json['Sofort'],'PaymentIntentPaymentMethodDataSofortOptions',context!); Swish = JsonConverters.fromJson(json['Swish'],'PaymentIntentPaymentMethodDataSwishOptions',context!); Twint = JsonConverters.fromJson(json['Twint'],'PaymentIntentPaymentMethodDataTwintOptions',context!); Type = json['Type']; UsBankAccount = JsonConverters.fromJson(json['UsBankAccount'],'PaymentIntentPaymentMethodDataUsBankAccountOptions',context!); WechatPay = JsonConverters.fromJson(json['WechatPay'],'PaymentIntentPaymentMethodDataWechatPayOptions',context!); Zip = JsonConverters.fromJson(json['Zip'],'PaymentIntentPaymentMethodDataZipOptions',context!); return this; } Map toJson() => { 'AcssDebit': JsonConverters.toJson(AcssDebit,'PaymentIntentPaymentMethodDataAcssDebitOptions',context!), 'Affirm': JsonConverters.toJson(Affirm,'PaymentIntentPaymentMethodDataAffirmOptions',context!), 'AfterpayClearpay': JsonConverters.toJson(AfterpayClearpay,'PaymentIntentPaymentMethodDataAfterpayClearpayOptions',context!), 'Alipay': JsonConverters.toJson(Alipay,'PaymentIntentPaymentMethodDataAlipayOptions',context!), 'AllowRedisplay': AllowRedisplay, 'Alma': JsonConverters.toJson(Alma,'PaymentIntentPaymentMethodDataAlmaOptions',context!), 'AmazonPay': JsonConverters.toJson(AmazonPay,'PaymentIntentPaymentMethodDataAmazonPayOptions',context!), 'AuBecsDebit': JsonConverters.toJson(AuBecsDebit,'PaymentIntentPaymentMethodDataAuBecsDebitOptions',context!), 'BacsDebit': JsonConverters.toJson(BacsDebit,'PaymentIntentPaymentMethodDataBacsDebitOptions',context!), 'Bancontact': JsonConverters.toJson(Bancontact,'PaymentIntentPaymentMethodDataBancontactOptions',context!), 'Billie': JsonConverters.toJson(Billie,'PaymentIntentPaymentMethodDataBillieOptions',context!), 'BillingDetails': JsonConverters.toJson(BillingDetails,'PaymentIntentPaymentMethodDataBillingDetailsOptions',context!), 'Blik': JsonConverters.toJson(Blik,'PaymentIntentPaymentMethodDataBlikOptions',context!), 'Boleto': JsonConverters.toJson(Boleto,'PaymentIntentPaymentMethodDataBoletoOptions',context!), 'Cashapp': JsonConverters.toJson(Cashapp,'PaymentIntentPaymentMethodDataCashappOptions',context!), 'CustomerBalance': JsonConverters.toJson(CustomerBalance,'PaymentIntentPaymentMethodDataCustomerBalanceOptions',context!), 'Eps': JsonConverters.toJson(Eps,'PaymentIntentPaymentMethodDataEpsOptions',context!), 'Fpx': JsonConverters.toJson(Fpx,'PaymentIntentPaymentMethodDataFpxOptions',context!), 'Giropay': JsonConverters.toJson(Giropay,'PaymentIntentPaymentMethodDataGiropayOptions',context!), 'Grabpay': JsonConverters.toJson(Grabpay,'PaymentIntentPaymentMethodDataGrabpayOptions',context!), 'Ideal': JsonConverters.toJson(Ideal,'PaymentIntentPaymentMethodDataIdealOptions',context!), 'InteracPresent': JsonConverters.toJson(InteracPresent,'PaymentIntentPaymentMethodDataInteracPresentOptions',context!), 'KakaoPay': JsonConverters.toJson(KakaoPay,'PaymentIntentPaymentMethodDataKakaoPayOptions',context!), 'Klarna': JsonConverters.toJson(Klarna,'PaymentIntentPaymentMethodDataKlarnaOptions',context!), 'Konbini': JsonConverters.toJson(Konbini,'PaymentIntentPaymentMethodDataKonbiniOptions',context!), 'KrCard': JsonConverters.toJson(KrCard,'PaymentIntentPaymentMethodDataKrCardOptions',context!), 'Link': JsonConverters.toJson(Link,'PaymentIntentPaymentMethodDataLinkOptions',context!), 'Metadata': Metadata, 'Mobilepay': JsonConverters.toJson(Mobilepay,'PaymentIntentPaymentMethodDataMobilepayOptions',context!), 'Multibanco': JsonConverters.toJson(Multibanco,'PaymentIntentPaymentMethodDataMultibancoOptions',context!), 'NaverPay': JsonConverters.toJson(NaverPay,'PaymentIntentPaymentMethodDataNaverPayOptions',context!), 'NzBankAccount': JsonConverters.toJson(NzBankAccount,'PaymentIntentPaymentMethodDataNzBankAccountOptions',context!), 'Oxxo': JsonConverters.toJson(Oxxo,'PaymentIntentPaymentMethodDataOxxoOptions',context!), 'P24': JsonConverters.toJson(P24,'PaymentIntentPaymentMethodDataP24Options',context!), 'PayByBank': JsonConverters.toJson(PayByBank,'PaymentIntentPaymentMethodDataPayByBankOptions',context!), 'Payco': JsonConverters.toJson(Payco,'PaymentIntentPaymentMethodDataPaycoOptions',context!), 'Paynow': JsonConverters.toJson(Paynow,'PaymentIntentPaymentMethodDataPaynowOptions',context!), 'Paypal': JsonConverters.toJson(Paypal,'PaymentIntentPaymentMethodDataPaypalOptions',context!), 'Pix': JsonConverters.toJson(Pix,'PaymentIntentPaymentMethodDataPixOptions',context!), 'Promptpay': JsonConverters.toJson(Promptpay,'PaymentIntentPaymentMethodDataPromptpayOptions',context!), 'RadarOptions': JsonConverters.toJson(RadarOptions,'PaymentIntentPaymentMethodDataRadarOptionsOptions',context!), 'RevolutPay': JsonConverters.toJson(RevolutPay,'PaymentIntentPaymentMethodDataRevolutPayOptions',context!), 'SamsungPay': JsonConverters.toJson(SamsungPay,'PaymentIntentPaymentMethodDataSamsungPayOptions',context!), 'Satispay': JsonConverters.toJson(Satispay,'PaymentIntentPaymentMethodDataSatispayOptions',context!), 'SepaDebit': JsonConverters.toJson(SepaDebit,'PaymentIntentPaymentMethodDataSepaDebitOptions',context!), 'Sofort': JsonConverters.toJson(Sofort,'PaymentIntentPaymentMethodDataSofortOptions',context!), 'Swish': JsonConverters.toJson(Swish,'PaymentIntentPaymentMethodDataSwishOptions',context!), 'Twint': JsonConverters.toJson(Twint,'PaymentIntentPaymentMethodDataTwintOptions',context!), 'Type': Type, 'UsBankAccount': JsonConverters.toJson(UsBankAccount,'PaymentIntentPaymentMethodDataUsBankAccountOptions',context!), 'WechatPay': JsonConverters.toJson(WechatPay,'PaymentIntentPaymentMethodDataWechatPayOptions',context!), 'Zip': JsonConverters.toJson(Zip,'PaymentIntentPaymentMethodDataZipOptions',context!) }; getTypeName() => "PaymentIntentPaymentMethodDataOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsAcssDebitMandateOptionsOptions implements INestedOptions, IConvertible { String? CustomMandateUrl; String? IntervalDescription; String? PaymentSchedule; String? TransactionType; PaymentIntentPaymentMethodOptionsAcssDebitMandateOptionsOptions({this.CustomMandateUrl,this.IntervalDescription,this.PaymentSchedule,this.TransactionType}); PaymentIntentPaymentMethodOptionsAcssDebitMandateOptionsOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CustomMandateUrl = json['CustomMandateUrl']; IntervalDescription = json['IntervalDescription']; PaymentSchedule = json['PaymentSchedule']; TransactionType = json['TransactionType']; return this; } Map toJson() => { 'CustomMandateUrl': CustomMandateUrl, 'IntervalDescription': IntervalDescription, 'PaymentSchedule': PaymentSchedule, 'TransactionType': TransactionType }; getTypeName() => "PaymentIntentPaymentMethodOptionsAcssDebitMandateOptionsOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsAcssDebitOptions implements INestedOptions, IConvertible { PaymentIntentPaymentMethodOptionsAcssDebitMandateOptionsOptions? MandateOptions; String? SetupFutureUsage; String? TargetDate; String? VerificationMethod; PaymentIntentPaymentMethodOptionsAcssDebitOptions({this.MandateOptions,this.SetupFutureUsage,this.TargetDate,this.VerificationMethod}); PaymentIntentPaymentMethodOptionsAcssDebitOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { MandateOptions = JsonConverters.fromJson(json['MandateOptions'],'PaymentIntentPaymentMethodOptionsAcssDebitMandateOptionsOptions',context!); SetupFutureUsage = json['SetupFutureUsage']; TargetDate = json['TargetDate']; VerificationMethod = json['VerificationMethod']; return this; } Map toJson() => { 'MandateOptions': JsonConverters.toJson(MandateOptions,'PaymentIntentPaymentMethodOptionsAcssDebitMandateOptionsOptions',context!), 'SetupFutureUsage': SetupFutureUsage, 'TargetDate': TargetDate, 'VerificationMethod': VerificationMethod }; getTypeName() => "PaymentIntentPaymentMethodOptionsAcssDebitOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsAffirmOptions implements INestedOptions, IConvertible { String? CaptureMethod; String? PreferredLocale; String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsAffirmOptions({this.CaptureMethod,this.PreferredLocale,this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsAffirmOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CaptureMethod = json['CaptureMethod']; PreferredLocale = json['PreferredLocale']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'CaptureMethod': CaptureMethod, 'PreferredLocale': PreferredLocale, 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "PaymentIntentPaymentMethodOptionsAffirmOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsAfterpayClearpayOptions implements INestedOptions, IConvertible { String? CaptureMethod; String? Reference; String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsAfterpayClearpayOptions({this.CaptureMethod,this.Reference,this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsAfterpayClearpayOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CaptureMethod = json['CaptureMethod']; Reference = json['Reference']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'CaptureMethod': CaptureMethod, 'Reference': Reference, 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "PaymentIntentPaymentMethodOptionsAfterpayClearpayOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsAlipayOptions implements INestedOptions, IConvertible { String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsAlipayOptions({this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsAlipayOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "PaymentIntentPaymentMethodOptionsAlipayOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsAlmaOptions implements INestedOptions, IConvertible { String? CaptureMethod; PaymentIntentPaymentMethodOptionsAlmaOptions({this.CaptureMethod}); PaymentIntentPaymentMethodOptionsAlmaOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CaptureMethod = json['CaptureMethod']; return this; } Map toJson() => { 'CaptureMethod': CaptureMethod }; getTypeName() => "PaymentIntentPaymentMethodOptionsAlmaOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsAmazonPayOptions implements INestedOptions, IConvertible { String? CaptureMethod; String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsAmazonPayOptions({this.CaptureMethod,this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsAmazonPayOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CaptureMethod = json['CaptureMethod']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'CaptureMethod': CaptureMethod, 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "PaymentIntentPaymentMethodOptionsAmazonPayOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsAuBecsDebitOptions implements INestedOptions, IConvertible { String? SetupFutureUsage; String? TargetDate; PaymentIntentPaymentMethodOptionsAuBecsDebitOptions({this.SetupFutureUsage,this.TargetDate}); PaymentIntentPaymentMethodOptionsAuBecsDebitOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SetupFutureUsage = json['SetupFutureUsage']; TargetDate = json['TargetDate']; return this; } Map toJson() => { 'SetupFutureUsage': SetupFutureUsage, 'TargetDate': TargetDate }; getTypeName() => "PaymentIntentPaymentMethodOptionsAuBecsDebitOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsBacsDebitMandateOptionsOptions implements INestedOptions, IConvertible { String? ReferencePrefix; PaymentIntentPaymentMethodOptionsBacsDebitMandateOptionsOptions({this.ReferencePrefix}); PaymentIntentPaymentMethodOptionsBacsDebitMandateOptionsOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ReferencePrefix = json['ReferencePrefix']; return this; } Map toJson() => { 'ReferencePrefix': ReferencePrefix }; getTypeName() => "PaymentIntentPaymentMethodOptionsBacsDebitMandateOptionsOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsBacsDebitOptions implements INestedOptions, IConvertible { PaymentIntentPaymentMethodOptionsBacsDebitMandateOptionsOptions? MandateOptions; String? SetupFutureUsage; String? TargetDate; PaymentIntentPaymentMethodOptionsBacsDebitOptions({this.MandateOptions,this.SetupFutureUsage,this.TargetDate}); PaymentIntentPaymentMethodOptionsBacsDebitOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { MandateOptions = JsonConverters.fromJson(json['MandateOptions'],'PaymentIntentPaymentMethodOptionsBacsDebitMandateOptionsOptions',context!); SetupFutureUsage = json['SetupFutureUsage']; TargetDate = json['TargetDate']; return this; } Map toJson() => { 'MandateOptions': JsonConverters.toJson(MandateOptions,'PaymentIntentPaymentMethodOptionsBacsDebitMandateOptionsOptions',context!), 'SetupFutureUsage': SetupFutureUsage, 'TargetDate': TargetDate }; getTypeName() => "PaymentIntentPaymentMethodOptionsBacsDebitOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsBancontactOptions implements INestedOptions, IConvertible { String? PreferredLanguage; String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsBancontactOptions({this.PreferredLanguage,this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsBancontactOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { PreferredLanguage = json['PreferredLanguage']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'PreferredLanguage': PreferredLanguage, 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "PaymentIntentPaymentMethodOptionsBancontactOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsBlikOptions implements INestedOptions, IConvertible { String? Code; String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsBlikOptions({this.Code,this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsBlikOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Code = json['Code']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'Code': Code, 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "PaymentIntentPaymentMethodOptionsBlikOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsBoletoOptions implements INestedOptions, IConvertible { int? ExpiresAfterDays; String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsBoletoOptions({this.ExpiresAfterDays,this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsBoletoOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ExpiresAfterDays = json['ExpiresAfterDays']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'ExpiresAfterDays': ExpiresAfterDays, 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "PaymentIntentPaymentMethodOptionsBoletoOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsCardInstallmentsPlanOptions implements INestedOptions, IConvertible { int? Count; String? Interval; String? Type; PaymentIntentPaymentMethodOptionsCardInstallmentsPlanOptions({this.Count,this.Interval,this.Type}); PaymentIntentPaymentMethodOptionsCardInstallmentsPlanOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Count = json['Count']; Interval = json['Interval']; Type = json['Type']; return this; } Map toJson() => { 'Count': Count, 'Interval': Interval, 'Type': Type }; getTypeName() => "PaymentIntentPaymentMethodOptionsCardInstallmentsPlanOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsCardInstallmentsOptions implements INestedOptions, IConvertible { bool? Enabled; PaymentIntentPaymentMethodOptionsCardInstallmentsPlanOptions? Plan; PaymentIntentPaymentMethodOptionsCardInstallmentsOptions({this.Enabled,this.Plan}); PaymentIntentPaymentMethodOptionsCardInstallmentsOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Enabled = json['Enabled']; Plan = JsonConverters.fromJson(json['Plan'],'PaymentIntentPaymentMethodOptionsCardInstallmentsPlanOptions',context!); return this; } Map toJson() => { 'Enabled': Enabled, 'Plan': JsonConverters.toJson(Plan,'PaymentIntentPaymentMethodOptionsCardInstallmentsPlanOptions',context!) }; getTypeName() => "PaymentIntentPaymentMethodOptionsCardInstallmentsOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsCardMandateOptionsOptions implements INestedOptions, IConvertible { int? Amount; String? AmountType; String? Description; DateTime? EndDate; String? Interval; int? IntervalCount; String? Reference; DateTime? StartDate; List? SupportedTypes; PaymentIntentPaymentMethodOptionsCardMandateOptionsOptions({this.Amount,this.AmountType,this.Description,this.EndDate,this.Interval,this.IntervalCount,this.Reference,this.StartDate,this.SupportedTypes}); PaymentIntentPaymentMethodOptionsCardMandateOptionsOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Amount = json['Amount']; AmountType = json['AmountType']; Description = json['Description']; EndDate = JsonConverters.fromJson(json['EndDate'],'DateTime',context!); Interval = json['Interval']; IntervalCount = json['IntervalCount']; Reference = json['Reference']; StartDate = JsonConverters.fromJson(json['StartDate'],'DateTime',context!); SupportedTypes = JsonConverters.fromJson(json['SupportedTypes'],'List',context!); return this; } Map toJson() => { 'Amount': Amount, 'AmountType': AmountType, 'Description': Description, 'EndDate': JsonConverters.toJson(EndDate,'DateTime',context!), 'Interval': Interval, 'IntervalCount': IntervalCount, 'Reference': Reference, 'StartDate': JsonConverters.toJson(StartDate,'DateTime',context!), 'SupportedTypes': JsonConverters.toJson(SupportedTypes,'List',context!) }; getTypeName() => "PaymentIntentPaymentMethodOptionsCardMandateOptionsOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsCardThreeDSecureNetworkOptionsCartesBancairesOptions implements INestedOptions, IConvertible { String? CbAvalgo; String? CbExemption; int? CbScore; PaymentIntentPaymentMethodOptionsCardThreeDSecureNetworkOptionsCartesBancairesOptions({this.CbAvalgo,this.CbExemption,this.CbScore}); PaymentIntentPaymentMethodOptionsCardThreeDSecureNetworkOptionsCartesBancairesOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CbAvalgo = json['CbAvalgo']; CbExemption = json['CbExemption']; CbScore = json['CbScore']; return this; } Map toJson() => { 'CbAvalgo': CbAvalgo, 'CbExemption': CbExemption, 'CbScore': CbScore }; getTypeName() => "PaymentIntentPaymentMethodOptionsCardThreeDSecureNetworkOptionsCartesBancairesOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsCardThreeDSecureNetworkOptionsOptions implements INestedOptions, IConvertible { PaymentIntentPaymentMethodOptionsCardThreeDSecureNetworkOptionsCartesBancairesOptions? CartesBancaires; PaymentIntentPaymentMethodOptionsCardThreeDSecureNetworkOptionsOptions({this.CartesBancaires}); PaymentIntentPaymentMethodOptionsCardThreeDSecureNetworkOptionsOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CartesBancaires = JsonConverters.fromJson(json['CartesBancaires'],'PaymentIntentPaymentMethodOptionsCardThreeDSecureNetworkOptionsCartesBancairesOptions',context!); return this; } Map toJson() => { 'CartesBancaires': JsonConverters.toJson(CartesBancaires,'PaymentIntentPaymentMethodOptionsCardThreeDSecureNetworkOptionsCartesBancairesOptions',context!) }; getTypeName() => "PaymentIntentPaymentMethodOptionsCardThreeDSecureNetworkOptionsOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsCardThreeDSecureOptions implements INestedOptions, IConvertible { String? AresTransStatus; String? Cryptogram; String? ElectronicCommerceIndicator; String? ExemptionIndicator; PaymentIntentPaymentMethodOptionsCardThreeDSecureNetworkOptionsOptions? NetworkOptions; String? RequestorChallengeIndicator; String? TransactionId; String? Version; PaymentIntentPaymentMethodOptionsCardThreeDSecureOptions({this.AresTransStatus,this.Cryptogram,this.ElectronicCommerceIndicator,this.ExemptionIndicator,this.NetworkOptions,this.RequestorChallengeIndicator,this.TransactionId,this.Version}); PaymentIntentPaymentMethodOptionsCardThreeDSecureOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AresTransStatus = json['AresTransStatus']; Cryptogram = json['Cryptogram']; ElectronicCommerceIndicator = json['ElectronicCommerceIndicator']; ExemptionIndicator = json['ExemptionIndicator']; NetworkOptions = JsonConverters.fromJson(json['NetworkOptions'],'PaymentIntentPaymentMethodOptionsCardThreeDSecureNetworkOptionsOptions',context!); RequestorChallengeIndicator = json['RequestorChallengeIndicator']; TransactionId = json['TransactionId']; Version = json['Version']; return this; } Map toJson() => { 'AresTransStatus': AresTransStatus, 'Cryptogram': Cryptogram, 'ElectronicCommerceIndicator': ElectronicCommerceIndicator, 'ExemptionIndicator': ExemptionIndicator, 'NetworkOptions': JsonConverters.toJson(NetworkOptions,'PaymentIntentPaymentMethodOptionsCardThreeDSecureNetworkOptionsOptions',context!), 'RequestorChallengeIndicator': RequestorChallengeIndicator, 'TransactionId': TransactionId, 'Version': Version }; getTypeName() => "PaymentIntentPaymentMethodOptionsCardThreeDSecureOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsCardOptions implements INestedOptions, IConvertible { String? CaptureMethod; String? CvcToken; PaymentIntentPaymentMethodOptionsCardInstallmentsOptions? Installments; PaymentIntentPaymentMethodOptionsCardMandateOptionsOptions? MandateOptions; bool? Moto; String? Network; String? RequestExtendedAuthorization; String? RequestIncrementalAuthorization; String? RequestMulticapture; String? RequestOvercapture; String? RequestThreeDSecure; bool? RequireCvcRecollection; String? SetupFutureUsage; String? StatementDescriptorSuffixKana; String? StatementDescriptorSuffixKanji; PaymentIntentPaymentMethodOptionsCardThreeDSecureOptions? ThreeDSecure; PaymentIntentPaymentMethodOptionsCardOptions({this.CaptureMethod,this.CvcToken,this.Installments,this.MandateOptions,this.Moto,this.Network,this.RequestExtendedAuthorization,this.RequestIncrementalAuthorization,this.RequestMulticapture,this.RequestOvercapture,this.RequestThreeDSecure,this.RequireCvcRecollection,this.SetupFutureUsage,this.StatementDescriptorSuffixKana,this.StatementDescriptorSuffixKanji,this.ThreeDSecure}); PaymentIntentPaymentMethodOptionsCardOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CaptureMethod = json['CaptureMethod']; CvcToken = json['CvcToken']; Installments = JsonConverters.fromJson(json['Installments'],'PaymentIntentPaymentMethodOptionsCardInstallmentsOptions',context!); MandateOptions = JsonConverters.fromJson(json['MandateOptions'],'PaymentIntentPaymentMethodOptionsCardMandateOptionsOptions',context!); Moto = json['Moto']; Network = json['Network']; RequestExtendedAuthorization = json['RequestExtendedAuthorization']; RequestIncrementalAuthorization = json['RequestIncrementalAuthorization']; RequestMulticapture = json['RequestMulticapture']; RequestOvercapture = json['RequestOvercapture']; RequestThreeDSecure = json['RequestThreeDSecure']; RequireCvcRecollection = json['RequireCvcRecollection']; SetupFutureUsage = json['SetupFutureUsage']; StatementDescriptorSuffixKana = json['StatementDescriptorSuffixKana']; StatementDescriptorSuffixKanji = json['StatementDescriptorSuffixKanji']; ThreeDSecure = JsonConverters.fromJson(json['ThreeDSecure'],'PaymentIntentPaymentMethodOptionsCardThreeDSecureOptions',context!); return this; } Map toJson() => { 'CaptureMethod': CaptureMethod, 'CvcToken': CvcToken, 'Installments': JsonConverters.toJson(Installments,'PaymentIntentPaymentMethodOptionsCardInstallmentsOptions',context!), 'MandateOptions': JsonConverters.toJson(MandateOptions,'PaymentIntentPaymentMethodOptionsCardMandateOptionsOptions',context!), 'Moto': Moto, 'Network': Network, 'RequestExtendedAuthorization': RequestExtendedAuthorization, 'RequestIncrementalAuthorization': RequestIncrementalAuthorization, 'RequestMulticapture': RequestMulticapture, 'RequestOvercapture': RequestOvercapture, 'RequestThreeDSecure': RequestThreeDSecure, 'RequireCvcRecollection': RequireCvcRecollection, 'SetupFutureUsage': SetupFutureUsage, 'StatementDescriptorSuffixKana': StatementDescriptorSuffixKana, 'StatementDescriptorSuffixKanji': StatementDescriptorSuffixKanji, 'ThreeDSecure': JsonConverters.toJson(ThreeDSecure,'PaymentIntentPaymentMethodOptionsCardThreeDSecureOptions',context!) }; getTypeName() => "PaymentIntentPaymentMethodOptionsCardOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsCardPresentRoutingOptions implements INestedOptions, IConvertible { String? RequestedPriority; PaymentIntentPaymentMethodOptionsCardPresentRoutingOptions({this.RequestedPriority}); PaymentIntentPaymentMethodOptionsCardPresentRoutingOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { RequestedPriority = json['RequestedPriority']; return this; } Map toJson() => { 'RequestedPriority': RequestedPriority }; getTypeName() => "PaymentIntentPaymentMethodOptionsCardPresentRoutingOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsCardPresentOptions implements INestedOptions, IConvertible { bool? RequestExtendedAuthorization; bool? RequestIncrementalAuthorizationSupport; PaymentIntentPaymentMethodOptionsCardPresentRoutingOptions? Routing; PaymentIntentPaymentMethodOptionsCardPresentOptions({this.RequestExtendedAuthorization,this.RequestIncrementalAuthorizationSupport,this.Routing}); PaymentIntentPaymentMethodOptionsCardPresentOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { RequestExtendedAuthorization = json['RequestExtendedAuthorization']; RequestIncrementalAuthorizationSupport = json['RequestIncrementalAuthorizationSupport']; Routing = JsonConverters.fromJson(json['Routing'],'PaymentIntentPaymentMethodOptionsCardPresentRoutingOptions',context!); return this; } Map toJson() => { 'RequestExtendedAuthorization': RequestExtendedAuthorization, 'RequestIncrementalAuthorizationSupport': RequestIncrementalAuthorizationSupport, 'Routing': JsonConverters.toJson(Routing,'PaymentIntentPaymentMethodOptionsCardPresentRoutingOptions',context!) }; getTypeName() => "PaymentIntentPaymentMethodOptionsCardPresentOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsCashappOptions implements INestedOptions, IConvertible { String? CaptureMethod; String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsCashappOptions({this.CaptureMethod,this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsCashappOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CaptureMethod = json['CaptureMethod']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'CaptureMethod': CaptureMethod, 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "PaymentIntentPaymentMethodOptionsCashappOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferOptions implements INestedOptions, IConvertible { String? Country; PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferOptions({this.Country}); PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Country = json['Country']; return this; } Map toJson() => { 'Country': Country }; getTypeName() => "PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferOptions implements INestedOptions, IConvertible { PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferOptions? EuBankTransfer; List? RequestedAddressTypes; String? Type; PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferOptions({this.EuBankTransfer,this.RequestedAddressTypes,this.Type}); PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { EuBankTransfer = JsonConverters.fromJson(json['EuBankTransfer'],'PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferOptions',context!); RequestedAddressTypes = JsonConverters.fromJson(json['RequestedAddressTypes'],'List',context!); Type = json['Type']; return this; } Map toJson() => { 'EuBankTransfer': JsonConverters.toJson(EuBankTransfer,'PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferOptions',context!), 'RequestedAddressTypes': JsonConverters.toJson(RequestedAddressTypes,'List',context!), 'Type': Type }; getTypeName() => "PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsCustomerBalanceOptions implements INestedOptions, IConvertible { PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferOptions? BankTransfer; String? FundingType; String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsCustomerBalanceOptions({this.BankTransfer,this.FundingType,this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsCustomerBalanceOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { BankTransfer = JsonConverters.fromJson(json['BankTransfer'],'PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferOptions',context!); FundingType = json['FundingType']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'BankTransfer': JsonConverters.toJson(BankTransfer,'PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferOptions',context!), 'FundingType': FundingType, 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "PaymentIntentPaymentMethodOptionsCustomerBalanceOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsEpsOptions implements INestedOptions, IConvertible { String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsEpsOptions({this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsEpsOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "PaymentIntentPaymentMethodOptionsEpsOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsFpxOptions implements INestedOptions, IConvertible { String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsFpxOptions({this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsFpxOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "PaymentIntentPaymentMethodOptionsFpxOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsGiropayOptions implements INestedOptions, IConvertible { String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsGiropayOptions({this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsGiropayOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "PaymentIntentPaymentMethodOptionsGiropayOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsGrabpayOptions implements INestedOptions, IConvertible { String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsGrabpayOptions({this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsGrabpayOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "PaymentIntentPaymentMethodOptionsGrabpayOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsIdealOptions implements INestedOptions, IConvertible { String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsIdealOptions({this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsIdealOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "PaymentIntentPaymentMethodOptionsIdealOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsInteracPresentOptions implements INestedOptions, IConvertible { PaymentIntentPaymentMethodOptionsInteracPresentOptions(); PaymentIntentPaymentMethodOptionsInteracPresentOptions.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "PaymentIntentPaymentMethodOptionsInteracPresentOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsKakaoPayOptions implements INestedOptions, IConvertible { String? CaptureMethod; String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsKakaoPayOptions({this.CaptureMethod,this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsKakaoPayOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CaptureMethod = json['CaptureMethod']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'CaptureMethod': CaptureMethod, 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "PaymentIntentPaymentMethodOptionsKakaoPayOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsKlarnaOptions implements INestedOptions, IConvertible { String? CaptureMethod; String? PreferredLocale; String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsKlarnaOptions({this.CaptureMethod,this.PreferredLocale,this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsKlarnaOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CaptureMethod = json['CaptureMethod']; PreferredLocale = json['PreferredLocale']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'CaptureMethod': CaptureMethod, 'PreferredLocale': PreferredLocale, 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "PaymentIntentPaymentMethodOptionsKlarnaOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsKonbiniOptions implements INestedOptions, IConvertible { String? ConfirmationNumber; int? ExpiresAfterDays; DateTime? ExpiresAt; String? ProductDescription; String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsKonbiniOptions({this.ConfirmationNumber,this.ExpiresAfterDays,this.ExpiresAt,this.ProductDescription,this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsKonbiniOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ConfirmationNumber = json['ConfirmationNumber']; ExpiresAfterDays = json['ExpiresAfterDays']; ExpiresAt = JsonConverters.fromJson(json['ExpiresAt'],'DateTime',context!); ProductDescription = json['ProductDescription']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'ConfirmationNumber': ConfirmationNumber, 'ExpiresAfterDays': ExpiresAfterDays, 'ExpiresAt': JsonConverters.toJson(ExpiresAt,'DateTime',context!), 'ProductDescription': ProductDescription, 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "PaymentIntentPaymentMethodOptionsKonbiniOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsKrCardOptions implements INestedOptions, IConvertible { String? CaptureMethod; String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsKrCardOptions({this.CaptureMethod,this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsKrCardOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CaptureMethod = json['CaptureMethod']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'CaptureMethod': CaptureMethod, 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "PaymentIntentPaymentMethodOptionsKrCardOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsLinkOptions implements INestedOptions, IConvertible { String? CaptureMethod; String? PersistentToken; String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsLinkOptions({this.CaptureMethod,this.PersistentToken,this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsLinkOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CaptureMethod = json['CaptureMethod']; PersistentToken = json['PersistentToken']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'CaptureMethod': CaptureMethod, 'PersistentToken': PersistentToken, 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "PaymentIntentPaymentMethodOptionsLinkOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsMobilepayOptions implements INestedOptions, IConvertible { String? CaptureMethod; String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsMobilepayOptions({this.CaptureMethod,this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsMobilepayOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CaptureMethod = json['CaptureMethod']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'CaptureMethod': CaptureMethod, 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "PaymentIntentPaymentMethodOptionsMobilepayOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsMultibancoOptions implements INestedOptions, IConvertible { String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsMultibancoOptions({this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsMultibancoOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "PaymentIntentPaymentMethodOptionsMultibancoOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsNaverPayOptions implements INestedOptions, IConvertible { String? CaptureMethod; String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsNaverPayOptions({this.CaptureMethod,this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsNaverPayOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CaptureMethod = json['CaptureMethod']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'CaptureMethod': CaptureMethod, 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "PaymentIntentPaymentMethodOptionsNaverPayOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsNzBankAccountOptions implements INestedOptions, IConvertible { String? SetupFutureUsage; String? TargetDate; PaymentIntentPaymentMethodOptionsNzBankAccountOptions({this.SetupFutureUsage,this.TargetDate}); PaymentIntentPaymentMethodOptionsNzBankAccountOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SetupFutureUsage = json['SetupFutureUsage']; TargetDate = json['TargetDate']; return this; } Map toJson() => { 'SetupFutureUsage': SetupFutureUsage, 'TargetDate': TargetDate }; getTypeName() => "PaymentIntentPaymentMethodOptionsNzBankAccountOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsOxxoOptions implements INestedOptions, IConvertible { int? ExpiresAfterDays; String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsOxxoOptions({this.ExpiresAfterDays,this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsOxxoOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ExpiresAfterDays = json['ExpiresAfterDays']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'ExpiresAfterDays': ExpiresAfterDays, 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "PaymentIntentPaymentMethodOptionsOxxoOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsP24Options implements INestedOptions, IConvertible { String? SetupFutureUsage; bool? TosShownAndAccepted; PaymentIntentPaymentMethodOptionsP24Options({this.SetupFutureUsage,this.TosShownAndAccepted}); PaymentIntentPaymentMethodOptionsP24Options.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SetupFutureUsage = json['SetupFutureUsage']; TosShownAndAccepted = json['TosShownAndAccepted']; return this; } Map toJson() => { 'SetupFutureUsage': SetupFutureUsage, 'TosShownAndAccepted': TosShownAndAccepted }; getTypeName() => "PaymentIntentPaymentMethodOptionsP24Options"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsPayByBankOptions implements INestedOptions, IConvertible { PaymentIntentPaymentMethodOptionsPayByBankOptions(); PaymentIntentPaymentMethodOptionsPayByBankOptions.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "PaymentIntentPaymentMethodOptionsPayByBankOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsPaycoOptions implements INestedOptions, IConvertible { String? CaptureMethod; PaymentIntentPaymentMethodOptionsPaycoOptions({this.CaptureMethod}); PaymentIntentPaymentMethodOptionsPaycoOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CaptureMethod = json['CaptureMethod']; return this; } Map toJson() => { 'CaptureMethod': CaptureMethod }; getTypeName() => "PaymentIntentPaymentMethodOptionsPaycoOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsPaynowOptions implements INestedOptions, IConvertible { String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsPaynowOptions({this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsPaynowOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "PaymentIntentPaymentMethodOptionsPaynowOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsPaypalOptions implements INestedOptions, IConvertible { String? CaptureMethod; String? PreferredLocale; String? Reference; String? RiskCorrelationId; String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsPaypalOptions({this.CaptureMethod,this.PreferredLocale,this.Reference,this.RiskCorrelationId,this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsPaypalOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CaptureMethod = json['CaptureMethod']; PreferredLocale = json['PreferredLocale']; Reference = json['Reference']; RiskCorrelationId = json['RiskCorrelationId']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'CaptureMethod': CaptureMethod, 'PreferredLocale': PreferredLocale, 'Reference': Reference, 'RiskCorrelationId': RiskCorrelationId, 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "PaymentIntentPaymentMethodOptionsPaypalOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsPixOptions implements INestedOptions, IConvertible { int? ExpiresAfterSeconds; DateTime? ExpiresAt; String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsPixOptions({this.ExpiresAfterSeconds,this.ExpiresAt,this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsPixOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ExpiresAfterSeconds = json['ExpiresAfterSeconds']; ExpiresAt = JsonConverters.fromJson(json['ExpiresAt'],'DateTime',context!); SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'ExpiresAfterSeconds': ExpiresAfterSeconds, 'ExpiresAt': JsonConverters.toJson(ExpiresAt,'DateTime',context!), 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "PaymentIntentPaymentMethodOptionsPixOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsPromptpayOptions implements INestedOptions, IConvertible { String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsPromptpayOptions({this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsPromptpayOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "PaymentIntentPaymentMethodOptionsPromptpayOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsRevolutPayOptions implements INestedOptions, IConvertible { String? CaptureMethod; String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsRevolutPayOptions({this.CaptureMethod,this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsRevolutPayOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CaptureMethod = json['CaptureMethod']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'CaptureMethod': CaptureMethod, 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "PaymentIntentPaymentMethodOptionsRevolutPayOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsSamsungPayOptions implements INestedOptions, IConvertible { String? CaptureMethod; PaymentIntentPaymentMethodOptionsSamsungPayOptions({this.CaptureMethod}); PaymentIntentPaymentMethodOptionsSamsungPayOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CaptureMethod = json['CaptureMethod']; return this; } Map toJson() => { 'CaptureMethod': CaptureMethod }; getTypeName() => "PaymentIntentPaymentMethodOptionsSamsungPayOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsSepaDebitMandateOptionsOptions implements INestedOptions, IConvertible { String? ReferencePrefix; PaymentIntentPaymentMethodOptionsSepaDebitMandateOptionsOptions({this.ReferencePrefix}); PaymentIntentPaymentMethodOptionsSepaDebitMandateOptionsOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ReferencePrefix = json['ReferencePrefix']; return this; } Map toJson() => { 'ReferencePrefix': ReferencePrefix }; getTypeName() => "PaymentIntentPaymentMethodOptionsSepaDebitMandateOptionsOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsSepaDebitOptions implements INestedOptions, IConvertible { PaymentIntentPaymentMethodOptionsSepaDebitMandateOptionsOptions? MandateOptions; String? SetupFutureUsage; String? TargetDate; PaymentIntentPaymentMethodOptionsSepaDebitOptions({this.MandateOptions,this.SetupFutureUsage,this.TargetDate}); PaymentIntentPaymentMethodOptionsSepaDebitOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { MandateOptions = JsonConverters.fromJson(json['MandateOptions'],'PaymentIntentPaymentMethodOptionsSepaDebitMandateOptionsOptions',context!); SetupFutureUsage = json['SetupFutureUsage']; TargetDate = json['TargetDate']; return this; } Map toJson() => { 'MandateOptions': JsonConverters.toJson(MandateOptions,'PaymentIntentPaymentMethodOptionsSepaDebitMandateOptionsOptions',context!), 'SetupFutureUsage': SetupFutureUsage, 'TargetDate': TargetDate }; getTypeName() => "PaymentIntentPaymentMethodOptionsSepaDebitOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsSofortOptions implements INestedOptions, IConvertible { String? PreferredLanguage; String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsSofortOptions({this.PreferredLanguage,this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsSofortOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { PreferredLanguage = json['PreferredLanguage']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'PreferredLanguage': PreferredLanguage, 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "PaymentIntentPaymentMethodOptionsSofortOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsSwishOptions implements INestedOptions, IConvertible { String? Reference; String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsSwishOptions({this.Reference,this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsSwishOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Reference = json['Reference']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'Reference': Reference, 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "PaymentIntentPaymentMethodOptionsSwishOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsTwintOptions implements INestedOptions, IConvertible { String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsTwintOptions({this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsTwintOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "PaymentIntentPaymentMethodOptionsTwintOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersOptions implements INestedOptions, IConvertible { List? AccountSubcategories; PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersOptions({this.AccountSubcategories}); PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AccountSubcategories = JsonConverters.fromJson(json['AccountSubcategories'],'List',context!); return this; } Map toJson() => { 'AccountSubcategories': JsonConverters.toJson(AccountSubcategories,'List',context!) }; getTypeName() => "PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsOptions implements INestedOptions, IConvertible { PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersOptions? Filters; List? Permissions; List? Prefetch; String? ReturnUrl; PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsOptions({this.Filters,this.Permissions,this.Prefetch,this.ReturnUrl}); PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Filters = JsonConverters.fromJson(json['Filters'],'PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersOptions',context!); Permissions = JsonConverters.fromJson(json['Permissions'],'List',context!); Prefetch = JsonConverters.fromJson(json['Prefetch'],'List',context!); ReturnUrl = json['ReturnUrl']; return this; } Map toJson() => { 'Filters': JsonConverters.toJson(Filters,'PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersOptions',context!), 'Permissions': JsonConverters.toJson(Permissions,'List',context!), 'Prefetch': JsonConverters.toJson(Prefetch,'List',context!), 'ReturnUrl': ReturnUrl }; getTypeName() => "PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsUsBankAccountMandateOptionsOptions implements INestedOptions, IConvertible { String? CollectionMethod; PaymentIntentPaymentMethodOptionsUsBankAccountMandateOptionsOptions({this.CollectionMethod}); PaymentIntentPaymentMethodOptionsUsBankAccountMandateOptionsOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CollectionMethod = json['CollectionMethod']; return this; } Map toJson() => { 'CollectionMethod': CollectionMethod }; getTypeName() => "PaymentIntentPaymentMethodOptionsUsBankAccountMandateOptionsOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsUsBankAccountNetworksOptions implements INestedOptions, IConvertible { List? Requested; PaymentIntentPaymentMethodOptionsUsBankAccountNetworksOptions({this.Requested}); PaymentIntentPaymentMethodOptionsUsBankAccountNetworksOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Requested = JsonConverters.fromJson(json['Requested'],'List',context!); return this; } Map toJson() => { 'Requested': JsonConverters.toJson(Requested,'List',context!) }; getTypeName() => "PaymentIntentPaymentMethodOptionsUsBankAccountNetworksOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsUsBankAccountOptions implements INestedOptions, IConvertible { PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsOptions? FinancialConnections; PaymentIntentPaymentMethodOptionsUsBankAccountMandateOptionsOptions? MandateOptions; PaymentIntentPaymentMethodOptionsUsBankAccountNetworksOptions? Networks; String? PreferredSettlementSpeed; String? SetupFutureUsage; String? TargetDate; String? VerificationMethod; PaymentIntentPaymentMethodOptionsUsBankAccountOptions({this.FinancialConnections,this.MandateOptions,this.Networks,this.PreferredSettlementSpeed,this.SetupFutureUsage,this.TargetDate,this.VerificationMethod}); PaymentIntentPaymentMethodOptionsUsBankAccountOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { FinancialConnections = JsonConverters.fromJson(json['FinancialConnections'],'PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsOptions',context!); MandateOptions = JsonConverters.fromJson(json['MandateOptions'],'PaymentIntentPaymentMethodOptionsUsBankAccountMandateOptionsOptions',context!); Networks = JsonConverters.fromJson(json['Networks'],'PaymentIntentPaymentMethodOptionsUsBankAccountNetworksOptions',context!); PreferredSettlementSpeed = json['PreferredSettlementSpeed']; SetupFutureUsage = json['SetupFutureUsage']; TargetDate = json['TargetDate']; VerificationMethod = json['VerificationMethod']; return this; } Map toJson() => { 'FinancialConnections': JsonConverters.toJson(FinancialConnections,'PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsOptions',context!), 'MandateOptions': JsonConverters.toJson(MandateOptions,'PaymentIntentPaymentMethodOptionsUsBankAccountMandateOptionsOptions',context!), 'Networks': JsonConverters.toJson(Networks,'PaymentIntentPaymentMethodOptionsUsBankAccountNetworksOptions',context!), 'PreferredSettlementSpeed': PreferredSettlementSpeed, 'SetupFutureUsage': SetupFutureUsage, 'TargetDate': TargetDate, 'VerificationMethod': VerificationMethod }; getTypeName() => "PaymentIntentPaymentMethodOptionsUsBankAccountOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsWechatPayOptions implements INestedOptions, IConvertible { String? AppId; String? Client; String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsWechatPayOptions({this.AppId,this.Client,this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsWechatPayOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AppId = json['AppId']; Client = json['Client']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'AppId': AppId, 'Client': Client, 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "PaymentIntentPaymentMethodOptionsWechatPayOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsZipOptions implements INestedOptions, IConvertible { String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsZipOptions({this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsZipOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => { 'SetupFutureUsage': SetupFutureUsage }; getTypeName() => "PaymentIntentPaymentMethodOptionsZipOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsOptions implements INestedOptions, IConvertible { PaymentIntentPaymentMethodOptionsAcssDebitOptions? AcssDebit; PaymentIntentPaymentMethodOptionsAffirmOptions? Affirm; PaymentIntentPaymentMethodOptionsAfterpayClearpayOptions? AfterpayClearpay; PaymentIntentPaymentMethodOptionsAlipayOptions? Alipay; PaymentIntentPaymentMethodOptionsAlmaOptions? Alma; PaymentIntentPaymentMethodOptionsAmazonPayOptions? AmazonPay; PaymentIntentPaymentMethodOptionsAuBecsDebitOptions? AuBecsDebit; PaymentIntentPaymentMethodOptionsBacsDebitOptions? BacsDebit; PaymentIntentPaymentMethodOptionsBancontactOptions? Bancontact; PaymentIntentPaymentMethodOptionsBlikOptions? Blik; PaymentIntentPaymentMethodOptionsBoletoOptions? Boleto; PaymentIntentPaymentMethodOptionsCardOptions? Card; PaymentIntentPaymentMethodOptionsCardPresentOptions? CardPresent; PaymentIntentPaymentMethodOptionsCashappOptions? Cashapp; PaymentIntentPaymentMethodOptionsCustomerBalanceOptions? CustomerBalance; PaymentIntentPaymentMethodOptionsEpsOptions? Eps; PaymentIntentPaymentMethodOptionsFpxOptions? Fpx; PaymentIntentPaymentMethodOptionsGiropayOptions? Giropay; PaymentIntentPaymentMethodOptionsGrabpayOptions? Grabpay; PaymentIntentPaymentMethodOptionsIdealOptions? Ideal; PaymentIntentPaymentMethodOptionsInteracPresentOptions? InteracPresent; PaymentIntentPaymentMethodOptionsKakaoPayOptions? KakaoPay; PaymentIntentPaymentMethodOptionsKlarnaOptions? Klarna; PaymentIntentPaymentMethodOptionsKonbiniOptions? Konbini; PaymentIntentPaymentMethodOptionsKrCardOptions? KrCard; PaymentIntentPaymentMethodOptionsLinkOptions? Link; PaymentIntentPaymentMethodOptionsMobilepayOptions? Mobilepay; PaymentIntentPaymentMethodOptionsMultibancoOptions? Multibanco; PaymentIntentPaymentMethodOptionsNaverPayOptions? NaverPay; PaymentIntentPaymentMethodOptionsNzBankAccountOptions? NzBankAccount; PaymentIntentPaymentMethodOptionsOxxoOptions? Oxxo; PaymentIntentPaymentMethodOptionsP24Options? P24; PaymentIntentPaymentMethodOptionsPayByBankOptions? PayByBank; PaymentIntentPaymentMethodOptionsPaycoOptions? Payco; PaymentIntentPaymentMethodOptionsPaynowOptions? Paynow; PaymentIntentPaymentMethodOptionsPaypalOptions? Paypal; PaymentIntentPaymentMethodOptionsPixOptions? Pix; PaymentIntentPaymentMethodOptionsPromptpayOptions? Promptpay; PaymentIntentPaymentMethodOptionsRevolutPayOptions? RevolutPay; PaymentIntentPaymentMethodOptionsSamsungPayOptions? SamsungPay; PaymentIntentPaymentMethodOptionsSepaDebitOptions? SepaDebit; PaymentIntentPaymentMethodOptionsSofortOptions? Sofort; PaymentIntentPaymentMethodOptionsSwishOptions? Swish; PaymentIntentPaymentMethodOptionsTwintOptions? Twint; PaymentIntentPaymentMethodOptionsUsBankAccountOptions? UsBankAccount; PaymentIntentPaymentMethodOptionsWechatPayOptions? WechatPay; PaymentIntentPaymentMethodOptionsZipOptions? Zip; PaymentIntentPaymentMethodOptionsOptions({this.AcssDebit,this.Affirm,this.AfterpayClearpay,this.Alipay,this.Alma,this.AmazonPay,this.AuBecsDebit,this.BacsDebit,this.Bancontact,this.Blik,this.Boleto,this.Card,this.CardPresent,this.Cashapp,this.CustomerBalance,this.Eps,this.Fpx,this.Giropay,this.Grabpay,this.Ideal,this.InteracPresent,this.KakaoPay,this.Klarna,this.Konbini,this.KrCard,this.Link,this.Mobilepay,this.Multibanco,this.NaverPay,this.NzBankAccount,this.Oxxo,this.P24,this.PayByBank,this.Payco,this.Paynow,this.Paypal,this.Pix,this.Promptpay,this.RevolutPay,this.SamsungPay,this.SepaDebit,this.Sofort,this.Swish,this.Twint,this.UsBankAccount,this.WechatPay,this.Zip}); PaymentIntentPaymentMethodOptionsOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AcssDebit = JsonConverters.fromJson(json['AcssDebit'],'PaymentIntentPaymentMethodOptionsAcssDebitOptions',context!); Affirm = JsonConverters.fromJson(json['Affirm'],'PaymentIntentPaymentMethodOptionsAffirmOptions',context!); AfterpayClearpay = JsonConverters.fromJson(json['AfterpayClearpay'],'PaymentIntentPaymentMethodOptionsAfterpayClearpayOptions',context!); Alipay = JsonConverters.fromJson(json['Alipay'],'PaymentIntentPaymentMethodOptionsAlipayOptions',context!); Alma = JsonConverters.fromJson(json['Alma'],'PaymentIntentPaymentMethodOptionsAlmaOptions',context!); AmazonPay = JsonConverters.fromJson(json['AmazonPay'],'PaymentIntentPaymentMethodOptionsAmazonPayOptions',context!); AuBecsDebit = JsonConverters.fromJson(json['AuBecsDebit'],'PaymentIntentPaymentMethodOptionsAuBecsDebitOptions',context!); BacsDebit = JsonConverters.fromJson(json['BacsDebit'],'PaymentIntentPaymentMethodOptionsBacsDebitOptions',context!); Bancontact = JsonConverters.fromJson(json['Bancontact'],'PaymentIntentPaymentMethodOptionsBancontactOptions',context!); Blik = JsonConverters.fromJson(json['Blik'],'PaymentIntentPaymentMethodOptionsBlikOptions',context!); Boleto = JsonConverters.fromJson(json['Boleto'],'PaymentIntentPaymentMethodOptionsBoletoOptions',context!); Card = JsonConverters.fromJson(json['Card'],'PaymentIntentPaymentMethodOptionsCardOptions',context!); CardPresent = JsonConverters.fromJson(json['CardPresent'],'PaymentIntentPaymentMethodOptionsCardPresentOptions',context!); Cashapp = JsonConverters.fromJson(json['Cashapp'],'PaymentIntentPaymentMethodOptionsCashappOptions',context!); CustomerBalance = JsonConverters.fromJson(json['CustomerBalance'],'PaymentIntentPaymentMethodOptionsCustomerBalanceOptions',context!); Eps = JsonConverters.fromJson(json['Eps'],'PaymentIntentPaymentMethodOptionsEpsOptions',context!); Fpx = JsonConverters.fromJson(json['Fpx'],'PaymentIntentPaymentMethodOptionsFpxOptions',context!); Giropay = JsonConverters.fromJson(json['Giropay'],'PaymentIntentPaymentMethodOptionsGiropayOptions',context!); Grabpay = JsonConverters.fromJson(json['Grabpay'],'PaymentIntentPaymentMethodOptionsGrabpayOptions',context!); Ideal = JsonConverters.fromJson(json['Ideal'],'PaymentIntentPaymentMethodOptionsIdealOptions',context!); InteracPresent = JsonConverters.fromJson(json['InteracPresent'],'PaymentIntentPaymentMethodOptionsInteracPresentOptions',context!); KakaoPay = JsonConverters.fromJson(json['KakaoPay'],'PaymentIntentPaymentMethodOptionsKakaoPayOptions',context!); Klarna = JsonConverters.fromJson(json['Klarna'],'PaymentIntentPaymentMethodOptionsKlarnaOptions',context!); Konbini = JsonConverters.fromJson(json['Konbini'],'PaymentIntentPaymentMethodOptionsKonbiniOptions',context!); KrCard = JsonConverters.fromJson(json['KrCard'],'PaymentIntentPaymentMethodOptionsKrCardOptions',context!); Link = JsonConverters.fromJson(json['Link'],'PaymentIntentPaymentMethodOptionsLinkOptions',context!); Mobilepay = JsonConverters.fromJson(json['Mobilepay'],'PaymentIntentPaymentMethodOptionsMobilepayOptions',context!); Multibanco = JsonConverters.fromJson(json['Multibanco'],'PaymentIntentPaymentMethodOptionsMultibancoOptions',context!); NaverPay = JsonConverters.fromJson(json['NaverPay'],'PaymentIntentPaymentMethodOptionsNaverPayOptions',context!); NzBankAccount = JsonConverters.fromJson(json['NzBankAccount'],'PaymentIntentPaymentMethodOptionsNzBankAccountOptions',context!); Oxxo = JsonConverters.fromJson(json['Oxxo'],'PaymentIntentPaymentMethodOptionsOxxoOptions',context!); P24 = JsonConverters.fromJson(json['P24'],'PaymentIntentPaymentMethodOptionsP24Options',context!); PayByBank = JsonConverters.fromJson(json['PayByBank'],'PaymentIntentPaymentMethodOptionsPayByBankOptions',context!); Payco = JsonConverters.fromJson(json['Payco'],'PaymentIntentPaymentMethodOptionsPaycoOptions',context!); Paynow = JsonConverters.fromJson(json['Paynow'],'PaymentIntentPaymentMethodOptionsPaynowOptions',context!); Paypal = JsonConverters.fromJson(json['Paypal'],'PaymentIntentPaymentMethodOptionsPaypalOptions',context!); Pix = JsonConverters.fromJson(json['Pix'],'PaymentIntentPaymentMethodOptionsPixOptions',context!); Promptpay = JsonConverters.fromJson(json['Promptpay'],'PaymentIntentPaymentMethodOptionsPromptpayOptions',context!); RevolutPay = JsonConverters.fromJson(json['RevolutPay'],'PaymentIntentPaymentMethodOptionsRevolutPayOptions',context!); SamsungPay = JsonConverters.fromJson(json['SamsungPay'],'PaymentIntentPaymentMethodOptionsSamsungPayOptions',context!); SepaDebit = JsonConverters.fromJson(json['SepaDebit'],'PaymentIntentPaymentMethodOptionsSepaDebitOptions',context!); Sofort = JsonConverters.fromJson(json['Sofort'],'PaymentIntentPaymentMethodOptionsSofortOptions',context!); Swish = JsonConverters.fromJson(json['Swish'],'PaymentIntentPaymentMethodOptionsSwishOptions',context!); Twint = JsonConverters.fromJson(json['Twint'],'PaymentIntentPaymentMethodOptionsTwintOptions',context!); UsBankAccount = JsonConverters.fromJson(json['UsBankAccount'],'PaymentIntentPaymentMethodOptionsUsBankAccountOptions',context!); WechatPay = JsonConverters.fromJson(json['WechatPay'],'PaymentIntentPaymentMethodOptionsWechatPayOptions',context!); Zip = JsonConverters.fromJson(json['Zip'],'PaymentIntentPaymentMethodOptionsZipOptions',context!); return this; } Map toJson() => { 'AcssDebit': JsonConverters.toJson(AcssDebit,'PaymentIntentPaymentMethodOptionsAcssDebitOptions',context!), 'Affirm': JsonConverters.toJson(Affirm,'PaymentIntentPaymentMethodOptionsAffirmOptions',context!), 'AfterpayClearpay': JsonConverters.toJson(AfterpayClearpay,'PaymentIntentPaymentMethodOptionsAfterpayClearpayOptions',context!), 'Alipay': JsonConverters.toJson(Alipay,'PaymentIntentPaymentMethodOptionsAlipayOptions',context!), 'Alma': JsonConverters.toJson(Alma,'PaymentIntentPaymentMethodOptionsAlmaOptions',context!), 'AmazonPay': JsonConverters.toJson(AmazonPay,'PaymentIntentPaymentMethodOptionsAmazonPayOptions',context!), 'AuBecsDebit': JsonConverters.toJson(AuBecsDebit,'PaymentIntentPaymentMethodOptionsAuBecsDebitOptions',context!), 'BacsDebit': JsonConverters.toJson(BacsDebit,'PaymentIntentPaymentMethodOptionsBacsDebitOptions',context!), 'Bancontact': JsonConverters.toJson(Bancontact,'PaymentIntentPaymentMethodOptionsBancontactOptions',context!), 'Blik': JsonConverters.toJson(Blik,'PaymentIntentPaymentMethodOptionsBlikOptions',context!), 'Boleto': JsonConverters.toJson(Boleto,'PaymentIntentPaymentMethodOptionsBoletoOptions',context!), 'Card': JsonConverters.toJson(Card,'PaymentIntentPaymentMethodOptionsCardOptions',context!), 'CardPresent': JsonConverters.toJson(CardPresent,'PaymentIntentPaymentMethodOptionsCardPresentOptions',context!), 'Cashapp': JsonConverters.toJson(Cashapp,'PaymentIntentPaymentMethodOptionsCashappOptions',context!), 'CustomerBalance': JsonConverters.toJson(CustomerBalance,'PaymentIntentPaymentMethodOptionsCustomerBalanceOptions',context!), 'Eps': JsonConverters.toJson(Eps,'PaymentIntentPaymentMethodOptionsEpsOptions',context!), 'Fpx': JsonConverters.toJson(Fpx,'PaymentIntentPaymentMethodOptionsFpxOptions',context!), 'Giropay': JsonConverters.toJson(Giropay,'PaymentIntentPaymentMethodOptionsGiropayOptions',context!), 'Grabpay': JsonConverters.toJson(Grabpay,'PaymentIntentPaymentMethodOptionsGrabpayOptions',context!), 'Ideal': JsonConverters.toJson(Ideal,'PaymentIntentPaymentMethodOptionsIdealOptions',context!), 'InteracPresent': JsonConverters.toJson(InteracPresent,'PaymentIntentPaymentMethodOptionsInteracPresentOptions',context!), 'KakaoPay': JsonConverters.toJson(KakaoPay,'PaymentIntentPaymentMethodOptionsKakaoPayOptions',context!), 'Klarna': JsonConverters.toJson(Klarna,'PaymentIntentPaymentMethodOptionsKlarnaOptions',context!), 'Konbini': JsonConverters.toJson(Konbini,'PaymentIntentPaymentMethodOptionsKonbiniOptions',context!), 'KrCard': JsonConverters.toJson(KrCard,'PaymentIntentPaymentMethodOptionsKrCardOptions',context!), 'Link': JsonConverters.toJson(Link,'PaymentIntentPaymentMethodOptionsLinkOptions',context!), 'Mobilepay': JsonConverters.toJson(Mobilepay,'PaymentIntentPaymentMethodOptionsMobilepayOptions',context!), 'Multibanco': JsonConverters.toJson(Multibanco,'PaymentIntentPaymentMethodOptionsMultibancoOptions',context!), 'NaverPay': JsonConverters.toJson(NaverPay,'PaymentIntentPaymentMethodOptionsNaverPayOptions',context!), 'NzBankAccount': JsonConverters.toJson(NzBankAccount,'PaymentIntentPaymentMethodOptionsNzBankAccountOptions',context!), 'Oxxo': JsonConverters.toJson(Oxxo,'PaymentIntentPaymentMethodOptionsOxxoOptions',context!), 'P24': JsonConverters.toJson(P24,'PaymentIntentPaymentMethodOptionsP24Options',context!), 'PayByBank': JsonConverters.toJson(PayByBank,'PaymentIntentPaymentMethodOptionsPayByBankOptions',context!), 'Payco': JsonConverters.toJson(Payco,'PaymentIntentPaymentMethodOptionsPaycoOptions',context!), 'Paynow': JsonConverters.toJson(Paynow,'PaymentIntentPaymentMethodOptionsPaynowOptions',context!), 'Paypal': JsonConverters.toJson(Paypal,'PaymentIntentPaymentMethodOptionsPaypalOptions',context!), 'Pix': JsonConverters.toJson(Pix,'PaymentIntentPaymentMethodOptionsPixOptions',context!), 'Promptpay': JsonConverters.toJson(Promptpay,'PaymentIntentPaymentMethodOptionsPromptpayOptions',context!), 'RevolutPay': JsonConverters.toJson(RevolutPay,'PaymentIntentPaymentMethodOptionsRevolutPayOptions',context!), 'SamsungPay': JsonConverters.toJson(SamsungPay,'PaymentIntentPaymentMethodOptionsSamsungPayOptions',context!), 'SepaDebit': JsonConverters.toJson(SepaDebit,'PaymentIntentPaymentMethodOptionsSepaDebitOptions',context!), 'Sofort': JsonConverters.toJson(Sofort,'PaymentIntentPaymentMethodOptionsSofortOptions',context!), 'Swish': JsonConverters.toJson(Swish,'PaymentIntentPaymentMethodOptionsSwishOptions',context!), 'Twint': JsonConverters.toJson(Twint,'PaymentIntentPaymentMethodOptionsTwintOptions',context!), 'UsBankAccount': JsonConverters.toJson(UsBankAccount,'PaymentIntentPaymentMethodOptionsUsBankAccountOptions',context!), 'WechatPay': JsonConverters.toJson(WechatPay,'PaymentIntentPaymentMethodOptionsWechatPayOptions',context!), 'Zip': JsonConverters.toJson(Zip,'PaymentIntentPaymentMethodOptionsZipOptions',context!) }; getTypeName() => "PaymentIntentPaymentMethodOptionsOptions"; TypeContext? context = _ctx; } class PaymentIntentRadarOptionsOptions implements INestedOptions, IConvertible { String? Session; PaymentIntentRadarOptionsOptions({this.Session}); PaymentIntentRadarOptionsOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Session = json['Session']; return this; } Map toJson() => { 'Session': Session }; getTypeName() => "PaymentIntentRadarOptionsOptions"; TypeContext? context = _ctx; } class PaymentIntentTransferDataOptions implements INestedOptions, IConvertible { int? Amount; String? Destination; PaymentIntentTransferDataOptions({this.Amount,this.Destination}); PaymentIntentTransferDataOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Amount = json['Amount']; Destination = json['Destination']; return this; } Map toJson() => { 'Amount': Amount, 'Destination': Destination }; getTypeName() => "PaymentIntentTransferDataOptions"; TypeContext? context = _ctx; } class PaymentIntentCreateOptions extends BaseOptions implements IHasMetadata, IConvertible { int? Amount; int? ApplicationFeeAmount; PaymentIntentAutomaticPaymentMethodsOptions? AutomaticPaymentMethods; String? CaptureMethod; bool? Confirm; String? ConfirmationMethod; String? ConfirmationToken; String? Currency; String? Customer; String? Description; bool? ErrorOnRequiresAction; String? Mandate; PaymentIntentMandateDataOptions? MandateData; Map? Metadata; bool? OffSession; String? OnBehalfOf; String? PaymentMethod; String? PaymentMethodConfiguration; PaymentIntentPaymentMethodDataOptions? PaymentMethodData; PaymentIntentPaymentMethodOptionsOptions? PaymentMethodOptions; List? PaymentMethodTypes; PaymentIntentRadarOptionsOptions? RadarOptions; String? ReceiptEmail; String? ReturnUrl; String? SetupFutureUsage; ChargeShippingOptions? Shipping; String? StatementDescriptor; String? StatementDescriptorSuffix; PaymentIntentTransferDataOptions? TransferData; String? TransferGroup; bool? UseStripeSdk; PaymentIntentCreateOptions({this.Amount,this.ApplicationFeeAmount,this.AutomaticPaymentMethods,this.CaptureMethod,this.Confirm,this.ConfirmationMethod,this.ConfirmationToken,this.Currency,this.Customer,this.Description,this.ErrorOnRequiresAction,this.Mandate,this.MandateData,this.Metadata,this.OffSession,this.OnBehalfOf,this.PaymentMethod,this.PaymentMethodConfiguration,this.PaymentMethodData,this.PaymentMethodOptions,this.PaymentMethodTypes,this.RadarOptions,this.ReceiptEmail,this.ReturnUrl,this.SetupFutureUsage,this.Shipping,this.StatementDescriptor,this.StatementDescriptorSuffix,this.TransferData,this.TransferGroup,this.UseStripeSdk}); PaymentIntentCreateOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Amount = json['Amount']; ApplicationFeeAmount = json['ApplicationFeeAmount']; AutomaticPaymentMethods = JsonConverters.fromJson(json['AutomaticPaymentMethods'],'PaymentIntentAutomaticPaymentMethodsOptions',context!); CaptureMethod = json['CaptureMethod']; Confirm = json['Confirm']; ConfirmationMethod = json['ConfirmationMethod']; ConfirmationToken = json['ConfirmationToken']; Currency = json['Currency']; Customer = json['Customer']; Description = json['Description']; ErrorOnRequiresAction = json['ErrorOnRequiresAction']; Mandate = json['Mandate']; MandateData = JsonConverters.fromJson(json['MandateData'],'PaymentIntentMandateDataOptions',context!); Metadata = JsonConverters.toStringMap(json['Metadata']); OffSession = json['OffSession']; OnBehalfOf = json['OnBehalfOf']; PaymentMethod = json['PaymentMethod']; PaymentMethodConfiguration = json['PaymentMethodConfiguration']; PaymentMethodData = JsonConverters.fromJson(json['PaymentMethodData'],'PaymentIntentPaymentMethodDataOptions',context!); PaymentMethodOptions = JsonConverters.fromJson(json['PaymentMethodOptions'],'PaymentIntentPaymentMethodOptionsOptions',context!); PaymentMethodTypes = JsonConverters.fromJson(json['PaymentMethodTypes'],'List',context!); RadarOptions = JsonConverters.fromJson(json['RadarOptions'],'PaymentIntentRadarOptionsOptions',context!); ReceiptEmail = json['ReceiptEmail']; ReturnUrl = json['ReturnUrl']; SetupFutureUsage = json['SetupFutureUsage']; Shipping = JsonConverters.fromJson(json['Shipping'],'ChargeShippingOptions',context!); StatementDescriptor = json['StatementDescriptor']; StatementDescriptorSuffix = json['StatementDescriptorSuffix']; TransferData = JsonConverters.fromJson(json['TransferData'],'PaymentIntentTransferDataOptions',context!); TransferGroup = json['TransferGroup']; UseStripeSdk = json['UseStripeSdk']; return this; } Map toJson() => super.toJson()..addAll({ 'Amount': Amount, 'ApplicationFeeAmount': ApplicationFeeAmount, 'AutomaticPaymentMethods': JsonConverters.toJson(AutomaticPaymentMethods,'PaymentIntentAutomaticPaymentMethodsOptions',context!), 'CaptureMethod': CaptureMethod, 'Confirm': Confirm, 'ConfirmationMethod': ConfirmationMethod, 'ConfirmationToken': ConfirmationToken, 'Currency': Currency, 'Customer': Customer, 'Description': Description, 'ErrorOnRequiresAction': ErrorOnRequiresAction, 'Mandate': Mandate, 'MandateData': JsonConverters.toJson(MandateData,'PaymentIntentMandateDataOptions',context!), 'Metadata': Metadata, 'OffSession': OffSession, 'OnBehalfOf': OnBehalfOf, 'PaymentMethod': PaymentMethod, 'PaymentMethodConfiguration': PaymentMethodConfiguration, 'PaymentMethodData': JsonConverters.toJson(PaymentMethodData,'PaymentIntentPaymentMethodDataOptions',context!), 'PaymentMethodOptions': JsonConverters.toJson(PaymentMethodOptions,'PaymentIntentPaymentMethodOptionsOptions',context!), 'PaymentMethodTypes': JsonConverters.toJson(PaymentMethodTypes,'List',context!), 'RadarOptions': JsonConverters.toJson(RadarOptions,'PaymentIntentRadarOptionsOptions',context!), 'ReceiptEmail': ReceiptEmail, 'ReturnUrl': ReturnUrl, 'SetupFutureUsage': SetupFutureUsage, 'Shipping': JsonConverters.toJson(Shipping,'ChargeShippingOptions',context!), 'StatementDescriptor': StatementDescriptor, 'StatementDescriptorSuffix': StatementDescriptorSuffix, 'TransferData': JsonConverters.toJson(TransferData,'PaymentIntentTransferDataOptions',context!), 'TransferGroup': TransferGroup, 'UseStripeSdk': UseStripeSdk }); getTypeName() => "PaymentIntentCreateOptions"; TypeContext? context = _ctx; } class CustomerCashBalanceSettingsOptions implements INestedOptions, IConvertible { String? ReconciliationMode; CustomerCashBalanceSettingsOptions({this.ReconciliationMode}); CustomerCashBalanceSettingsOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ReconciliationMode = json['ReconciliationMode']; return this; } Map toJson() => { 'ReconciliationMode': ReconciliationMode }; getTypeName() => "CustomerCashBalanceSettingsOptions"; TypeContext? context = _ctx; } class CustomerCashBalanceOptions implements INestedOptions, IConvertible { CustomerCashBalanceSettingsOptions? Settings; CustomerCashBalanceOptions({this.Settings}); CustomerCashBalanceOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Settings = JsonConverters.fromJson(json['Settings'],'CustomerCashBalanceSettingsOptions',context!); return this; } Map toJson() => { 'Settings': JsonConverters.toJson(Settings,'CustomerCashBalanceSettingsOptions',context!) }; getTypeName() => "CustomerCashBalanceOptions"; TypeContext? context = _ctx; } class CustomerInvoiceSettingsCustomFieldOptions implements INestedOptions, IConvertible { String? Name; String? Value; CustomerInvoiceSettingsCustomFieldOptions({this.Name,this.Value}); CustomerInvoiceSettingsCustomFieldOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Name = json['Name']; Value = json['Value']; return this; } Map toJson() => { 'Name': Name, 'Value': Value }; getTypeName() => "CustomerInvoiceSettingsCustomFieldOptions"; TypeContext? context = _ctx; } class CustomerInvoiceSettingsRenderingOptionsOptions implements INestedOptions, IConvertible { String? AmountTaxDisplay; String? Template; CustomerInvoiceSettingsRenderingOptionsOptions({this.AmountTaxDisplay,this.Template}); CustomerInvoiceSettingsRenderingOptionsOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AmountTaxDisplay = json['AmountTaxDisplay']; Template = json['Template']; return this; } Map toJson() => { 'AmountTaxDisplay': AmountTaxDisplay, 'Template': Template }; getTypeName() => "CustomerInvoiceSettingsRenderingOptionsOptions"; TypeContext? context = _ctx; } class CustomerInvoiceSettingsOptions implements INestedOptions, IConvertible { List? CustomFields; String? DefaultPaymentMethod; String? Footer; CustomerInvoiceSettingsRenderingOptionsOptions? RenderingOptions; CustomerInvoiceSettingsOptions({this.CustomFields,this.DefaultPaymentMethod,this.Footer,this.RenderingOptions}); CustomerInvoiceSettingsOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CustomFields = JsonConverters.fromJson(json['CustomFields'],'List',context!); DefaultPaymentMethod = json['DefaultPaymentMethod']; Footer = json['Footer']; RenderingOptions = JsonConverters.fromJson(json['RenderingOptions'],'CustomerInvoiceSettingsRenderingOptionsOptions',context!); return this; } Map toJson() => { 'CustomFields': JsonConverters.toJson(CustomFields,'List',context!), 'DefaultPaymentMethod': DefaultPaymentMethod, 'Footer': Footer, 'RenderingOptions': JsonConverters.toJson(RenderingOptions,'CustomerInvoiceSettingsRenderingOptionsOptions',context!) }; getTypeName() => "CustomerInvoiceSettingsOptions"; TypeContext? context = _ctx; } class ShippingOptions implements INestedOptions, IConvertible { AddressOptions? Address; String? Name; String? Phone; ShippingOptions({this.Address,this.Name,this.Phone}); ShippingOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Address = JsonConverters.fromJson(json['Address'],'AddressOptions',context!); Name = json['Name']; Phone = json['Phone']; return this; } Map toJson() => { 'Address': JsonConverters.toJson(Address,'AddressOptions',context!), 'Name': Name, 'Phone': Phone }; getTypeName() => "ShippingOptions"; TypeContext? context = _ctx; } class CardCreateNestedOptions implements INestedOptions, IHasMetadata, IHasObject, IConvertible { String? AddressCity; String? AddressCountry; String? AddressLine1; String? AddressLine2; String? AddressState; String? AddressZip; String? Currency; String? Cvc; int? ExpMonth; int? ExpYear; Map? Metadata; String? Name; String? Number; String? Object; CardCreateNestedOptions({this.AddressCity,this.AddressCountry,this.AddressLine1,this.AddressLine2,this.AddressState,this.AddressZip,this.Currency,this.Cvc,this.ExpMonth,this.ExpYear,this.Metadata,this.Name,this.Number,this.Object}); CardCreateNestedOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AddressCity = json['AddressCity']; AddressCountry = json['AddressCountry']; AddressLine1 = json['AddressLine1']; AddressLine2 = json['AddressLine2']; AddressState = json['AddressState']; AddressZip = json['AddressZip']; Currency = json['Currency']; Cvc = json['Cvc']; ExpMonth = json['ExpMonth']; ExpYear = json['ExpYear']; Metadata = JsonConverters.toStringMap(json['Metadata']); Name = json['Name']; Number = json['Number']; Object = json['Object']; return this; } Map toJson() => { 'AddressCity': AddressCity, 'AddressCountry': AddressCountry, 'AddressLine1': AddressLine1, 'AddressLine2': AddressLine2, 'AddressState': AddressState, 'AddressZip': AddressZip, 'Currency': Currency, 'Cvc': Cvc, 'ExpMonth': ExpMonth, 'ExpYear': ExpYear, 'Metadata': Metadata, 'Name': Name, 'Number': Number, 'Object': Object }; getTypeName() => "CardCreateNestedOptions"; TypeContext? context = _ctx; } class CustomerTaxOptions implements INestedOptions, IConvertible { String? IpAddress; String? ValidateLocation; CustomerTaxOptions({this.IpAddress,this.ValidateLocation}); CustomerTaxOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { IpAddress = json['IpAddress']; ValidateLocation = json['ValidateLocation']; return this; } Map toJson() => { 'IpAddress': IpAddress, 'ValidateLocation': ValidateLocation }; getTypeName() => "CustomerTaxOptions"; TypeContext? context = _ctx; } class CustomerTaxIdDataOptions implements INestedOptions, IConvertible { String? Type; String? Value; CustomerTaxIdDataOptions({this.Type,this.Value}); CustomerTaxIdDataOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Type = json['Type']; Value = json['Value']; return this; } Map toJson() => { 'Type': Type, 'Value': Value }; getTypeName() => "CustomerTaxIdDataOptions"; TypeContext? context = _ctx; } class CustomerCreateOptions extends BaseOptions implements IHasMetadata, IConvertible { AddressOptions? Address; int? Balance; CustomerCashBalanceOptions? CashBalance; String? Description; String? Email; String? InvoicePrefix; CustomerInvoiceSettingsOptions? InvoiceSettings; Map? Metadata; String? Name; int? NextInvoiceSequence; String? PaymentMethod; String? Phone; String? Plan; List? PreferredLocales; ShippingOptions? Shipping; AnyOf2? Source; CustomerTaxOptions? Tax; String? TaxExempt; List? TaxIdData; String? TestClock; bool? Validate; CustomerCreateOptions({this.Address,this.Balance,this.CashBalance,this.Description,this.Email,this.InvoicePrefix,this.InvoiceSettings,this.Metadata,this.Name,this.NextInvoiceSequence,this.PaymentMethod,this.Phone,this.Plan,this.PreferredLocales,this.Shipping,this.Source,this.Tax,this.TaxExempt,this.TaxIdData,this.TestClock,this.Validate}); CustomerCreateOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Address = JsonConverters.fromJson(json['Address'],'AddressOptions',context!); Balance = json['Balance']; CashBalance = JsonConverters.fromJson(json['CashBalance'],'CustomerCashBalanceOptions',context!); Description = json['Description']; Email = json['Email']; InvoicePrefix = json['InvoicePrefix']; InvoiceSettings = JsonConverters.fromJson(json['InvoiceSettings'],'CustomerInvoiceSettingsOptions',context!); Metadata = JsonConverters.toStringMap(json['Metadata']); Name = json['Name']; NextInvoiceSequence = json['NextInvoiceSequence']; PaymentMethod = json['PaymentMethod']; Phone = json['Phone']; Plan = json['Plan']; PreferredLocales = JsonConverters.fromJson(json['PreferredLocales'],'List',context!); Shipping = JsonConverters.fromJson(json['Shipping'],'ShippingOptions',context!); Source = JsonConverters.fromJson(json['Source'],'AnyOf2',context!); Tax = JsonConverters.fromJson(json['Tax'],'CustomerTaxOptions',context!); TaxExempt = json['TaxExempt']; TaxIdData = JsonConverters.fromJson(json['TaxIdData'],'List',context!); TestClock = json['TestClock']; Validate = json['Validate']; return this; } Map toJson() => super.toJson()..addAll({ 'Address': JsonConverters.toJson(Address,'AddressOptions',context!), 'Balance': Balance, 'CashBalance': JsonConverters.toJson(CashBalance,'CustomerCashBalanceOptions',context!), 'Description': Description, 'Email': Email, 'InvoicePrefix': InvoicePrefix, 'InvoiceSettings': JsonConverters.toJson(InvoiceSettings,'CustomerInvoiceSettingsOptions',context!), 'Metadata': Metadata, 'Name': Name, 'NextInvoiceSequence': NextInvoiceSequence, 'PaymentMethod': PaymentMethod, 'Phone': Phone, 'Plan': Plan, 'PreferredLocales': JsonConverters.toJson(PreferredLocales,'List',context!), 'Shipping': JsonConverters.toJson(Shipping,'ShippingOptions',context!), 'Source': JsonConverters.toJson(Source,'AnyOf2',context!), 'Tax': JsonConverters.toJson(Tax,'CustomerTaxOptions',context!), 'TaxExempt': TaxExempt, 'TaxIdData': JsonConverters.toJson(TaxIdData,'List',context!), 'TestClock': TestClock, 'Validate': Validate }); getTypeName() => "CustomerCreateOptions"; TypeContext? context = _ctx; } class StripeCreatePaymentOptions implements IConvertible { SessionCreateOptions? SessionCreateOptions; PaymentIntentCreateOptions? PaymentIntentCreateOptions; CustomerCreateOptions? CustomerCreateOptions; StripeCreatePaymentOptions({this.SessionCreateOptions,this.PaymentIntentCreateOptions,this.CustomerCreateOptions}); StripeCreatePaymentOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SessionCreateOptions = JsonConverters.fromJson(json['SessionCreateOptions'],'SessionCreateOptions',context!); PaymentIntentCreateOptions = JsonConverters.fromJson(json['PaymentIntentCreateOptions'],'PaymentIntentCreateOptions',context!); CustomerCreateOptions = JsonConverters.fromJson(json['CustomerCreateOptions'],'CustomerCreateOptions',context!); return this; } Map toJson() => { 'SessionCreateOptions': JsonConverters.toJson(SessionCreateOptions,'SessionCreateOptions',context!), 'PaymentIntentCreateOptions': JsonConverters.toJson(PaymentIntentCreateOptions,'PaymentIntentCreateOptions',context!), 'CustomerCreateOptions': JsonConverters.toJson(CustomerCreateOptions,'CustomerCreateOptions',context!) }; getTypeName() => "StripeCreatePaymentOptions"; TypeContext? context = _ctx; } class RequestOptions implements IConvertible { String? ApiKey; String? IdempotencyKey; String? StripeAccount; String? StripeContext; RequestOptions({this.ApiKey,this.IdempotencyKey,this.StripeAccount,this.StripeContext}); RequestOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ApiKey = json['ApiKey']; IdempotencyKey = json['IdempotencyKey']; StripeAccount = json['StripeAccount']; StripeContext = json['StripeContext']; return this; } Map toJson() => { 'ApiKey': ApiKey, 'IdempotencyKey': IdempotencyKey, 'StripeAccount': StripeAccount, 'StripeContext': StripeContext }; getTypeName() => "RequestOptions"; TypeContext? context = _ctx; } class StripeCreateCheckoutQuery implements IConvertible { StripeCreatePaymentOptions CheckoutData; RequestOptions RequestOptions; StripeCreateCheckoutQuery({this.CheckoutData,this.RequestOptions}); StripeCreateCheckoutQuery.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CheckoutData = JsonConverters.fromJson(json['CheckoutData'],'StripeCreatePaymentOptions',context!); RequestOptions = JsonConverters.fromJson(json['RequestOptions'],'RequestOptions',context!); return this; } Map toJson() => { 'CheckoutData': JsonConverters.toJson(CheckoutData,'StripeCreatePaymentOptions',context!), 'RequestOptions': JsonConverters.toJson(RequestOptions,'RequestOptions',context!) }; getTypeName() => "StripeCreateCheckoutQuery"; TypeContext? context = _ctx; } class SessionAdaptivePricing extends StripeEntity1 implements IConvertible { bool Enabled; SessionAdaptivePricing({this.Enabled}); SessionAdaptivePricing.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Enabled = json['Enabled']; return this; } Map toJson() => super.toJson()..addAll({ 'Enabled': Enabled }); getTypeName() => "SessionAdaptivePricing"; TypeContext? context = _ctx; } class SessionAfterExpirationRecovery extends StripeEntity1 implements IConvertible { bool AllowPromotionCodes; bool Enabled; DateTime? ExpiresAt; String? Url; SessionAfterExpirationRecovery({this.AllowPromotionCodes,this.Enabled,this.ExpiresAt,this.Url}); SessionAfterExpirationRecovery.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); AllowPromotionCodes = json['AllowPromotionCodes']; Enabled = json['Enabled']; ExpiresAt = JsonConverters.fromJson(json['ExpiresAt'],'DateTime',context!); Url = json['Url']; return this; } Map toJson() => super.toJson()..addAll({ 'AllowPromotionCodes': AllowPromotionCodes, 'Enabled': Enabled, 'ExpiresAt': JsonConverters.toJson(ExpiresAt,'DateTime',context!), 'Url': Url }); getTypeName() => "SessionAfterExpirationRecovery"; TypeContext? context = _ctx; } class SessionAfterExpiration extends StripeEntity1 implements IConvertible { SessionAfterExpirationRecovery? Recovery; SessionAfterExpiration({this.Recovery}); SessionAfterExpiration.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Recovery = JsonConverters.fromJson(json['Recovery'],'SessionAfterExpirationRecovery',context!); return this; } Map toJson() => super.toJson()..addAll({ 'Recovery': JsonConverters.toJson(Recovery,'SessionAfterExpirationRecovery',context!) }); getTypeName() => "SessionAfterExpiration"; TypeContext? context = _ctx; } class SessionAutomaticTaxLiability extends StripeEntity1 implements IConvertible { String? Type; SessionAutomaticTaxLiability({this.Type}); SessionAutomaticTaxLiability.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Type = json['Type']; return this; } Map toJson() => super.toJson()..addAll({ 'Type': Type }); getTypeName() => "SessionAutomaticTaxLiability"; TypeContext? context = _ctx; } class SessionAutomaticTax extends StripeEntity1 implements IConvertible { bool Enabled; SessionAutomaticTaxLiability? Liability; String? Status; SessionAutomaticTax({this.Enabled,this.Liability,this.Status}); SessionAutomaticTax.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Enabled = json['Enabled']; Liability = JsonConverters.fromJson(json['Liability'],'SessionAutomaticTaxLiability',context!); Status = json['Status']; return this; } Map toJson() => super.toJson()..addAll({ 'Enabled': Enabled, 'Liability': JsonConverters.toJson(Liability,'SessionAutomaticTaxLiability',context!), 'Status': Status }); getTypeName() => "SessionAutomaticTax"; TypeContext? context = _ctx; } class SessionCollectedInformationShippingDetails extends StripeEntity1 implements IConvertible { Address? Address; String? Name; SessionCollectedInformationShippingDetails({this.Address,this.Name}); SessionCollectedInformationShippingDetails.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Address = JsonConverters.fromJson(json['Address'],'Address',context!); Name = json['Name']; return this; } Map toJson() => super.toJson()..addAll({ 'Address': JsonConverters.toJson(Address,'Address',context!), 'Name': Name }); getTypeName() => "SessionCollectedInformationShippingDetails"; TypeContext? context = _ctx; } class SessionCollectedInformation extends StripeEntity1 implements IConvertible { SessionCollectedInformationShippingDetails? ShippingDetails; SessionCollectedInformation({this.ShippingDetails}); SessionCollectedInformation.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ShippingDetails = JsonConverters.fromJson(json['ShippingDetails'],'SessionCollectedInformationShippingDetails',context!); return this; } Map toJson() => super.toJson()..addAll({ 'ShippingDetails': JsonConverters.toJson(ShippingDetails,'SessionCollectedInformationShippingDetails',context!) }); getTypeName() => "SessionCollectedInformation"; TypeContext? context = _ctx; } class SessionConsent extends StripeEntity1 implements IConvertible { String? Promotions; String? TermsOfService; SessionConsent({this.Promotions,this.TermsOfService}); SessionConsent.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Promotions = json['Promotions']; TermsOfService = json['TermsOfService']; return this; } Map toJson() => super.toJson()..addAll({ 'Promotions': Promotions, 'TermsOfService': TermsOfService }); getTypeName() => "SessionConsent"; TypeContext? context = _ctx; } class SessionConsentCollectionPaymentMethodReuseAgreement extends StripeEntity1 implements IConvertible { String? Position; SessionConsentCollectionPaymentMethodReuseAgreement({this.Position}); SessionConsentCollectionPaymentMethodReuseAgreement.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Position = json['Position']; return this; } Map toJson() => super.toJson()..addAll({ 'Position': Position }); getTypeName() => "SessionConsentCollectionPaymentMethodReuseAgreement"; TypeContext? context = _ctx; } class SessionConsentCollection extends StripeEntity1 implements IConvertible { SessionConsentCollectionPaymentMethodReuseAgreement? PaymentMethodReuseAgreement; String? Promotions; String? TermsOfService; SessionConsentCollection({this.PaymentMethodReuseAgreement,this.Promotions,this.TermsOfService}); SessionConsentCollection.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); PaymentMethodReuseAgreement = JsonConverters.fromJson(json['PaymentMethodReuseAgreement'],'SessionConsentCollectionPaymentMethodReuseAgreement',context!); Promotions = json['Promotions']; TermsOfService = json['TermsOfService']; return this; } Map toJson() => super.toJson()..addAll({ 'PaymentMethodReuseAgreement': JsonConverters.toJson(PaymentMethodReuseAgreement,'SessionConsentCollectionPaymentMethodReuseAgreement',context!), 'Promotions': Promotions, 'TermsOfService': TermsOfService }); getTypeName() => "SessionConsentCollection"; TypeContext? context = _ctx; } class SessionCurrencyConversion extends StripeEntity1 implements IConvertible { int AmountSubtotal = 0; int AmountTotal = 0; double FxRate = 0; String? SourceCurrency; SessionCurrencyConversion({this.AmountSubtotal,this.AmountTotal,this.FxRate,this.SourceCurrency}); SessionCurrencyConversion.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); AmountSubtotal = json['AmountSubtotal']; AmountTotal = json['AmountTotal']; FxRate = JsonConverters.toDouble(json['FxRate']); SourceCurrency = json['SourceCurrency']; return this; } Map toJson() => super.toJson()..addAll({ 'AmountSubtotal': AmountSubtotal, 'AmountTotal': AmountTotal, 'FxRate': FxRate, 'SourceCurrency': SourceCurrency }); getTypeName() => "SessionCurrencyConversion"; TypeContext? context = _ctx; } class SessionCustomFieldDropdownOption extends StripeEntity1 implements IConvertible { String? Label; String? Value; SessionCustomFieldDropdownOption({this.Label,this.Value}); SessionCustomFieldDropdownOption.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Label = json['Label']; Value = json['Value']; return this; } Map toJson() => super.toJson()..addAll({ 'Label': Label, 'Value': Value }); getTypeName() => "SessionCustomFieldDropdownOption"; TypeContext? context = _ctx; } class SessionCustomFieldDropdown extends StripeEntity1 implements IConvertible { String? DefaultValue; List? Options; String? Value; SessionCustomFieldDropdown({this.DefaultValue,this.Options,this.Value}); SessionCustomFieldDropdown.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); DefaultValue = json['DefaultValue']; Options = JsonConverters.fromJson(json['Options'],'List',context!); Value = json['Value']; return this; } Map toJson() => super.toJson()..addAll({ 'DefaultValue': DefaultValue, 'Options': JsonConverters.toJson(Options,'List',context!), 'Value': Value }); getTypeName() => "SessionCustomFieldDropdown"; TypeContext? context = _ctx; } class SessionCustomFieldLabel extends StripeEntity1 implements IConvertible { String? Custom; String? Type; SessionCustomFieldLabel({this.Custom,this.Type}); SessionCustomFieldLabel.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Custom = json['Custom']; Type = json['Type']; return this; } Map toJson() => super.toJson()..addAll({ 'Custom': Custom, 'Type': Type }); getTypeName() => "SessionCustomFieldLabel"; TypeContext? context = _ctx; } class SessionCustomFieldNumeric extends StripeEntity1 implements IConvertible { String? DefaultValue; int? MaximumLength; int? MinimumLength; String? Value; SessionCustomFieldNumeric({this.DefaultValue,this.MaximumLength,this.MinimumLength,this.Value}); SessionCustomFieldNumeric.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); DefaultValue = json['DefaultValue']; MaximumLength = json['MaximumLength']; MinimumLength = json['MinimumLength']; Value = json['Value']; return this; } Map toJson() => super.toJson()..addAll({ 'DefaultValue': DefaultValue, 'MaximumLength': MaximumLength, 'MinimumLength': MinimumLength, 'Value': Value }); getTypeName() => "SessionCustomFieldNumeric"; TypeContext? context = _ctx; } class SessionCustomFieldText extends StripeEntity1 implements IConvertible { String? DefaultValue; int? MaximumLength; int? MinimumLength; String? Value; SessionCustomFieldText({this.DefaultValue,this.MaximumLength,this.MinimumLength,this.Value}); SessionCustomFieldText.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); DefaultValue = json['DefaultValue']; MaximumLength = json['MaximumLength']; MinimumLength = json['MinimumLength']; Value = json['Value']; return this; } Map toJson() => super.toJson()..addAll({ 'DefaultValue': DefaultValue, 'MaximumLength': MaximumLength, 'MinimumLength': MinimumLength, 'Value': Value }); getTypeName() => "SessionCustomFieldText"; TypeContext? context = _ctx; } class SessionCustomField extends StripeEntity1 implements IConvertible { SessionCustomFieldDropdown? Dropdown; String? Key; SessionCustomFieldLabel? Label; SessionCustomFieldNumeric? Numeric; bool Optional; SessionCustomFieldText? Text; String? Type; SessionCustomField({this.Dropdown,this.Key,this.Label,this.Numeric,this.Optional,this.Text,this.Type}); SessionCustomField.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Dropdown = JsonConverters.fromJson(json['Dropdown'],'SessionCustomFieldDropdown',context!); Key = json['Key']; Label = JsonConverters.fromJson(json['Label'],'SessionCustomFieldLabel',context!); Numeric = JsonConverters.fromJson(json['Numeric'],'SessionCustomFieldNumeric',context!); Optional = json['Optional']; Text = JsonConverters.fromJson(json['Text'],'SessionCustomFieldText',context!); Type = json['Type']; return this; } Map toJson() => super.toJson()..addAll({ 'Dropdown': JsonConverters.toJson(Dropdown,'SessionCustomFieldDropdown',context!), 'Key': Key, 'Label': JsonConverters.toJson(Label,'SessionCustomFieldLabel',context!), 'Numeric': JsonConverters.toJson(Numeric,'SessionCustomFieldNumeric',context!), 'Optional': Optional, 'Text': JsonConverters.toJson(Text,'SessionCustomFieldText',context!), 'Type': Type }); getTypeName() => "SessionCustomField"; TypeContext? context = _ctx; } class SessionCustomTextAfterSubmit extends StripeEntity1 implements IConvertible { String? Message; SessionCustomTextAfterSubmit({this.Message}); SessionCustomTextAfterSubmit.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Message = json['Message']; return this; } Map toJson() => super.toJson()..addAll({ 'Message': Message }); getTypeName() => "SessionCustomTextAfterSubmit"; TypeContext? context = _ctx; } class SessionCustomTextShippingAddress extends StripeEntity1 implements IConvertible { String? Message; SessionCustomTextShippingAddress({this.Message}); SessionCustomTextShippingAddress.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Message = json['Message']; return this; } Map toJson() => super.toJson()..addAll({ 'Message': Message }); getTypeName() => "SessionCustomTextShippingAddress"; TypeContext? context = _ctx; } class SessionCustomTextSubmit extends StripeEntity1 implements IConvertible { String? Message; SessionCustomTextSubmit({this.Message}); SessionCustomTextSubmit.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Message = json['Message']; return this; } Map toJson() => super.toJson()..addAll({ 'Message': Message }); getTypeName() => "SessionCustomTextSubmit"; TypeContext? context = _ctx; } class SessionCustomTextTermsOfServiceAcceptance extends StripeEntity1 implements IConvertible { String? Message; SessionCustomTextTermsOfServiceAcceptance({this.Message}); SessionCustomTextTermsOfServiceAcceptance.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Message = json['Message']; return this; } Map toJson() => super.toJson()..addAll({ 'Message': Message }); getTypeName() => "SessionCustomTextTermsOfServiceAcceptance"; TypeContext? context = _ctx; } class SessionCustomText extends StripeEntity1 implements IConvertible { SessionCustomTextAfterSubmit? AfterSubmit; SessionCustomTextShippingAddress? ShippingAddress; SessionCustomTextSubmit? Submit; SessionCustomTextTermsOfServiceAcceptance? TermsOfServiceAcceptance; SessionCustomText({this.AfterSubmit,this.ShippingAddress,this.Submit,this.TermsOfServiceAcceptance}); SessionCustomText.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); AfterSubmit = JsonConverters.fromJson(json['AfterSubmit'],'SessionCustomTextAfterSubmit',context!); ShippingAddress = JsonConverters.fromJson(json['ShippingAddress'],'SessionCustomTextShippingAddress',context!); Submit = JsonConverters.fromJson(json['Submit'],'SessionCustomTextSubmit',context!); TermsOfServiceAcceptance = JsonConverters.fromJson(json['TermsOfServiceAcceptance'],'SessionCustomTextTermsOfServiceAcceptance',context!); return this; } Map toJson() => super.toJson()..addAll({ 'AfterSubmit': JsonConverters.toJson(AfterSubmit,'SessionCustomTextAfterSubmit',context!), 'ShippingAddress': JsonConverters.toJson(ShippingAddress,'SessionCustomTextShippingAddress',context!), 'Submit': JsonConverters.toJson(Submit,'SessionCustomTextSubmit',context!), 'TermsOfServiceAcceptance': JsonConverters.toJson(TermsOfServiceAcceptance,'SessionCustomTextTermsOfServiceAcceptance',context!) }); getTypeName() => "SessionCustomText"; TypeContext? context = _ctx; } class SessionCustomerDetailsTaxId extends StripeEntity1 implements IConvertible { String? Type; String? Value; SessionCustomerDetailsTaxId({this.Type,this.Value}); SessionCustomerDetailsTaxId.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Type = json['Type']; Value = json['Value']; return this; } Map toJson() => super.toJson()..addAll({ 'Type': Type, 'Value': Value }); getTypeName() => "SessionCustomerDetailsTaxId"; TypeContext? context = _ctx; } class SessionCustomerDetails extends StripeEntity1 implements IConvertible { Address? Address; String? Email; String? Name; String? Phone; String? TaxExempt; List? TaxIds; SessionCustomerDetails({this.Address,this.Email,this.Name,this.Phone,this.TaxExempt,this.TaxIds}); SessionCustomerDetails.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Address = JsonConverters.fromJson(json['Address'],'Address',context!); Email = json['Email']; Name = json['Name']; Phone = json['Phone']; TaxExempt = json['TaxExempt']; TaxIds = JsonConverters.fromJson(json['TaxIds'],'List',context!); return this; } Map toJson() => super.toJson()..addAll({ 'Address': JsonConverters.toJson(Address,'Address',context!), 'Email': Email, 'Name': Name, 'Phone': Phone, 'TaxExempt': TaxExempt, 'TaxIds': JsonConverters.toJson(TaxIds,'List',context!) }); getTypeName() => "SessionCustomerDetails"; TypeContext? context = _ctx; } class SessionDiscount extends StripeEntity1 implements IConvertible { SessionDiscount(); SessionDiscount.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "SessionDiscount"; TypeContext? context = _ctx; } class SessionInvoiceCreationInvoiceDataCustomField extends StripeEntity1 implements IConvertible { String? Name; String? Value; SessionInvoiceCreationInvoiceDataCustomField({this.Name,this.Value}); SessionInvoiceCreationInvoiceDataCustomField.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Name = json['Name']; Value = json['Value']; return this; } Map toJson() => super.toJson()..addAll({ 'Name': Name, 'Value': Value }); getTypeName() => "SessionInvoiceCreationInvoiceDataCustomField"; TypeContext? context = _ctx; } class SessionInvoiceCreationInvoiceDataIssuer extends StripeEntity1 implements IConvertible { String? Type; SessionInvoiceCreationInvoiceDataIssuer({this.Type}); SessionInvoiceCreationInvoiceDataIssuer.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Type = json['Type']; return this; } Map toJson() => super.toJson()..addAll({ 'Type': Type }); getTypeName() => "SessionInvoiceCreationInvoiceDataIssuer"; TypeContext? context = _ctx; } class SessionInvoiceCreationInvoiceDataRenderingOptions extends StripeEntity1 implements IConvertible { String? AmountTaxDisplay; SessionInvoiceCreationInvoiceDataRenderingOptions({this.AmountTaxDisplay}); SessionInvoiceCreationInvoiceDataRenderingOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); AmountTaxDisplay = json['AmountTaxDisplay']; return this; } Map toJson() => super.toJson()..addAll({ 'AmountTaxDisplay': AmountTaxDisplay }); getTypeName() => "SessionInvoiceCreationInvoiceDataRenderingOptions"; TypeContext? context = _ctx; } class SessionInvoiceCreationInvoiceData extends StripeEntity1 implements IHasMetadata, IConvertible { List? CustomFields; String? Description; String? Footer; SessionInvoiceCreationInvoiceDataIssuer? Issuer; Map? Metadata; SessionInvoiceCreationInvoiceDataRenderingOptions? RenderingOptions; SessionInvoiceCreationInvoiceData({this.CustomFields,this.Description,this.Footer,this.Issuer,this.Metadata,this.RenderingOptions}); SessionInvoiceCreationInvoiceData.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CustomFields = JsonConverters.fromJson(json['CustomFields'],'List',context!); Description = json['Description']; Footer = json['Footer']; Issuer = JsonConverters.fromJson(json['Issuer'],'SessionInvoiceCreationInvoiceDataIssuer',context!); Metadata = JsonConverters.toStringMap(json['Metadata']); RenderingOptions = JsonConverters.fromJson(json['RenderingOptions'],'SessionInvoiceCreationInvoiceDataRenderingOptions',context!); return this; } Map toJson() => super.toJson()..addAll({ 'CustomFields': JsonConverters.toJson(CustomFields,'List',context!), 'Description': Description, 'Footer': Footer, 'Issuer': JsonConverters.toJson(Issuer,'SessionInvoiceCreationInvoiceDataIssuer',context!), 'Metadata': Metadata, 'RenderingOptions': JsonConverters.toJson(RenderingOptions,'SessionInvoiceCreationInvoiceDataRenderingOptions',context!) }); getTypeName() => "SessionInvoiceCreationInvoiceData"; TypeContext? context = _ctx; } class SessionInvoiceCreation extends StripeEntity1 implements IConvertible { bool Enabled; SessionInvoiceCreationInvoiceData? InvoiceData; SessionInvoiceCreation({this.Enabled,this.InvoiceData}); SessionInvoiceCreation.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Enabled = json['Enabled']; InvoiceData = JsonConverters.fromJson(json['InvoiceData'],'SessionInvoiceCreationInvoiceData',context!); return this; } Map toJson() => super.toJson()..addAll({ 'Enabled': Enabled, 'InvoiceData': JsonConverters.toJson(InvoiceData,'SessionInvoiceCreationInvoiceData',context!) }); getTypeName() => "SessionInvoiceCreation"; TypeContext? context = _ctx; } class CouponAppliesTo extends StripeEntity1 implements IConvertible { List? Products; CouponAppliesTo({this.Products}); CouponAppliesTo.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Products = JsonConverters.fromJson(json['Products'],'List',context!); return this; } Map toJson() => super.toJson()..addAll({ 'Products': JsonConverters.toJson(Products,'List',context!) }); getTypeName() => "CouponAppliesTo"; TypeContext? context = _ctx; } class CouponCurrencyOptions extends StripeEntity1 implements IConvertible { int AmountOff = 0; CouponCurrencyOptions({this.AmountOff}); CouponCurrencyOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); AmountOff = json['AmountOff']; return this; } Map toJson() => super.toJson()..addAll({ 'AmountOff': AmountOff }); getTypeName() => "CouponCurrencyOptions"; TypeContext? context = _ctx; } class Coupon extends StripeEntity1 implements IHasId, IHasMetadata, IHasObject, IConvertible { String? Id; String? Object; int? AmountOff; CouponAppliesTo? AppliesTo; DateTime Created = DateTime(0); String? Currency; Map? CurrencyOptions; String? Duration; int? DurationInMonths; bool Livemode; int? MaxRedemptions; Map? Metadata; String? Name; double? PercentOff; DateTime? RedeemBy; int TimesRedeemed = 0; bool Valid; Coupon({this.Id,this.Object,this.AmountOff,this.AppliesTo,this.Created,this.Currency,this.CurrencyOptions,this.Duration,this.DurationInMonths,this.Livemode,this.MaxRedemptions,this.Metadata,this.Name,this.PercentOff,this.RedeemBy,this.TimesRedeemed,this.Valid}); Coupon.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Id = json['Id']; Object = json['Object']; AmountOff = json['AmountOff']; AppliesTo = JsonConverters.fromJson(json['AppliesTo'],'CouponAppliesTo',context!); Created = JsonConverters.fromJson(json['Created'],'DateTime',context!); Currency = json['Currency']; CurrencyOptions = JsonConverters.fromJson(json['CurrencyOptions'],'Map',context!); Duration = json['Duration']; DurationInMonths = json['DurationInMonths']; Livemode = json['Livemode']; MaxRedemptions = json['MaxRedemptions']; Metadata = JsonConverters.toStringMap(json['Metadata']); Name = json['Name']; PercentOff = JsonConverters.toDouble(json['PercentOff']); RedeemBy = JsonConverters.fromJson(json['RedeemBy'],'DateTime',context!); TimesRedeemed = json['TimesRedeemed']; Valid = json['Valid']; return this; } Map toJson() => super.toJson()..addAll({ 'Id': Id, 'Object': Object, 'AmountOff': AmountOff, 'AppliesTo': JsonConverters.toJson(AppliesTo,'CouponAppliesTo',context!), 'Created': JsonConverters.toJson(Created,'DateTime',context!), 'Currency': Currency, 'CurrencyOptions': JsonConverters.toJson(CurrencyOptions,'Map',context!), 'Duration': Duration, 'DurationInMonths': DurationInMonths, 'Livemode': Livemode, 'MaxRedemptions': MaxRedemptions, 'Metadata': Metadata, 'Name': Name, 'PercentOff': PercentOff, 'RedeemBy': JsonConverters.toJson(RedeemBy,'DateTime',context!), 'TimesRedeemed': TimesRedeemed, 'Valid': Valid }); getTypeName() => "Coupon"; TypeContext? context = _ctx; } class Discount extends StripeEntity1 implements IHasId, IHasObject, IConvertible { String? Id; String? Object; String? CheckoutSession; Coupon? Coupon; DateTime? End; String? Invoice; String? InvoiceItem; DateTime Start = DateTime(0); String? Subscription; String? SubscriptionItem; Discount({this.Id,this.Object,this.CheckoutSession,this.Coupon,this.End,this.Invoice,this.InvoiceItem,this.Start,this.Subscription,this.SubscriptionItem}); Discount.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Id = json['Id']; Object = json['Object']; CheckoutSession = json['CheckoutSession']; Coupon = JsonConverters.fromJson(json['Coupon'],'Coupon',context!); End = JsonConverters.fromJson(json['End'],'DateTime',context!); Invoice = json['Invoice']; InvoiceItem = json['InvoiceItem']; Start = JsonConverters.fromJson(json['Start'],'DateTime',context!); Subscription = json['Subscription']; SubscriptionItem = json['SubscriptionItem']; return this; } Map toJson() => super.toJson()..addAll({ 'Id': Id, 'Object': Object, 'CheckoutSession': CheckoutSession, 'Coupon': JsonConverters.toJson(Coupon,'Coupon',context!), 'End': JsonConverters.toJson(End,'DateTime',context!), 'Invoice': Invoice, 'InvoiceItem': InvoiceItem, 'Start': JsonConverters.toJson(Start,'DateTime',context!), 'Subscription': Subscription, 'SubscriptionItem': SubscriptionItem }); getTypeName() => "Discount"; TypeContext? context = _ctx; } class LineItemDiscount extends StripeEntity1 implements IConvertible { int Amount = 0; Discount? Discount; LineItemDiscount({this.Amount,this.Discount}); LineItemDiscount.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Amount = json['Amount']; Discount = JsonConverters.fromJson(json['Discount'],'Discount',context!); return this; } Map toJson() => super.toJson()..addAll({ 'Amount': Amount, 'Discount': JsonConverters.toJson(Discount,'Discount',context!) }); getTypeName() => "LineItemDiscount"; TypeContext? context = _ctx; } class PriceCurrencyOptionsCustomUnitAmount extends StripeEntity1 implements IConvertible { int? Maximum; int? Minimum; int? Preset; PriceCurrencyOptionsCustomUnitAmount({this.Maximum,this.Minimum,this.Preset}); PriceCurrencyOptionsCustomUnitAmount.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Maximum = json['Maximum']; Minimum = json['Minimum']; Preset = json['Preset']; return this; } Map toJson() => super.toJson()..addAll({ 'Maximum': Maximum, 'Minimum': Minimum, 'Preset': Preset }); getTypeName() => "PriceCurrencyOptionsCustomUnitAmount"; TypeContext? context = _ctx; } class PriceCurrencyOptionsTier extends StripeEntity1 implements IConvertible { int? FlatAmount; double? FlatAmountDecimal; int? UnitAmount; double? UnitAmountDecimal; int? UpTo; PriceCurrencyOptionsTier({this.FlatAmount,this.FlatAmountDecimal,this.UnitAmount,this.UnitAmountDecimal,this.UpTo}); PriceCurrencyOptionsTier.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); FlatAmount = json['FlatAmount']; FlatAmountDecimal = JsonConverters.toDouble(json['FlatAmountDecimal']); UnitAmount = json['UnitAmount']; UnitAmountDecimal = JsonConverters.toDouble(json['UnitAmountDecimal']); UpTo = json['UpTo']; return this; } Map toJson() => super.toJson()..addAll({ 'FlatAmount': FlatAmount, 'FlatAmountDecimal': FlatAmountDecimal, 'UnitAmount': UnitAmount, 'UnitAmountDecimal': UnitAmountDecimal, 'UpTo': UpTo }); getTypeName() => "PriceCurrencyOptionsTier"; TypeContext? context = _ctx; } class PriceCurrencyOptions extends StripeEntity1 implements IConvertible { PriceCurrencyOptionsCustomUnitAmount? CustomUnitAmount; String? TaxBehavior; List? Tiers; int? UnitAmount; double? UnitAmountDecimal; PriceCurrencyOptions({this.CustomUnitAmount,this.TaxBehavior,this.Tiers,this.UnitAmount,this.UnitAmountDecimal}); PriceCurrencyOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CustomUnitAmount = JsonConverters.fromJson(json['CustomUnitAmount'],'PriceCurrencyOptionsCustomUnitAmount',context!); TaxBehavior = json['TaxBehavior']; Tiers = JsonConverters.fromJson(json['Tiers'],'List',context!); UnitAmount = json['UnitAmount']; UnitAmountDecimal = JsonConverters.toDouble(json['UnitAmountDecimal']); return this; } Map toJson() => super.toJson()..addAll({ 'CustomUnitAmount': JsonConverters.toJson(CustomUnitAmount,'PriceCurrencyOptionsCustomUnitAmount',context!), 'TaxBehavior': TaxBehavior, 'Tiers': JsonConverters.toJson(Tiers,'List',context!), 'UnitAmount': UnitAmount, 'UnitAmountDecimal': UnitAmountDecimal }); getTypeName() => "PriceCurrencyOptions"; TypeContext? context = _ctx; } class PriceCustomUnitAmount extends StripeEntity1 implements IConvertible { int? Maximum; int? Minimum; int? Preset; PriceCustomUnitAmount({this.Maximum,this.Minimum,this.Preset}); PriceCustomUnitAmount.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Maximum = json['Maximum']; Minimum = json['Minimum']; Preset = json['Preset']; return this; } Map toJson() => super.toJson()..addAll({ 'Maximum': Maximum, 'Minimum': Minimum, 'Preset': Preset }); getTypeName() => "PriceCustomUnitAmount"; TypeContext? context = _ctx; } class PriceRecurring extends StripeEntity1 implements IConvertible { String? Interval; int IntervalCount = 0; String? Meter; int? TrialPeriodDays; String? UsageType; PriceRecurring({this.Interval,this.IntervalCount,this.Meter,this.TrialPeriodDays,this.UsageType}); PriceRecurring.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Interval = json['Interval']; IntervalCount = json['IntervalCount']; Meter = json['Meter']; TrialPeriodDays = json['TrialPeriodDays']; UsageType = json['UsageType']; return this; } Map toJson() => super.toJson()..addAll({ 'Interval': Interval, 'IntervalCount': IntervalCount, 'Meter': Meter, 'TrialPeriodDays': TrialPeriodDays, 'UsageType': UsageType }); getTypeName() => "PriceRecurring"; TypeContext? context = _ctx; } class PriceTier extends StripeEntity1 implements IConvertible { int? FlatAmount; double? FlatAmountDecimal; int? UnitAmount; double? UnitAmountDecimal; int? UpTo; PriceTier({this.FlatAmount,this.FlatAmountDecimal,this.UnitAmount,this.UnitAmountDecimal,this.UpTo}); PriceTier.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); FlatAmount = json['FlatAmount']; FlatAmountDecimal = JsonConverters.toDouble(json['FlatAmountDecimal']); UnitAmount = json['UnitAmount']; UnitAmountDecimal = JsonConverters.toDouble(json['UnitAmountDecimal']); UpTo = json['UpTo']; return this; } Map toJson() => super.toJson()..addAll({ 'FlatAmount': FlatAmount, 'FlatAmountDecimal': FlatAmountDecimal, 'UnitAmount': UnitAmount, 'UnitAmountDecimal': UnitAmountDecimal, 'UpTo': UpTo }); getTypeName() => "PriceTier"; TypeContext? context = _ctx; } class PriceTransformQuantity extends StripeEntity1 implements IConvertible { int DivideBy = 0; String? Round; PriceTransformQuantity({this.DivideBy,this.Round}); PriceTransformQuantity.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); DivideBy = json['DivideBy']; Round = json['Round']; return this; } Map toJson() => super.toJson()..addAll({ 'DivideBy': DivideBy, 'Round': Round }); getTypeName() => "PriceTransformQuantity"; TypeContext? context = _ctx; } class Price extends StripeEntity1 implements IHasId, IHasMetadata, IHasObject, IConvertible { String? Id; String? Object; bool Active; String? BillingScheme; DateTime Created = DateTime(0); String? Currency; Map? CurrencyOptions; PriceCustomUnitAmount? CustomUnitAmount; bool Livemode; String? LookupKey; Map? Metadata; String? Nickname; PriceRecurring? Recurring; String? TaxBehavior; List? Tiers; String? TiersMode; PriceTransformQuantity? TransformQuantity; String? Type; int? UnitAmount; double? UnitAmountDecimal; Price({this.Id,this.Object,this.Active,this.BillingScheme,this.Created,this.Currency,this.CurrencyOptions,this.CustomUnitAmount,this.Livemode,this.LookupKey,this.Metadata,this.Nickname,this.Recurring,this.TaxBehavior,this.Tiers,this.TiersMode,this.TransformQuantity,this.Type,this.UnitAmount,this.UnitAmountDecimal}); Price.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Id = json['Id']; Object = json['Object']; Active = json['Active']; BillingScheme = json['BillingScheme']; Created = JsonConverters.fromJson(json['Created'],'DateTime',context!); Currency = json['Currency']; CurrencyOptions = JsonConverters.fromJson(json['CurrencyOptions'],'Map',context!); CustomUnitAmount = JsonConverters.fromJson(json['CustomUnitAmount'],'PriceCustomUnitAmount',context!); Livemode = json['Livemode']; LookupKey = json['LookupKey']; Metadata = JsonConverters.toStringMap(json['Metadata']); Nickname = json['Nickname']; Recurring = JsonConverters.fromJson(json['Recurring'],'PriceRecurring',context!); TaxBehavior = json['TaxBehavior']; Tiers = JsonConverters.fromJson(json['Tiers'],'List',context!); TiersMode = json['TiersMode']; TransformQuantity = JsonConverters.fromJson(json['TransformQuantity'],'PriceTransformQuantity',context!); Type = json['Type']; UnitAmount = json['UnitAmount']; UnitAmountDecimal = JsonConverters.toDouble(json['UnitAmountDecimal']); return this; } Map toJson() => super.toJson()..addAll({ 'Id': Id, 'Object': Object, 'Active': Active, 'BillingScheme': BillingScheme, 'Created': JsonConverters.toJson(Created,'DateTime',context!), 'Currency': Currency, 'CurrencyOptions': JsonConverters.toJson(CurrencyOptions,'Map',context!), 'CustomUnitAmount': JsonConverters.toJson(CustomUnitAmount,'PriceCustomUnitAmount',context!), 'Livemode': Livemode, 'LookupKey': LookupKey, 'Metadata': Metadata, 'Nickname': Nickname, 'Recurring': JsonConverters.toJson(Recurring,'PriceRecurring',context!), 'TaxBehavior': TaxBehavior, 'Tiers': JsonConverters.toJson(Tiers,'List',context!), 'TiersMode': TiersMode, 'TransformQuantity': JsonConverters.toJson(TransformQuantity,'PriceTransformQuantity',context!), 'Type': Type, 'UnitAmount': UnitAmount, 'UnitAmountDecimal': UnitAmountDecimal }); getTypeName() => "Price"; TypeContext? context = _ctx; } class TaxRateFlatAmount extends StripeEntity1 implements IConvertible { int Amount = 0; String? Currency; TaxRateFlatAmount({this.Amount,this.Currency}); TaxRateFlatAmount.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Amount = json['Amount']; Currency = json['Currency']; return this; } Map toJson() => super.toJson()..addAll({ 'Amount': Amount, 'Currency': Currency }); getTypeName() => "TaxRateFlatAmount"; TypeContext? context = _ctx; } class TaxRate extends StripeEntity1 implements IHasId, IHasMetadata, IHasObject, IConvertible { String? Id; String? Object; bool Active; String? Country; DateTime Created = DateTime(0); String? Description; String? DisplayName; double? EffectivePercentage; TaxRateFlatAmount? FlatAmount; bool Inclusive; String? Jurisdiction; String? JurisdictionLevel; bool Livemode; Map? Metadata; double Percentage = 0; String? RateType; String? State; String? TaxType; TaxRate({this.Id,this.Object,this.Active,this.Country,this.Created,this.Description,this.DisplayName,this.EffectivePercentage,this.FlatAmount,this.Inclusive,this.Jurisdiction,this.JurisdictionLevel,this.Livemode,this.Metadata,this.Percentage,this.RateType,this.State,this.TaxType}); TaxRate.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Id = json['Id']; Object = json['Object']; Active = json['Active']; Country = json['Country']; Created = JsonConverters.fromJson(json['Created'],'DateTime',context!); Description = json['Description']; DisplayName = json['DisplayName']; EffectivePercentage = JsonConverters.toDouble(json['EffectivePercentage']); FlatAmount = JsonConverters.fromJson(json['FlatAmount'],'TaxRateFlatAmount',context!); Inclusive = json['Inclusive']; Jurisdiction = json['Jurisdiction']; JurisdictionLevel = json['JurisdictionLevel']; Livemode = json['Livemode']; Metadata = JsonConverters.toStringMap(json['Metadata']); Percentage = JsonConverters.toDouble(json['Percentage']); RateType = json['RateType']; State = json['State']; TaxType = json['TaxType']; return this; } Map toJson() => super.toJson()..addAll({ 'Id': Id, 'Object': Object, 'Active': Active, 'Country': Country, 'Created': JsonConverters.toJson(Created,'DateTime',context!), 'Description': Description, 'DisplayName': DisplayName, 'EffectivePercentage': EffectivePercentage, 'FlatAmount': JsonConverters.toJson(FlatAmount,'TaxRateFlatAmount',context!), 'Inclusive': Inclusive, 'Jurisdiction': Jurisdiction, 'JurisdictionLevel': JurisdictionLevel, 'Livemode': Livemode, 'Metadata': Metadata, 'Percentage': Percentage, 'RateType': RateType, 'State': State, 'TaxType': TaxType }); getTypeName() => "TaxRate"; TypeContext? context = _ctx; } class LineItemTax extends StripeEntity1 implements IConvertible { int Amount = 0; TaxRate? Rate; String? TaxabilityReason; int? TaxableAmount; LineItemTax({this.Amount,this.Rate,this.TaxabilityReason,this.TaxableAmount}); LineItemTax.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Amount = json['Amount']; Rate = JsonConverters.fromJson(json['Rate'],'TaxRate',context!); TaxabilityReason = json['TaxabilityReason']; TaxableAmount = json['TaxableAmount']; return this; } Map toJson() => super.toJson()..addAll({ 'Amount': Amount, 'Rate': JsonConverters.toJson(Rate,'TaxRate',context!), 'TaxabilityReason': TaxabilityReason, 'TaxableAmount': TaxableAmount }); getTypeName() => "LineItemTax"; TypeContext? context = _ctx; } class LineItem extends StripeEntity1 implements IHasId, IHasObject, IConvertible { String? Id; String? Object; int AmountDiscount = 0; int AmountSubtotal = 0; int AmountTax = 0; int AmountTotal = 0; String? Currency; String? Description; List? Discounts; Price? Price; int? Quantity; List? Taxes; LineItem({this.Id,this.Object,this.AmountDiscount,this.AmountSubtotal,this.AmountTax,this.AmountTotal,this.Currency,this.Description,this.Discounts,this.Price,this.Quantity,this.Taxes}); LineItem.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Id = json['Id']; Object = json['Object']; AmountDiscount = json['AmountDiscount']; AmountSubtotal = json['AmountSubtotal']; AmountTax = json['AmountTax']; AmountTotal = json['AmountTotal']; Currency = json['Currency']; Description = json['Description']; Discounts = JsonConverters.fromJson(json['Discounts'],'List',context!); Price = JsonConverters.fromJson(json['Price'],'Price',context!); Quantity = json['Quantity']; Taxes = JsonConverters.fromJson(json['Taxes'],'List',context!); return this; } Map toJson() => super.toJson()..addAll({ 'Id': Id, 'Object': Object, 'AmountDiscount': AmountDiscount, 'AmountSubtotal': AmountSubtotal, 'AmountTax': AmountTax, 'AmountTotal': AmountTotal, 'Currency': Currency, 'Description': Description, 'Discounts': JsonConverters.toJson(Discounts,'List',context!), 'Price': JsonConverters.toJson(Price,'Price',context!), 'Quantity': Quantity, 'Taxes': JsonConverters.toJson(Taxes,'List',context!) }); getTypeName() => "LineItem"; TypeContext? context = _ctx; } class SessionOptionalItemAdjustableQuantity extends StripeEntity1 implements IConvertible { bool Enabled; int? Maximum; int? Minimum; SessionOptionalItemAdjustableQuantity({this.Enabled,this.Maximum,this.Minimum}); SessionOptionalItemAdjustableQuantity.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Enabled = json['Enabled']; Maximum = json['Maximum']; Minimum = json['Minimum']; return this; } Map toJson() => super.toJson()..addAll({ 'Enabled': Enabled, 'Maximum': Maximum, 'Minimum': Minimum }); getTypeName() => "SessionOptionalItemAdjustableQuantity"; TypeContext? context = _ctx; } class SessionOptionalItem extends StripeEntity1 implements IConvertible { SessionOptionalItemAdjustableQuantity? AdjustableQuantity; String? Price; int Quantity = 0; SessionOptionalItem({this.AdjustableQuantity,this.Price,this.Quantity}); SessionOptionalItem.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); AdjustableQuantity = JsonConverters.fromJson(json['AdjustableQuantity'],'SessionOptionalItemAdjustableQuantity',context!); Price = json['Price']; Quantity = json['Quantity']; return this; } Map toJson() => super.toJson()..addAll({ 'AdjustableQuantity': JsonConverters.toJson(AdjustableQuantity,'SessionOptionalItemAdjustableQuantity',context!), 'Price': Price, 'Quantity': Quantity }); getTypeName() => "SessionOptionalItem"; TypeContext? context = _ctx; } class SessionPaymentMethodConfigurationDetails extends StripeEntity1 implements IHasId, IConvertible { String? Id; String? Parent; SessionPaymentMethodConfigurationDetails({this.Id,this.Parent}); SessionPaymentMethodConfigurationDetails.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Id = json['Id']; Parent = json['Parent']; return this; } Map toJson() => super.toJson()..addAll({ 'Id': Id, 'Parent': Parent }); getTypeName() => "SessionPaymentMethodConfigurationDetails"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsAcssDebitMandateOptions extends StripeEntity1 implements IConvertible { String? CustomMandateUrl; List? DefaultFor; String? IntervalDescription; String? PaymentSchedule; String? TransactionType; SessionPaymentMethodOptionsAcssDebitMandateOptions({this.CustomMandateUrl,this.DefaultFor,this.IntervalDescription,this.PaymentSchedule,this.TransactionType}); SessionPaymentMethodOptionsAcssDebitMandateOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CustomMandateUrl = json['CustomMandateUrl']; DefaultFor = JsonConverters.fromJson(json['DefaultFor'],'List',context!); IntervalDescription = json['IntervalDescription']; PaymentSchedule = json['PaymentSchedule']; TransactionType = json['TransactionType']; return this; } Map toJson() => super.toJson()..addAll({ 'CustomMandateUrl': CustomMandateUrl, 'DefaultFor': JsonConverters.toJson(DefaultFor,'List',context!), 'IntervalDescription': IntervalDescription, 'PaymentSchedule': PaymentSchedule, 'TransactionType': TransactionType }); getTypeName() => "SessionPaymentMethodOptionsAcssDebitMandateOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsAcssDebit extends StripeEntity1 implements IConvertible { String? Currency; SessionPaymentMethodOptionsAcssDebitMandateOptions? MandateOptions; String? SetupFutureUsage; String? TargetDate; String? VerificationMethod; SessionPaymentMethodOptionsAcssDebit({this.Currency,this.MandateOptions,this.SetupFutureUsage,this.TargetDate,this.VerificationMethod}); SessionPaymentMethodOptionsAcssDebit.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Currency = json['Currency']; MandateOptions = JsonConverters.fromJson(json['MandateOptions'],'SessionPaymentMethodOptionsAcssDebitMandateOptions',context!); SetupFutureUsage = json['SetupFutureUsage']; TargetDate = json['TargetDate']; VerificationMethod = json['VerificationMethod']; return this; } Map toJson() => super.toJson()..addAll({ 'Currency': Currency, 'MandateOptions': JsonConverters.toJson(MandateOptions,'SessionPaymentMethodOptionsAcssDebitMandateOptions',context!), 'SetupFutureUsage': SetupFutureUsage, 'TargetDate': TargetDate, 'VerificationMethod': VerificationMethod }); getTypeName() => "SessionPaymentMethodOptionsAcssDebit"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsAffirm extends StripeEntity1 implements IConvertible { String? SetupFutureUsage; SessionPaymentMethodOptionsAffirm({this.SetupFutureUsage}); SessionPaymentMethodOptionsAffirm.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "SessionPaymentMethodOptionsAffirm"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsAfterpayClearpay extends StripeEntity1 implements IConvertible { String? SetupFutureUsage; SessionPaymentMethodOptionsAfterpayClearpay({this.SetupFutureUsage}); SessionPaymentMethodOptionsAfterpayClearpay.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "SessionPaymentMethodOptionsAfterpayClearpay"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsAlipay extends StripeEntity1 implements IConvertible { String? SetupFutureUsage; SessionPaymentMethodOptionsAlipay({this.SetupFutureUsage}); SessionPaymentMethodOptionsAlipay.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "SessionPaymentMethodOptionsAlipay"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsAmazonPay extends StripeEntity1 implements IConvertible { String? SetupFutureUsage; SessionPaymentMethodOptionsAmazonPay({this.SetupFutureUsage}); SessionPaymentMethodOptionsAmazonPay.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "SessionPaymentMethodOptionsAmazonPay"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsAuBecsDebit extends StripeEntity1 implements IConvertible { String? SetupFutureUsage; String? TargetDate; SessionPaymentMethodOptionsAuBecsDebit({this.SetupFutureUsage,this.TargetDate}); SessionPaymentMethodOptionsAuBecsDebit.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); SetupFutureUsage = json['SetupFutureUsage']; TargetDate = json['TargetDate']; return this; } Map toJson() => super.toJson()..addAll({ 'SetupFutureUsage': SetupFutureUsage, 'TargetDate': TargetDate }); getTypeName() => "SessionPaymentMethodOptionsAuBecsDebit"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsBacsDebitMandateOptions extends StripeEntity1 implements IConvertible { String? ReferencePrefix; SessionPaymentMethodOptionsBacsDebitMandateOptions({this.ReferencePrefix}); SessionPaymentMethodOptionsBacsDebitMandateOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ReferencePrefix = json['ReferencePrefix']; return this; } Map toJson() => super.toJson()..addAll({ 'ReferencePrefix': ReferencePrefix }); getTypeName() => "SessionPaymentMethodOptionsBacsDebitMandateOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsBacsDebit extends StripeEntity1 implements IConvertible { SessionPaymentMethodOptionsBacsDebitMandateOptions? MandateOptions; String? SetupFutureUsage; String? TargetDate; SessionPaymentMethodOptionsBacsDebit({this.MandateOptions,this.SetupFutureUsage,this.TargetDate}); SessionPaymentMethodOptionsBacsDebit.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); MandateOptions = JsonConverters.fromJson(json['MandateOptions'],'SessionPaymentMethodOptionsBacsDebitMandateOptions',context!); SetupFutureUsage = json['SetupFutureUsage']; TargetDate = json['TargetDate']; return this; } Map toJson() => super.toJson()..addAll({ 'MandateOptions': JsonConverters.toJson(MandateOptions,'SessionPaymentMethodOptionsBacsDebitMandateOptions',context!), 'SetupFutureUsage': SetupFutureUsage, 'TargetDate': TargetDate }); getTypeName() => "SessionPaymentMethodOptionsBacsDebit"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsBancontact extends StripeEntity1 implements IConvertible { String? SetupFutureUsage; SessionPaymentMethodOptionsBancontact({this.SetupFutureUsage}); SessionPaymentMethodOptionsBancontact.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "SessionPaymentMethodOptionsBancontact"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsBoleto extends StripeEntity1 implements IConvertible { int ExpiresAfterDays = 0; String? SetupFutureUsage; SessionPaymentMethodOptionsBoleto({this.ExpiresAfterDays,this.SetupFutureUsage}); SessionPaymentMethodOptionsBoleto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ExpiresAfterDays = json['ExpiresAfterDays']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'ExpiresAfterDays': ExpiresAfterDays, 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "SessionPaymentMethodOptionsBoleto"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsCardInstallments extends StripeEntity1 implements IConvertible { bool Enabled; SessionPaymentMethodOptionsCardInstallments({this.Enabled}); SessionPaymentMethodOptionsCardInstallments.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Enabled = json['Enabled']; return this; } Map toJson() => super.toJson()..addAll({ 'Enabled': Enabled }); getTypeName() => "SessionPaymentMethodOptionsCardInstallments"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsCardRestrictions extends StripeEntity1 implements IConvertible { List? BrandsBlocked; SessionPaymentMethodOptionsCardRestrictions({this.BrandsBlocked}); SessionPaymentMethodOptionsCardRestrictions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); BrandsBlocked = JsonConverters.fromJson(json['BrandsBlocked'],'List',context!); return this; } Map toJson() => super.toJson()..addAll({ 'BrandsBlocked': JsonConverters.toJson(BrandsBlocked,'List',context!) }); getTypeName() => "SessionPaymentMethodOptionsCardRestrictions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsCard extends StripeEntity1 implements IConvertible { SessionPaymentMethodOptionsCardInstallments? Installments; String? RequestExtendedAuthorization; String? RequestIncrementalAuthorization; String? RequestMulticapture; String? RequestOvercapture; String? RequestThreeDSecure; SessionPaymentMethodOptionsCardRestrictions? Restrictions; String? SetupFutureUsage; String? StatementDescriptorSuffixKana; String? StatementDescriptorSuffixKanji; SessionPaymentMethodOptionsCard({this.Installments,this.RequestExtendedAuthorization,this.RequestIncrementalAuthorization,this.RequestMulticapture,this.RequestOvercapture,this.RequestThreeDSecure,this.Restrictions,this.SetupFutureUsage,this.StatementDescriptorSuffixKana,this.StatementDescriptorSuffixKanji}); SessionPaymentMethodOptionsCard.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Installments = JsonConverters.fromJson(json['Installments'],'SessionPaymentMethodOptionsCardInstallments',context!); RequestExtendedAuthorization = json['RequestExtendedAuthorization']; RequestIncrementalAuthorization = json['RequestIncrementalAuthorization']; RequestMulticapture = json['RequestMulticapture']; RequestOvercapture = json['RequestOvercapture']; RequestThreeDSecure = json['RequestThreeDSecure']; Restrictions = JsonConverters.fromJson(json['Restrictions'],'SessionPaymentMethodOptionsCardRestrictions',context!); SetupFutureUsage = json['SetupFutureUsage']; StatementDescriptorSuffixKana = json['StatementDescriptorSuffixKana']; StatementDescriptorSuffixKanji = json['StatementDescriptorSuffixKanji']; return this; } Map toJson() => super.toJson()..addAll({ 'Installments': JsonConverters.toJson(Installments,'SessionPaymentMethodOptionsCardInstallments',context!), 'RequestExtendedAuthorization': RequestExtendedAuthorization, 'RequestIncrementalAuthorization': RequestIncrementalAuthorization, 'RequestMulticapture': RequestMulticapture, 'RequestOvercapture': RequestOvercapture, 'RequestThreeDSecure': RequestThreeDSecure, 'Restrictions': JsonConverters.toJson(Restrictions,'SessionPaymentMethodOptionsCardRestrictions',context!), 'SetupFutureUsage': SetupFutureUsage, 'StatementDescriptorSuffixKana': StatementDescriptorSuffixKana, 'StatementDescriptorSuffixKanji': StatementDescriptorSuffixKanji }); getTypeName() => "SessionPaymentMethodOptionsCard"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsCashapp extends StripeEntity1 implements IConvertible { String? SetupFutureUsage; SessionPaymentMethodOptionsCashapp({this.SetupFutureUsage}); SessionPaymentMethodOptionsCashapp.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "SessionPaymentMethodOptionsCashapp"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer extends StripeEntity1 implements IConvertible { String? Country; SessionPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer({this.Country}); SessionPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Country = json['Country']; return this; } Map toJson() => super.toJson()..addAll({ 'Country': Country }); getTypeName() => "SessionPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsCustomerBalanceBankTransfer extends StripeEntity1 implements IConvertible { SessionPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer? EuBankTransfer; List? RequestedAddressTypes; String? Type; SessionPaymentMethodOptionsCustomerBalanceBankTransfer({this.EuBankTransfer,this.RequestedAddressTypes,this.Type}); SessionPaymentMethodOptionsCustomerBalanceBankTransfer.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); EuBankTransfer = JsonConverters.fromJson(json['EuBankTransfer'],'SessionPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer',context!); RequestedAddressTypes = JsonConverters.fromJson(json['RequestedAddressTypes'],'List',context!); Type = json['Type']; return this; } Map toJson() => super.toJson()..addAll({ 'EuBankTransfer': JsonConverters.toJson(EuBankTransfer,'SessionPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer',context!), 'RequestedAddressTypes': JsonConverters.toJson(RequestedAddressTypes,'List',context!), 'Type': Type }); getTypeName() => "SessionPaymentMethodOptionsCustomerBalanceBankTransfer"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsCustomerBalance extends StripeEntity1 implements IConvertible { SessionPaymentMethodOptionsCustomerBalanceBankTransfer? BankTransfer; String? FundingType; String? SetupFutureUsage; SessionPaymentMethodOptionsCustomerBalance({this.BankTransfer,this.FundingType,this.SetupFutureUsage}); SessionPaymentMethodOptionsCustomerBalance.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); BankTransfer = JsonConverters.fromJson(json['BankTransfer'],'SessionPaymentMethodOptionsCustomerBalanceBankTransfer',context!); FundingType = json['FundingType']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'BankTransfer': JsonConverters.toJson(BankTransfer,'SessionPaymentMethodOptionsCustomerBalanceBankTransfer',context!), 'FundingType': FundingType, 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "SessionPaymentMethodOptionsCustomerBalance"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsEps extends StripeEntity1 implements IConvertible { String? SetupFutureUsage; SessionPaymentMethodOptionsEps({this.SetupFutureUsage}); SessionPaymentMethodOptionsEps.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "SessionPaymentMethodOptionsEps"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsFpx extends StripeEntity1 implements IConvertible { String? SetupFutureUsage; SessionPaymentMethodOptionsFpx({this.SetupFutureUsage}); SessionPaymentMethodOptionsFpx.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "SessionPaymentMethodOptionsFpx"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsGiropay extends StripeEntity1 implements IConvertible { String? SetupFutureUsage; SessionPaymentMethodOptionsGiropay({this.SetupFutureUsage}); SessionPaymentMethodOptionsGiropay.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "SessionPaymentMethodOptionsGiropay"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsGrabpay extends StripeEntity1 implements IConvertible { String? SetupFutureUsage; SessionPaymentMethodOptionsGrabpay({this.SetupFutureUsage}); SessionPaymentMethodOptionsGrabpay.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "SessionPaymentMethodOptionsGrabpay"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsIdeal extends StripeEntity1 implements IConvertible { String? SetupFutureUsage; SessionPaymentMethodOptionsIdeal({this.SetupFutureUsage}); SessionPaymentMethodOptionsIdeal.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "SessionPaymentMethodOptionsIdeal"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsKakaoPay extends StripeEntity1 implements IConvertible { String? CaptureMethod; String? SetupFutureUsage; SessionPaymentMethodOptionsKakaoPay({this.CaptureMethod,this.SetupFutureUsage}); SessionPaymentMethodOptionsKakaoPay.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CaptureMethod = json['CaptureMethod']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'CaptureMethod': CaptureMethod, 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "SessionPaymentMethodOptionsKakaoPay"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsKlarna extends StripeEntity1 implements IConvertible { String? SetupFutureUsage; SessionPaymentMethodOptionsKlarna({this.SetupFutureUsage}); SessionPaymentMethodOptionsKlarna.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "SessionPaymentMethodOptionsKlarna"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsKonbini extends StripeEntity1 implements IConvertible { int? ExpiresAfterDays; String? SetupFutureUsage; SessionPaymentMethodOptionsKonbini({this.ExpiresAfterDays,this.SetupFutureUsage}); SessionPaymentMethodOptionsKonbini.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ExpiresAfterDays = json['ExpiresAfterDays']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'ExpiresAfterDays': ExpiresAfterDays, 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "SessionPaymentMethodOptionsKonbini"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsKrCard extends StripeEntity1 implements IConvertible { String? CaptureMethod; String? SetupFutureUsage; SessionPaymentMethodOptionsKrCard({this.CaptureMethod,this.SetupFutureUsage}); SessionPaymentMethodOptionsKrCard.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CaptureMethod = json['CaptureMethod']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'CaptureMethod': CaptureMethod, 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "SessionPaymentMethodOptionsKrCard"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsLink extends StripeEntity1 implements IConvertible { String? SetupFutureUsage; SessionPaymentMethodOptionsLink({this.SetupFutureUsage}); SessionPaymentMethodOptionsLink.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "SessionPaymentMethodOptionsLink"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsMobilepay extends StripeEntity1 implements IConvertible { String? SetupFutureUsage; SessionPaymentMethodOptionsMobilepay({this.SetupFutureUsage}); SessionPaymentMethodOptionsMobilepay.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "SessionPaymentMethodOptionsMobilepay"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsMultibanco extends StripeEntity1 implements IConvertible { String? SetupFutureUsage; SessionPaymentMethodOptionsMultibanco({this.SetupFutureUsage}); SessionPaymentMethodOptionsMultibanco.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "SessionPaymentMethodOptionsMultibanco"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsNaverPay extends StripeEntity1 implements IConvertible { String? CaptureMethod; SessionPaymentMethodOptionsNaverPay({this.CaptureMethod}); SessionPaymentMethodOptionsNaverPay.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CaptureMethod = json['CaptureMethod']; return this; } Map toJson() => super.toJson()..addAll({ 'CaptureMethod': CaptureMethod }); getTypeName() => "SessionPaymentMethodOptionsNaverPay"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsOxxo extends StripeEntity1 implements IConvertible { int ExpiresAfterDays = 0; String? SetupFutureUsage; SessionPaymentMethodOptionsOxxo({this.ExpiresAfterDays,this.SetupFutureUsage}); SessionPaymentMethodOptionsOxxo.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ExpiresAfterDays = json['ExpiresAfterDays']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'ExpiresAfterDays': ExpiresAfterDays, 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "SessionPaymentMethodOptionsOxxo"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsP24 extends StripeEntity1 implements IConvertible { String? SetupFutureUsage; SessionPaymentMethodOptionsP24({this.SetupFutureUsage}); SessionPaymentMethodOptionsP24.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "SessionPaymentMethodOptionsP24"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsPayco extends StripeEntity1 implements IConvertible { String? CaptureMethod; SessionPaymentMethodOptionsPayco({this.CaptureMethod}); SessionPaymentMethodOptionsPayco.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CaptureMethod = json['CaptureMethod']; return this; } Map toJson() => super.toJson()..addAll({ 'CaptureMethod': CaptureMethod }); getTypeName() => "SessionPaymentMethodOptionsPayco"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsPaynow extends StripeEntity1 implements IConvertible { String? SetupFutureUsage; SessionPaymentMethodOptionsPaynow({this.SetupFutureUsage}); SessionPaymentMethodOptionsPaynow.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "SessionPaymentMethodOptionsPaynow"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsPaypal extends StripeEntity1 implements IConvertible { String? CaptureMethod; String? PreferredLocale; String? Reference; String? SetupFutureUsage; SessionPaymentMethodOptionsPaypal({this.CaptureMethod,this.PreferredLocale,this.Reference,this.SetupFutureUsage}); SessionPaymentMethodOptionsPaypal.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CaptureMethod = json['CaptureMethod']; PreferredLocale = json['PreferredLocale']; Reference = json['Reference']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'CaptureMethod': CaptureMethod, 'PreferredLocale': PreferredLocale, 'Reference': Reference, 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "SessionPaymentMethodOptionsPaypal"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsPix extends StripeEntity1 implements IConvertible { int? ExpiresAfterSeconds; SessionPaymentMethodOptionsPix({this.ExpiresAfterSeconds}); SessionPaymentMethodOptionsPix.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ExpiresAfterSeconds = json['ExpiresAfterSeconds']; return this; } Map toJson() => super.toJson()..addAll({ 'ExpiresAfterSeconds': ExpiresAfterSeconds }); getTypeName() => "SessionPaymentMethodOptionsPix"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsRevolutPay extends StripeEntity1 implements IConvertible { String? SetupFutureUsage; SessionPaymentMethodOptionsRevolutPay({this.SetupFutureUsage}); SessionPaymentMethodOptionsRevolutPay.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "SessionPaymentMethodOptionsRevolutPay"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsSamsungPay extends StripeEntity1 implements IConvertible { String? CaptureMethod; SessionPaymentMethodOptionsSamsungPay({this.CaptureMethod}); SessionPaymentMethodOptionsSamsungPay.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CaptureMethod = json['CaptureMethod']; return this; } Map toJson() => super.toJson()..addAll({ 'CaptureMethod': CaptureMethod }); getTypeName() => "SessionPaymentMethodOptionsSamsungPay"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsSepaDebitMandateOptions extends StripeEntity1 implements IConvertible { String? ReferencePrefix; SessionPaymentMethodOptionsSepaDebitMandateOptions({this.ReferencePrefix}); SessionPaymentMethodOptionsSepaDebitMandateOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ReferencePrefix = json['ReferencePrefix']; return this; } Map toJson() => super.toJson()..addAll({ 'ReferencePrefix': ReferencePrefix }); getTypeName() => "SessionPaymentMethodOptionsSepaDebitMandateOptions"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsSepaDebit extends StripeEntity1 implements IConvertible { SessionPaymentMethodOptionsSepaDebitMandateOptions? MandateOptions; String? SetupFutureUsage; String? TargetDate; SessionPaymentMethodOptionsSepaDebit({this.MandateOptions,this.SetupFutureUsage,this.TargetDate}); SessionPaymentMethodOptionsSepaDebit.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); MandateOptions = JsonConverters.fromJson(json['MandateOptions'],'SessionPaymentMethodOptionsSepaDebitMandateOptions',context!); SetupFutureUsage = json['SetupFutureUsage']; TargetDate = json['TargetDate']; return this; } Map toJson() => super.toJson()..addAll({ 'MandateOptions': JsonConverters.toJson(MandateOptions,'SessionPaymentMethodOptionsSepaDebitMandateOptions',context!), 'SetupFutureUsage': SetupFutureUsage, 'TargetDate': TargetDate }); getTypeName() => "SessionPaymentMethodOptionsSepaDebit"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsSofort extends StripeEntity1 implements IConvertible { String? SetupFutureUsage; SessionPaymentMethodOptionsSofort({this.SetupFutureUsage}); SessionPaymentMethodOptionsSofort.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "SessionPaymentMethodOptionsSofort"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsSwish extends StripeEntity1 implements IConvertible { String? Reference; SessionPaymentMethodOptionsSwish({this.Reference}); SessionPaymentMethodOptionsSwish.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Reference = json['Reference']; return this; } Map toJson() => super.toJson()..addAll({ 'Reference': Reference }); getTypeName() => "SessionPaymentMethodOptionsSwish"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters extends StripeEntity1 implements IConvertible { List? AccountSubcategories; SessionPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters({this.AccountSubcategories}); SessionPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); AccountSubcategories = JsonConverters.fromJson(json['AccountSubcategories'],'List',context!); return this; } Map toJson() => super.toJson()..addAll({ 'AccountSubcategories': JsonConverters.toJson(AccountSubcategories,'List',context!) }); getTypeName() => "SessionPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsUsBankAccountFinancialConnections extends StripeEntity1 implements IConvertible { SessionPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters? Filters; List? Permissions; List? Prefetch; String? ReturnUrl; SessionPaymentMethodOptionsUsBankAccountFinancialConnections({this.Filters,this.Permissions,this.Prefetch,this.ReturnUrl}); SessionPaymentMethodOptionsUsBankAccountFinancialConnections.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Filters = JsonConverters.fromJson(json['Filters'],'SessionPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters',context!); Permissions = JsonConverters.fromJson(json['Permissions'],'List',context!); Prefetch = JsonConverters.fromJson(json['Prefetch'],'List',context!); ReturnUrl = json['ReturnUrl']; return this; } Map toJson() => super.toJson()..addAll({ 'Filters': JsonConverters.toJson(Filters,'SessionPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters',context!), 'Permissions': JsonConverters.toJson(Permissions,'List',context!), 'Prefetch': JsonConverters.toJson(Prefetch,'List',context!), 'ReturnUrl': ReturnUrl }); getTypeName() => "SessionPaymentMethodOptionsUsBankAccountFinancialConnections"; TypeContext? context = _ctx; } class SessionPaymentMethodOptionsUsBankAccount extends StripeEntity1 implements IConvertible { SessionPaymentMethodOptionsUsBankAccountFinancialConnections? FinancialConnections; String? SetupFutureUsage; String? TargetDate; String? VerificationMethod; SessionPaymentMethodOptionsUsBankAccount({this.FinancialConnections,this.SetupFutureUsage,this.TargetDate,this.VerificationMethod}); SessionPaymentMethodOptionsUsBankAccount.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); FinancialConnections = JsonConverters.fromJson(json['FinancialConnections'],'SessionPaymentMethodOptionsUsBankAccountFinancialConnections',context!); SetupFutureUsage = json['SetupFutureUsage']; TargetDate = json['TargetDate']; VerificationMethod = json['VerificationMethod']; return this; } Map toJson() => super.toJson()..addAll({ 'FinancialConnections': JsonConverters.toJson(FinancialConnections,'SessionPaymentMethodOptionsUsBankAccountFinancialConnections',context!), 'SetupFutureUsage': SetupFutureUsage, 'TargetDate': TargetDate, 'VerificationMethod': VerificationMethod }); getTypeName() => "SessionPaymentMethodOptionsUsBankAccount"; TypeContext? context = _ctx; } class SessionPaymentMethodOptions extends StripeEntity1 implements IConvertible { SessionPaymentMethodOptionsAcssDebit? AcssDebit; SessionPaymentMethodOptionsAffirm? Affirm; SessionPaymentMethodOptionsAfterpayClearpay? AfterpayClearpay; SessionPaymentMethodOptionsAlipay? Alipay; SessionPaymentMethodOptionsAmazonPay? AmazonPay; SessionPaymentMethodOptionsAuBecsDebit? AuBecsDebit; SessionPaymentMethodOptionsBacsDebit? BacsDebit; SessionPaymentMethodOptionsBancontact? Bancontact; SessionPaymentMethodOptionsBoleto? Boleto; SessionPaymentMethodOptionsCard? Card; SessionPaymentMethodOptionsCashapp? Cashapp; SessionPaymentMethodOptionsCustomerBalance? CustomerBalance; SessionPaymentMethodOptionsEps? Eps; SessionPaymentMethodOptionsFpx? Fpx; SessionPaymentMethodOptionsGiropay? Giropay; SessionPaymentMethodOptionsGrabpay? Grabpay; SessionPaymentMethodOptionsIdeal? Ideal; SessionPaymentMethodOptionsKakaoPay? KakaoPay; SessionPaymentMethodOptionsKlarna? Klarna; SessionPaymentMethodOptionsKonbini? Konbini; SessionPaymentMethodOptionsKrCard? KrCard; SessionPaymentMethodOptionsLink? Link; SessionPaymentMethodOptionsMobilepay? Mobilepay; SessionPaymentMethodOptionsMultibanco? Multibanco; SessionPaymentMethodOptionsNaverPay? NaverPay; SessionPaymentMethodOptionsOxxo? Oxxo; SessionPaymentMethodOptionsP24? P24; SessionPaymentMethodOptionsPayco? Payco; SessionPaymentMethodOptionsPaynow? Paynow; SessionPaymentMethodOptionsPaypal? Paypal; SessionPaymentMethodOptionsPix? Pix; SessionPaymentMethodOptionsRevolutPay? RevolutPay; SessionPaymentMethodOptionsSamsungPay? SamsungPay; SessionPaymentMethodOptionsSepaDebit? SepaDebit; SessionPaymentMethodOptionsSofort? Sofort; SessionPaymentMethodOptionsSwish? Swish; SessionPaymentMethodOptionsUsBankAccount? UsBankAccount; SessionPaymentMethodOptions({this.AcssDebit,this.Affirm,this.AfterpayClearpay,this.Alipay,this.AmazonPay,this.AuBecsDebit,this.BacsDebit,this.Bancontact,this.Boleto,this.Card,this.Cashapp,this.CustomerBalance,this.Eps,this.Fpx,this.Giropay,this.Grabpay,this.Ideal,this.KakaoPay,this.Klarna,this.Konbini,this.KrCard,this.Link,this.Mobilepay,this.Multibanco,this.NaverPay,this.Oxxo,this.P24,this.Payco,this.Paynow,this.Paypal,this.Pix,this.RevolutPay,this.SamsungPay,this.SepaDebit,this.Sofort,this.Swish,this.UsBankAccount}); SessionPaymentMethodOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); AcssDebit = JsonConverters.fromJson(json['AcssDebit'],'SessionPaymentMethodOptionsAcssDebit',context!); Affirm = JsonConverters.fromJson(json['Affirm'],'SessionPaymentMethodOptionsAffirm',context!); AfterpayClearpay = JsonConverters.fromJson(json['AfterpayClearpay'],'SessionPaymentMethodOptionsAfterpayClearpay',context!); Alipay = JsonConverters.fromJson(json['Alipay'],'SessionPaymentMethodOptionsAlipay',context!); AmazonPay = JsonConverters.fromJson(json['AmazonPay'],'SessionPaymentMethodOptionsAmazonPay',context!); AuBecsDebit = JsonConverters.fromJson(json['AuBecsDebit'],'SessionPaymentMethodOptionsAuBecsDebit',context!); BacsDebit = JsonConverters.fromJson(json['BacsDebit'],'SessionPaymentMethodOptionsBacsDebit',context!); Bancontact = JsonConverters.fromJson(json['Bancontact'],'SessionPaymentMethodOptionsBancontact',context!); Boleto = JsonConverters.fromJson(json['Boleto'],'SessionPaymentMethodOptionsBoleto',context!); Card = JsonConverters.fromJson(json['Card'],'SessionPaymentMethodOptionsCard',context!); Cashapp = JsonConverters.fromJson(json['Cashapp'],'SessionPaymentMethodOptionsCashapp',context!); CustomerBalance = JsonConverters.fromJson(json['CustomerBalance'],'SessionPaymentMethodOptionsCustomerBalance',context!); Eps = JsonConverters.fromJson(json['Eps'],'SessionPaymentMethodOptionsEps',context!); Fpx = JsonConverters.fromJson(json['Fpx'],'SessionPaymentMethodOptionsFpx',context!); Giropay = JsonConverters.fromJson(json['Giropay'],'SessionPaymentMethodOptionsGiropay',context!); Grabpay = JsonConverters.fromJson(json['Grabpay'],'SessionPaymentMethodOptionsGrabpay',context!); Ideal = JsonConverters.fromJson(json['Ideal'],'SessionPaymentMethodOptionsIdeal',context!); KakaoPay = JsonConverters.fromJson(json['KakaoPay'],'SessionPaymentMethodOptionsKakaoPay',context!); Klarna = JsonConverters.fromJson(json['Klarna'],'SessionPaymentMethodOptionsKlarna',context!); Konbini = JsonConverters.fromJson(json['Konbini'],'SessionPaymentMethodOptionsKonbini',context!); KrCard = JsonConverters.fromJson(json['KrCard'],'SessionPaymentMethodOptionsKrCard',context!); Link = JsonConverters.fromJson(json['Link'],'SessionPaymentMethodOptionsLink',context!); Mobilepay = JsonConverters.fromJson(json['Mobilepay'],'SessionPaymentMethodOptionsMobilepay',context!); Multibanco = JsonConverters.fromJson(json['Multibanco'],'SessionPaymentMethodOptionsMultibanco',context!); NaverPay = JsonConverters.fromJson(json['NaverPay'],'SessionPaymentMethodOptionsNaverPay',context!); Oxxo = JsonConverters.fromJson(json['Oxxo'],'SessionPaymentMethodOptionsOxxo',context!); P24 = JsonConverters.fromJson(json['P24'],'SessionPaymentMethodOptionsP24',context!); Payco = JsonConverters.fromJson(json['Payco'],'SessionPaymentMethodOptionsPayco',context!); Paynow = JsonConverters.fromJson(json['Paynow'],'SessionPaymentMethodOptionsPaynow',context!); Paypal = JsonConverters.fromJson(json['Paypal'],'SessionPaymentMethodOptionsPaypal',context!); Pix = JsonConverters.fromJson(json['Pix'],'SessionPaymentMethodOptionsPix',context!); RevolutPay = JsonConverters.fromJson(json['RevolutPay'],'SessionPaymentMethodOptionsRevolutPay',context!); SamsungPay = JsonConverters.fromJson(json['SamsungPay'],'SessionPaymentMethodOptionsSamsungPay',context!); SepaDebit = JsonConverters.fromJson(json['SepaDebit'],'SessionPaymentMethodOptionsSepaDebit',context!); Sofort = JsonConverters.fromJson(json['Sofort'],'SessionPaymentMethodOptionsSofort',context!); Swish = JsonConverters.fromJson(json['Swish'],'SessionPaymentMethodOptionsSwish',context!); UsBankAccount = JsonConverters.fromJson(json['UsBankAccount'],'SessionPaymentMethodOptionsUsBankAccount',context!); return this; } Map toJson() => super.toJson()..addAll({ 'AcssDebit': JsonConverters.toJson(AcssDebit,'SessionPaymentMethodOptionsAcssDebit',context!), 'Affirm': JsonConverters.toJson(Affirm,'SessionPaymentMethodOptionsAffirm',context!), 'AfterpayClearpay': JsonConverters.toJson(AfterpayClearpay,'SessionPaymentMethodOptionsAfterpayClearpay',context!), 'Alipay': JsonConverters.toJson(Alipay,'SessionPaymentMethodOptionsAlipay',context!), 'AmazonPay': JsonConverters.toJson(AmazonPay,'SessionPaymentMethodOptionsAmazonPay',context!), 'AuBecsDebit': JsonConverters.toJson(AuBecsDebit,'SessionPaymentMethodOptionsAuBecsDebit',context!), 'BacsDebit': JsonConverters.toJson(BacsDebit,'SessionPaymentMethodOptionsBacsDebit',context!), 'Bancontact': JsonConverters.toJson(Bancontact,'SessionPaymentMethodOptionsBancontact',context!), 'Boleto': JsonConverters.toJson(Boleto,'SessionPaymentMethodOptionsBoleto',context!), 'Card': JsonConverters.toJson(Card,'SessionPaymentMethodOptionsCard',context!), 'Cashapp': JsonConverters.toJson(Cashapp,'SessionPaymentMethodOptionsCashapp',context!), 'CustomerBalance': JsonConverters.toJson(CustomerBalance,'SessionPaymentMethodOptionsCustomerBalance',context!), 'Eps': JsonConverters.toJson(Eps,'SessionPaymentMethodOptionsEps',context!), 'Fpx': JsonConverters.toJson(Fpx,'SessionPaymentMethodOptionsFpx',context!), 'Giropay': JsonConverters.toJson(Giropay,'SessionPaymentMethodOptionsGiropay',context!), 'Grabpay': JsonConverters.toJson(Grabpay,'SessionPaymentMethodOptionsGrabpay',context!), 'Ideal': JsonConverters.toJson(Ideal,'SessionPaymentMethodOptionsIdeal',context!), 'KakaoPay': JsonConverters.toJson(KakaoPay,'SessionPaymentMethodOptionsKakaoPay',context!), 'Klarna': JsonConverters.toJson(Klarna,'SessionPaymentMethodOptionsKlarna',context!), 'Konbini': JsonConverters.toJson(Konbini,'SessionPaymentMethodOptionsKonbini',context!), 'KrCard': JsonConverters.toJson(KrCard,'SessionPaymentMethodOptionsKrCard',context!), 'Link': JsonConverters.toJson(Link,'SessionPaymentMethodOptionsLink',context!), 'Mobilepay': JsonConverters.toJson(Mobilepay,'SessionPaymentMethodOptionsMobilepay',context!), 'Multibanco': JsonConverters.toJson(Multibanco,'SessionPaymentMethodOptionsMultibanco',context!), 'NaverPay': JsonConverters.toJson(NaverPay,'SessionPaymentMethodOptionsNaverPay',context!), 'Oxxo': JsonConverters.toJson(Oxxo,'SessionPaymentMethodOptionsOxxo',context!), 'P24': JsonConverters.toJson(P24,'SessionPaymentMethodOptionsP24',context!), 'Payco': JsonConverters.toJson(Payco,'SessionPaymentMethodOptionsPayco',context!), 'Paynow': JsonConverters.toJson(Paynow,'SessionPaymentMethodOptionsPaynow',context!), 'Paypal': JsonConverters.toJson(Paypal,'SessionPaymentMethodOptionsPaypal',context!), 'Pix': JsonConverters.toJson(Pix,'SessionPaymentMethodOptionsPix',context!), 'RevolutPay': JsonConverters.toJson(RevolutPay,'SessionPaymentMethodOptionsRevolutPay',context!), 'SamsungPay': JsonConverters.toJson(SamsungPay,'SessionPaymentMethodOptionsSamsungPay',context!), 'SepaDebit': JsonConverters.toJson(SepaDebit,'SessionPaymentMethodOptionsSepaDebit',context!), 'Sofort': JsonConverters.toJson(Sofort,'SessionPaymentMethodOptionsSofort',context!), 'Swish': JsonConverters.toJson(Swish,'SessionPaymentMethodOptionsSwish',context!), 'UsBankAccount': JsonConverters.toJson(UsBankAccount,'SessionPaymentMethodOptionsUsBankAccount',context!) }); getTypeName() => "SessionPaymentMethodOptions"; TypeContext? context = _ctx; } class SessionPermissions extends StripeEntity1 implements IConvertible { String? UpdateShippingDetails; SessionPermissions({this.UpdateShippingDetails}); SessionPermissions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); UpdateShippingDetails = json['UpdateShippingDetails']; return this; } Map toJson() => super.toJson()..addAll({ 'UpdateShippingDetails': UpdateShippingDetails }); getTypeName() => "SessionPermissions"; TypeContext? context = _ctx; } class SessionPhoneNumberCollection extends StripeEntity1 implements IConvertible { bool Enabled; SessionPhoneNumberCollection({this.Enabled}); SessionPhoneNumberCollection.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Enabled = json['Enabled']; return this; } Map toJson() => super.toJson()..addAll({ 'Enabled': Enabled }); getTypeName() => "SessionPhoneNumberCollection"; TypeContext? context = _ctx; } class SessionPresentmentDetails extends StripeEntity1 implements IConvertible { int PresentmentAmount = 0; String? PresentmentCurrency; SessionPresentmentDetails({this.PresentmentAmount,this.PresentmentCurrency}); SessionPresentmentDetails.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); PresentmentAmount = json['PresentmentAmount']; PresentmentCurrency = json['PresentmentCurrency']; return this; } Map toJson() => super.toJson()..addAll({ 'PresentmentAmount': PresentmentAmount, 'PresentmentCurrency': PresentmentCurrency }); getTypeName() => "SessionPresentmentDetails"; TypeContext? context = _ctx; } class SessionSavedPaymentMethodOptions extends StripeEntity1 implements IConvertible { List? AllowRedisplayFilters; String? PaymentMethodRemove; String? PaymentMethodSave; SessionSavedPaymentMethodOptions({this.AllowRedisplayFilters,this.PaymentMethodRemove,this.PaymentMethodSave}); SessionSavedPaymentMethodOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); AllowRedisplayFilters = JsonConverters.fromJson(json['AllowRedisplayFilters'],'List',context!); PaymentMethodRemove = json['PaymentMethodRemove']; PaymentMethodSave = json['PaymentMethodSave']; return this; } Map toJson() => super.toJson()..addAll({ 'AllowRedisplayFilters': JsonConverters.toJson(AllowRedisplayFilters,'List',context!), 'PaymentMethodRemove': PaymentMethodRemove, 'PaymentMethodSave': PaymentMethodSave }); getTypeName() => "SessionSavedPaymentMethodOptions"; TypeContext? context = _ctx; } class SessionShippingAddressCollection extends StripeEntity1 implements IConvertible { List? AllowedCountries; SessionShippingAddressCollection({this.AllowedCountries}); SessionShippingAddressCollection.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); AllowedCountries = JsonConverters.fromJson(json['AllowedCountries'],'List',context!); return this; } Map toJson() => super.toJson()..addAll({ 'AllowedCountries': JsonConverters.toJson(AllowedCountries,'List',context!) }); getTypeName() => "SessionShippingAddressCollection"; TypeContext? context = _ctx; } class SessionShippingCostTax extends StripeEntity1 implements IConvertible { int Amount = 0; TaxRate? Rate; String? TaxabilityReason; int? TaxableAmount; SessionShippingCostTax({this.Amount,this.Rate,this.TaxabilityReason,this.TaxableAmount}); SessionShippingCostTax.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Amount = json['Amount']; Rate = JsonConverters.fromJson(json['Rate'],'TaxRate',context!); TaxabilityReason = json['TaxabilityReason']; TaxableAmount = json['TaxableAmount']; return this; } Map toJson() => super.toJson()..addAll({ 'Amount': Amount, 'Rate': JsonConverters.toJson(Rate,'TaxRate',context!), 'TaxabilityReason': TaxabilityReason, 'TaxableAmount': TaxableAmount }); getTypeName() => "SessionShippingCostTax"; TypeContext? context = _ctx; } class SessionShippingCost extends StripeEntity1 implements IConvertible { int AmountSubtotal = 0; int AmountTax = 0; int AmountTotal = 0; List? Taxes; SessionShippingCost({this.AmountSubtotal,this.AmountTax,this.AmountTotal,this.Taxes}); SessionShippingCost.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); AmountSubtotal = json['AmountSubtotal']; AmountTax = json['AmountTax']; AmountTotal = json['AmountTotal']; Taxes = JsonConverters.fromJson(json['Taxes'],'List',context!); return this; } Map toJson() => super.toJson()..addAll({ 'AmountSubtotal': AmountSubtotal, 'AmountTax': AmountTax, 'AmountTotal': AmountTotal, 'Taxes': JsonConverters.toJson(Taxes,'List',context!) }); getTypeName() => "SessionShippingCost"; TypeContext? context = _ctx; } class SessionShippingOption extends StripeEntity1 implements IConvertible { int ShippingAmount = 0; SessionShippingOption({this.ShippingAmount}); SessionShippingOption.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ShippingAmount = json['ShippingAmount']; return this; } Map toJson() => super.toJson()..addAll({ 'ShippingAmount': ShippingAmount }); getTypeName() => "SessionShippingOption"; TypeContext? context = _ctx; } class SessionTaxIdCollection extends StripeEntity1 implements IConvertible { bool Enabled; String? Required; SessionTaxIdCollection({this.Enabled,this.Required}); SessionTaxIdCollection.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Enabled = json['Enabled']; Required = json['Required']; return this; } Map toJson() => super.toJson()..addAll({ 'Enabled': Enabled, 'Required': Required }); getTypeName() => "SessionTaxIdCollection"; TypeContext? context = _ctx; } class SessionTotalDetailsBreakdownDiscount extends StripeEntity1 implements IConvertible { int Amount = 0; Discount? Discount; SessionTotalDetailsBreakdownDiscount({this.Amount,this.Discount}); SessionTotalDetailsBreakdownDiscount.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Amount = json['Amount']; Discount = JsonConverters.fromJson(json['Discount'],'Discount',context!); return this; } Map toJson() => super.toJson()..addAll({ 'Amount': Amount, 'Discount': JsonConverters.toJson(Discount,'Discount',context!) }); getTypeName() => "SessionTotalDetailsBreakdownDiscount"; TypeContext? context = _ctx; } class SessionTotalDetailsBreakdownTax extends StripeEntity1 implements IConvertible { int Amount = 0; TaxRate? Rate; String? TaxabilityReason; int? TaxableAmount; SessionTotalDetailsBreakdownTax({this.Amount,this.Rate,this.TaxabilityReason,this.TaxableAmount}); SessionTotalDetailsBreakdownTax.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Amount = json['Amount']; Rate = JsonConverters.fromJson(json['Rate'],'TaxRate',context!); TaxabilityReason = json['TaxabilityReason']; TaxableAmount = json['TaxableAmount']; return this; } Map toJson() => super.toJson()..addAll({ 'Amount': Amount, 'Rate': JsonConverters.toJson(Rate,'TaxRate',context!), 'TaxabilityReason': TaxabilityReason, 'TaxableAmount': TaxableAmount }); getTypeName() => "SessionTotalDetailsBreakdownTax"; TypeContext? context = _ctx; } class SessionTotalDetailsBreakdown extends StripeEntity1 implements IConvertible { List? Discounts; List? Taxes; SessionTotalDetailsBreakdown({this.Discounts,this.Taxes}); SessionTotalDetailsBreakdown.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Discounts = JsonConverters.fromJson(json['Discounts'],'List',context!); Taxes = JsonConverters.fromJson(json['Taxes'],'List',context!); return this; } Map toJson() => super.toJson()..addAll({ 'Discounts': JsonConverters.toJson(Discounts,'List',context!), 'Taxes': JsonConverters.toJson(Taxes,'List',context!) }); getTypeName() => "SessionTotalDetailsBreakdown"; TypeContext? context = _ctx; } class SessionTotalDetails extends StripeEntity1 implements IConvertible { int AmountDiscount = 0; int? AmountShipping; int AmountTax = 0; SessionTotalDetailsBreakdown? Breakdown; SessionTotalDetails({this.AmountDiscount,this.AmountShipping,this.AmountTax,this.Breakdown}); SessionTotalDetails.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); AmountDiscount = json['AmountDiscount']; AmountShipping = json['AmountShipping']; AmountTax = json['AmountTax']; Breakdown = JsonConverters.fromJson(json['Breakdown'],'SessionTotalDetailsBreakdown',context!); return this; } Map toJson() => super.toJson()..addAll({ 'AmountDiscount': AmountDiscount, 'AmountShipping': AmountShipping, 'AmountTax': AmountTax, 'Breakdown': JsonConverters.toJson(Breakdown,'SessionTotalDetailsBreakdown',context!) }); getTypeName() => "SessionTotalDetails"; TypeContext? context = _ctx; } class Session extends StripeEntity1 implements IHasId, IHasMetadata, IHasObject, IConvertible { String? Id; String? Object; SessionAdaptivePricing? AdaptivePricing; SessionAfterExpiration? AfterExpiration; bool? AllowPromotionCodes; int? AmountSubtotal; int? AmountTotal; SessionAutomaticTax? AutomaticTax; String? BillingAddressCollection; String? CancelUrl; String? ClientReferenceId; String? ClientSecret; SessionCollectedInformation? CollectedInformation; SessionConsent? Consent; SessionConsentCollection? ConsentCollection; DateTime Created = DateTime(0); String? Currency; SessionCurrencyConversion? CurrencyConversion; List? CustomFields; SessionCustomText? CustomText; String? CustomerCreation; SessionCustomerDetails? CustomerDetails; String? CustomerEmail; List? Discounts; DateTime ExpiresAt = DateTime(0); SessionInvoiceCreation? InvoiceCreation; StripeList? LineItems; bool Livemode; String? Locale; Map? Metadata; String? Mode; List? OptionalItems; String? PaymentMethodCollection; SessionPaymentMethodConfigurationDetails? PaymentMethodConfigurationDetails; SessionPaymentMethodOptions? PaymentMethodOptions; List? PaymentMethodTypes; String? PaymentStatus; SessionPermissions? Permissions; SessionPhoneNumberCollection? PhoneNumberCollection; SessionPresentmentDetails? PresentmentDetails; String? RecoveredFrom; String? RedirectOnCompletion; String? ReturnUrl; SessionSavedPaymentMethodOptions? SavedPaymentMethodOptions; SessionShippingAddressCollection? ShippingAddressCollection; SessionShippingCost? ShippingCost; List? ShippingOptions; String? Status; String? SubmitType; String? SuccessUrl; SessionTaxIdCollection? TaxIdCollection; SessionTotalDetails? TotalDetails; String? UiMode; String? Url; Session({this.Id,this.Object,this.AdaptivePricing,this.AfterExpiration,this.AllowPromotionCodes,this.AmountSubtotal,this.AmountTotal,this.AutomaticTax,this.BillingAddressCollection,this.CancelUrl,this.ClientReferenceId,this.ClientSecret,this.CollectedInformation,this.Consent,this.ConsentCollection,this.Created,this.Currency,this.CurrencyConversion,this.CustomFields,this.CustomText,this.CustomerCreation,this.CustomerDetails,this.CustomerEmail,this.Discounts,this.ExpiresAt,this.InvoiceCreation,this.LineItems,this.Livemode,this.Locale,this.Metadata,this.Mode,this.OptionalItems,this.PaymentMethodCollection,this.PaymentMethodConfigurationDetails,this.PaymentMethodOptions,this.PaymentMethodTypes,this.PaymentStatus,this.Permissions,this.PhoneNumberCollection,this.PresentmentDetails,this.RecoveredFrom,this.RedirectOnCompletion,this.ReturnUrl,this.SavedPaymentMethodOptions,this.ShippingAddressCollection,this.ShippingCost,this.ShippingOptions,this.Status,this.SubmitType,this.SuccessUrl,this.TaxIdCollection,this.TotalDetails,this.UiMode,this.Url}); Session.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Id = json['Id']; Object = json['Object']; AdaptivePricing = JsonConverters.fromJson(json['AdaptivePricing'],'SessionAdaptivePricing',context!); AfterExpiration = JsonConverters.fromJson(json['AfterExpiration'],'SessionAfterExpiration',context!); AllowPromotionCodes = json['AllowPromotionCodes']; AmountSubtotal = json['AmountSubtotal']; AmountTotal = json['AmountTotal']; AutomaticTax = JsonConverters.fromJson(json['AutomaticTax'],'SessionAutomaticTax',context!); BillingAddressCollection = json['BillingAddressCollection']; CancelUrl = json['CancelUrl']; ClientReferenceId = json['ClientReferenceId']; ClientSecret = json['ClientSecret']; CollectedInformation = JsonConverters.fromJson(json['CollectedInformation'],'SessionCollectedInformation',context!); Consent = JsonConverters.fromJson(json['Consent'],'SessionConsent',context!); ConsentCollection = JsonConverters.fromJson(json['ConsentCollection'],'SessionConsentCollection',context!); Created = JsonConverters.fromJson(json['Created'],'DateTime',context!); Currency = json['Currency']; CurrencyConversion = JsonConverters.fromJson(json['CurrencyConversion'],'SessionCurrencyConversion',context!); CustomFields = JsonConverters.fromJson(json['CustomFields'],'List',context!); CustomText = JsonConverters.fromJson(json['CustomText'],'SessionCustomText',context!); CustomerCreation = json['CustomerCreation']; CustomerDetails = JsonConverters.fromJson(json['CustomerDetails'],'SessionCustomerDetails',context!); CustomerEmail = json['CustomerEmail']; Discounts = JsonConverters.fromJson(json['Discounts'],'List',context!); ExpiresAt = JsonConverters.fromJson(json['ExpiresAt'],'DateTime',context!); InvoiceCreation = JsonConverters.fromJson(json['InvoiceCreation'],'SessionInvoiceCreation',context!); LineItems = JsonConverters.fromJson(json['LineItems'],'StripeList',context!); Livemode = json['Livemode']; Locale = json['Locale']; Metadata = JsonConverters.toStringMap(json['Metadata']); Mode = json['Mode']; OptionalItems = JsonConverters.fromJson(json['OptionalItems'],'List',context!); PaymentMethodCollection = json['PaymentMethodCollection']; PaymentMethodConfigurationDetails = JsonConverters.fromJson(json['PaymentMethodConfigurationDetails'],'SessionPaymentMethodConfigurationDetails',context!); PaymentMethodOptions = JsonConverters.fromJson(json['PaymentMethodOptions'],'SessionPaymentMethodOptions',context!); PaymentMethodTypes = JsonConverters.fromJson(json['PaymentMethodTypes'],'List',context!); PaymentStatus = json['PaymentStatus']; Permissions = JsonConverters.fromJson(json['Permissions'],'SessionPermissions',context!); PhoneNumberCollection = JsonConverters.fromJson(json['PhoneNumberCollection'],'SessionPhoneNumberCollection',context!); PresentmentDetails = JsonConverters.fromJson(json['PresentmentDetails'],'SessionPresentmentDetails',context!); RecoveredFrom = json['RecoveredFrom']; RedirectOnCompletion = json['RedirectOnCompletion']; ReturnUrl = json['ReturnUrl']; SavedPaymentMethodOptions = JsonConverters.fromJson(json['SavedPaymentMethodOptions'],'SessionSavedPaymentMethodOptions',context!); ShippingAddressCollection = JsonConverters.fromJson(json['ShippingAddressCollection'],'SessionShippingAddressCollection',context!); ShippingCost = JsonConverters.fromJson(json['ShippingCost'],'SessionShippingCost',context!); ShippingOptions = JsonConverters.fromJson(json['ShippingOptions'],'List',context!); Status = json['Status']; SubmitType = json['SubmitType']; SuccessUrl = json['SuccessUrl']; TaxIdCollection = JsonConverters.fromJson(json['TaxIdCollection'],'SessionTaxIdCollection',context!); TotalDetails = JsonConverters.fromJson(json['TotalDetails'],'SessionTotalDetails',context!); UiMode = json['UiMode']; Url = json['Url']; return this; } Map toJson() => super.toJson()..addAll({ 'Id': Id, 'Object': Object, 'AdaptivePricing': JsonConverters.toJson(AdaptivePricing,'SessionAdaptivePricing',context!), 'AfterExpiration': JsonConverters.toJson(AfterExpiration,'SessionAfterExpiration',context!), 'AllowPromotionCodes': AllowPromotionCodes, 'AmountSubtotal': AmountSubtotal, 'AmountTotal': AmountTotal, 'AutomaticTax': JsonConverters.toJson(AutomaticTax,'SessionAutomaticTax',context!), 'BillingAddressCollection': BillingAddressCollection, 'CancelUrl': CancelUrl, 'ClientReferenceId': ClientReferenceId, 'ClientSecret': ClientSecret, 'CollectedInformation': JsonConverters.toJson(CollectedInformation,'SessionCollectedInformation',context!), 'Consent': JsonConverters.toJson(Consent,'SessionConsent',context!), 'ConsentCollection': JsonConverters.toJson(ConsentCollection,'SessionConsentCollection',context!), 'Created': JsonConverters.toJson(Created,'DateTime',context!), 'Currency': Currency, 'CurrencyConversion': JsonConverters.toJson(CurrencyConversion,'SessionCurrencyConversion',context!), 'CustomFields': JsonConverters.toJson(CustomFields,'List',context!), 'CustomText': JsonConverters.toJson(CustomText,'SessionCustomText',context!), 'CustomerCreation': CustomerCreation, 'CustomerDetails': JsonConverters.toJson(CustomerDetails,'SessionCustomerDetails',context!), 'CustomerEmail': CustomerEmail, 'Discounts': JsonConverters.toJson(Discounts,'List',context!), 'ExpiresAt': JsonConverters.toJson(ExpiresAt,'DateTime',context!), 'InvoiceCreation': JsonConverters.toJson(InvoiceCreation,'SessionInvoiceCreation',context!), 'LineItems': JsonConverters.toJson(LineItems,'StripeList',context!), 'Livemode': Livemode, 'Locale': Locale, 'Metadata': Metadata, 'Mode': Mode, 'OptionalItems': JsonConverters.toJson(OptionalItems,'List',context!), 'PaymentMethodCollection': PaymentMethodCollection, 'PaymentMethodConfigurationDetails': JsonConverters.toJson(PaymentMethodConfigurationDetails,'SessionPaymentMethodConfigurationDetails',context!), 'PaymentMethodOptions': JsonConverters.toJson(PaymentMethodOptions,'SessionPaymentMethodOptions',context!), 'PaymentMethodTypes': JsonConverters.toJson(PaymentMethodTypes,'List',context!), 'PaymentStatus': PaymentStatus, 'Permissions': JsonConverters.toJson(Permissions,'SessionPermissions',context!), 'PhoneNumberCollection': JsonConverters.toJson(PhoneNumberCollection,'SessionPhoneNumberCollection',context!), 'PresentmentDetails': JsonConverters.toJson(PresentmentDetails,'SessionPresentmentDetails',context!), 'RecoveredFrom': RecoveredFrom, 'RedirectOnCompletion': RedirectOnCompletion, 'ReturnUrl': ReturnUrl, 'SavedPaymentMethodOptions': JsonConverters.toJson(SavedPaymentMethodOptions,'SessionSavedPaymentMethodOptions',context!), 'ShippingAddressCollection': JsonConverters.toJson(ShippingAddressCollection,'SessionShippingAddressCollection',context!), 'ShippingCost': JsonConverters.toJson(ShippingCost,'SessionShippingCost',context!), 'ShippingOptions': JsonConverters.toJson(ShippingOptions,'List',context!), 'Status': Status, 'SubmitType': SubmitType, 'SuccessUrl': SuccessUrl, 'TaxIdCollection': JsonConverters.toJson(TaxIdCollection,'SessionTaxIdCollection',context!), 'TotalDetails': JsonConverters.toJson(TotalDetails,'SessionTotalDetails',context!), 'UiMode': UiMode, 'Url': Url }); getTypeName() => "Session"; TypeContext? context = _ctx; } class PaymentIntentAmountDetailsTip extends StripeEntity1 implements IConvertible { int Amount = 0; PaymentIntentAmountDetailsTip({this.Amount}); PaymentIntentAmountDetailsTip.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Amount = json['Amount']; return this; } Map toJson() => super.toJson()..addAll({ 'Amount': Amount }); getTypeName() => "PaymentIntentAmountDetailsTip"; TypeContext? context = _ctx; } class PaymentIntentAmountDetails extends StripeEntity1 implements IConvertible { PaymentIntentAmountDetailsTip? Tip; PaymentIntentAmountDetails({this.Tip}); PaymentIntentAmountDetails.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Tip = JsonConverters.fromJson(json['Tip'],'PaymentIntentAmountDetailsTip',context!); return this; } Map toJson() => super.toJson()..addAll({ 'Tip': JsonConverters.toJson(Tip,'PaymentIntentAmountDetailsTip',context!) }); getTypeName() => "PaymentIntentAmountDetails"; TypeContext? context = _ctx; } class PaymentIntentAutomaticPaymentMethods extends StripeEntity1 implements IConvertible { String? AllowRedirects; bool Enabled; PaymentIntentAutomaticPaymentMethods({this.AllowRedirects,this.Enabled}); PaymentIntentAutomaticPaymentMethods.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); AllowRedirects = json['AllowRedirects']; Enabled = json['Enabled']; return this; } Map toJson() => super.toJson()..addAll({ 'AllowRedirects': AllowRedirects, 'Enabled': Enabled }); getTypeName() => "PaymentIntentAutomaticPaymentMethods"; TypeContext? context = _ctx; } class PaymentMethodAcssDebit extends StripeEntity1 implements IConvertible { String? BankName; String? Fingerprint; String? InstitutionNumber; String? Last4; String? TransitNumber; PaymentMethodAcssDebit({this.BankName,this.Fingerprint,this.InstitutionNumber,this.Last4,this.TransitNumber}); PaymentMethodAcssDebit.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); BankName = json['BankName']; Fingerprint = json['Fingerprint']; InstitutionNumber = json['InstitutionNumber']; Last4 = json['Last4']; TransitNumber = json['TransitNumber']; return this; } Map toJson() => super.toJson()..addAll({ 'BankName': BankName, 'Fingerprint': Fingerprint, 'InstitutionNumber': InstitutionNumber, 'Last4': Last4, 'TransitNumber': TransitNumber }); getTypeName() => "PaymentMethodAcssDebit"; TypeContext? context = _ctx; } class PaymentMethodAffirm extends StripeEntity1 implements IConvertible { PaymentMethodAffirm(); PaymentMethodAffirm.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "PaymentMethodAffirm"; TypeContext? context = _ctx; } class PaymentMethodAfterpayClearpay extends StripeEntity1 implements IConvertible { PaymentMethodAfterpayClearpay(); PaymentMethodAfterpayClearpay.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "PaymentMethodAfterpayClearpay"; TypeContext? context = _ctx; } class PaymentMethodAlipay extends StripeEntity1 implements IConvertible { PaymentMethodAlipay(); PaymentMethodAlipay.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "PaymentMethodAlipay"; TypeContext? context = _ctx; } class PaymentMethodAlma extends StripeEntity1 implements IConvertible { PaymentMethodAlma(); PaymentMethodAlma.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "PaymentMethodAlma"; TypeContext? context = _ctx; } class PaymentMethodAmazonPay extends StripeEntity1 implements IConvertible { PaymentMethodAmazonPay(); PaymentMethodAmazonPay.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "PaymentMethodAmazonPay"; TypeContext? context = _ctx; } class PaymentMethodAuBecsDebit extends StripeEntity1 implements IConvertible { String? BsbNumber; String? Fingerprint; String? Last4; PaymentMethodAuBecsDebit({this.BsbNumber,this.Fingerprint,this.Last4}); PaymentMethodAuBecsDebit.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); BsbNumber = json['BsbNumber']; Fingerprint = json['Fingerprint']; Last4 = json['Last4']; return this; } Map toJson() => super.toJson()..addAll({ 'BsbNumber': BsbNumber, 'Fingerprint': Fingerprint, 'Last4': Last4 }); getTypeName() => "PaymentMethodAuBecsDebit"; TypeContext? context = _ctx; } class PaymentMethodBacsDebit extends StripeEntity1 implements IConvertible { String? Fingerprint; String? Last4; String? SortCode; PaymentMethodBacsDebit({this.Fingerprint,this.Last4,this.SortCode}); PaymentMethodBacsDebit.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Fingerprint = json['Fingerprint']; Last4 = json['Last4']; SortCode = json['SortCode']; return this; } Map toJson() => super.toJson()..addAll({ 'Fingerprint': Fingerprint, 'Last4': Last4, 'SortCode': SortCode }); getTypeName() => "PaymentMethodBacsDebit"; TypeContext? context = _ctx; } class PaymentMethodBancontact extends StripeEntity1 implements IConvertible { PaymentMethodBancontact(); PaymentMethodBancontact.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "PaymentMethodBancontact"; TypeContext? context = _ctx; } class PaymentMethodBillie extends StripeEntity1 implements IConvertible { PaymentMethodBillie(); PaymentMethodBillie.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "PaymentMethodBillie"; TypeContext? context = _ctx; } class PaymentMethodBillingDetails extends StripeEntity1 implements IConvertible { Address? Address; String? Email; String? Name; String? Phone; PaymentMethodBillingDetails({this.Address,this.Email,this.Name,this.Phone}); PaymentMethodBillingDetails.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Address = JsonConverters.fromJson(json['Address'],'Address',context!); Email = json['Email']; Name = json['Name']; Phone = json['Phone']; return this; } Map toJson() => super.toJson()..addAll({ 'Address': JsonConverters.toJson(Address,'Address',context!), 'Email': Email, 'Name': Name, 'Phone': Phone }); getTypeName() => "PaymentMethodBillingDetails"; TypeContext? context = _ctx; } class PaymentMethodBlik extends StripeEntity1 implements IConvertible { PaymentMethodBlik(); PaymentMethodBlik.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "PaymentMethodBlik"; TypeContext? context = _ctx; } class PaymentMethodBoleto extends StripeEntity1 implements IConvertible { String? TaxId; PaymentMethodBoleto({this.TaxId}); PaymentMethodBoleto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); TaxId = json['TaxId']; return this; } Map toJson() => super.toJson()..addAll({ 'TaxId': TaxId }); getTypeName() => "PaymentMethodBoleto"; TypeContext? context = _ctx; } class PaymentMethodCardChecks extends StripeEntity1 implements IConvertible { String? AddressLine1Check; String? AddressPostalCodeCheck; String? CvcCheck; PaymentMethodCardChecks({this.AddressLine1Check,this.AddressPostalCodeCheck,this.CvcCheck}); PaymentMethodCardChecks.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); AddressLine1Check = json['AddressLine1Check']; AddressPostalCodeCheck = json['AddressPostalCodeCheck']; CvcCheck = json['CvcCheck']; return this; } Map toJson() => super.toJson()..addAll({ 'AddressLine1Check': AddressLine1Check, 'AddressPostalCodeCheck': AddressPostalCodeCheck, 'CvcCheck': CvcCheck }); getTypeName() => "PaymentMethodCardChecks"; TypeContext? context = _ctx; } class PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentOffline extends StripeEntity1 implements IConvertible { DateTime? StoredAt; String? Type; PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentOffline({this.StoredAt,this.Type}); PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentOffline.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); StoredAt = JsonConverters.fromJson(json['StoredAt'],'DateTime',context!); Type = json['Type']; return this; } Map toJson() => super.toJson()..addAll({ 'StoredAt': JsonConverters.toJson(StoredAt,'DateTime',context!), 'Type': Type }); getTypeName() => "PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentOffline"; TypeContext? context = _ctx; } class PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentReceipt extends StripeEntity1 implements IConvertible { String? AccountType; String? ApplicationCryptogram; String? ApplicationPreferredName; String? AuthorizationCode; String? AuthorizationResponseCode; String? CardholderVerificationMethod; String? DedicatedFileName; String? TerminalVerificationResults; String? TransactionStatusInformation; PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentReceipt({this.AccountType,this.ApplicationCryptogram,this.ApplicationPreferredName,this.AuthorizationCode,this.AuthorizationResponseCode,this.CardholderVerificationMethod,this.DedicatedFileName,this.TerminalVerificationResults,this.TransactionStatusInformation}); PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentReceipt.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); AccountType = json['AccountType']; ApplicationCryptogram = json['ApplicationCryptogram']; ApplicationPreferredName = json['ApplicationPreferredName']; AuthorizationCode = json['AuthorizationCode']; AuthorizationResponseCode = json['AuthorizationResponseCode']; CardholderVerificationMethod = json['CardholderVerificationMethod']; DedicatedFileName = json['DedicatedFileName']; TerminalVerificationResults = json['TerminalVerificationResults']; TransactionStatusInformation = json['TransactionStatusInformation']; return this; } Map toJson() => super.toJson()..addAll({ 'AccountType': AccountType, 'ApplicationCryptogram': ApplicationCryptogram, 'ApplicationPreferredName': ApplicationPreferredName, 'AuthorizationCode': AuthorizationCode, 'AuthorizationResponseCode': AuthorizationResponseCode, 'CardholderVerificationMethod': CardholderVerificationMethod, 'DedicatedFileName': DedicatedFileName, 'TerminalVerificationResults': TerminalVerificationResults, 'TransactionStatusInformation': TransactionStatusInformation }); getTypeName() => "PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentReceipt"; TypeContext? context = _ctx; } class PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentWallet extends StripeEntity1 implements IConvertible { String? Type; PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentWallet({this.Type}); PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentWallet.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Type = json['Type']; return this; } Map toJson() => super.toJson()..addAll({ 'Type': Type }); getTypeName() => "PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentWallet"; TypeContext? context = _ctx; } class PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresent extends StripeEntity1 implements IConvertible { int? AmountAuthorized; String? Brand; String? BrandProduct; DateTime CaptureBefore = DateTime(0); String? CardholderName; String? Country; String? Description; String? EmvAuthData; int ExpMonth = 0; int ExpYear = 0; String? Fingerprint; String? Funding; String? GeneratedCard; String? Iin; bool IncrementalAuthorizationSupported; String? Issuer; String? Last4; String? Network; String? NetworkTransactionId; PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentOffline? Offline; bool OvercaptureSupported; List? PreferredLocales; String? ReadMethod; PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentReceipt? Receipt; PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentWallet? Wallet; PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresent({this.AmountAuthorized,this.Brand,this.BrandProduct,this.CaptureBefore,this.CardholderName,this.Country,this.Description,this.EmvAuthData,this.ExpMonth,this.ExpYear,this.Fingerprint,this.Funding,this.GeneratedCard,this.Iin,this.IncrementalAuthorizationSupported,this.Issuer,this.Last4,this.Network,this.NetworkTransactionId,this.Offline,this.OvercaptureSupported,this.PreferredLocales,this.ReadMethod,this.Receipt,this.Wallet}); PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresent.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); AmountAuthorized = json['AmountAuthorized']; Brand = json['Brand']; BrandProduct = json['BrandProduct']; CaptureBefore = JsonConverters.fromJson(json['CaptureBefore'],'DateTime',context!); CardholderName = json['CardholderName']; Country = json['Country']; Description = json['Description']; EmvAuthData = json['EmvAuthData']; ExpMonth = json['ExpMonth']; ExpYear = json['ExpYear']; Fingerprint = json['Fingerprint']; Funding = json['Funding']; GeneratedCard = json['GeneratedCard']; Iin = json['Iin']; IncrementalAuthorizationSupported = json['IncrementalAuthorizationSupported']; Issuer = json['Issuer']; Last4 = json['Last4']; Network = json['Network']; NetworkTransactionId = json['NetworkTransactionId']; Offline = JsonConverters.fromJson(json['Offline'],'PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentOffline',context!); OvercaptureSupported = json['OvercaptureSupported']; PreferredLocales = JsonConverters.fromJson(json['PreferredLocales'],'List',context!); ReadMethod = json['ReadMethod']; Receipt = JsonConverters.fromJson(json['Receipt'],'PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentReceipt',context!); Wallet = JsonConverters.fromJson(json['Wallet'],'PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentWallet',context!); return this; } Map toJson() => super.toJson()..addAll({ 'AmountAuthorized': AmountAuthorized, 'Brand': Brand, 'BrandProduct': BrandProduct, 'CaptureBefore': JsonConverters.toJson(CaptureBefore,'DateTime',context!), 'CardholderName': CardholderName, 'Country': Country, 'Description': Description, 'EmvAuthData': EmvAuthData, 'ExpMonth': ExpMonth, 'ExpYear': ExpYear, 'Fingerprint': Fingerprint, 'Funding': Funding, 'GeneratedCard': GeneratedCard, 'Iin': Iin, 'IncrementalAuthorizationSupported': IncrementalAuthorizationSupported, 'Issuer': Issuer, 'Last4': Last4, 'Network': Network, 'NetworkTransactionId': NetworkTransactionId, 'Offline': JsonConverters.toJson(Offline,'PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentOffline',context!), 'OvercaptureSupported': OvercaptureSupported, 'PreferredLocales': JsonConverters.toJson(PreferredLocales,'List',context!), 'ReadMethod': ReadMethod, 'Receipt': JsonConverters.toJson(Receipt,'PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentReceipt',context!), 'Wallet': JsonConverters.toJson(Wallet,'PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentWallet',context!) }); getTypeName() => "PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresent"; TypeContext? context = _ctx; } class PaymentMethodCardGeneratedFromPaymentMethodDetails extends StripeEntity1 implements IConvertible { PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresent? CardPresent; String? Type; PaymentMethodCardGeneratedFromPaymentMethodDetails({this.CardPresent,this.Type}); PaymentMethodCardGeneratedFromPaymentMethodDetails.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CardPresent = JsonConverters.fromJson(json['CardPresent'],'PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresent',context!); Type = json['Type']; return this; } Map toJson() => super.toJson()..addAll({ 'CardPresent': JsonConverters.toJson(CardPresent,'PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresent',context!), 'Type': Type }); getTypeName() => "PaymentMethodCardGeneratedFromPaymentMethodDetails"; TypeContext? context = _ctx; } class PaymentMethodCardGeneratedFrom extends StripeEntity1 implements IConvertible { String? Charge; PaymentMethodCardGeneratedFromPaymentMethodDetails? PaymentMethodDetails; PaymentMethodCardGeneratedFrom({this.Charge,this.PaymentMethodDetails}); PaymentMethodCardGeneratedFrom.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Charge = json['Charge']; PaymentMethodDetails = JsonConverters.fromJson(json['PaymentMethodDetails'],'PaymentMethodCardGeneratedFromPaymentMethodDetails',context!); return this; } Map toJson() => super.toJson()..addAll({ 'Charge': Charge, 'PaymentMethodDetails': JsonConverters.toJson(PaymentMethodDetails,'PaymentMethodCardGeneratedFromPaymentMethodDetails',context!) }); getTypeName() => "PaymentMethodCardGeneratedFrom"; TypeContext? context = _ctx; } class PaymentMethodCardNetworks extends StripeEntity1 implements IConvertible { List? Available; String? Preferred; PaymentMethodCardNetworks({this.Available,this.Preferred}); PaymentMethodCardNetworks.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Available = JsonConverters.fromJson(json['Available'],'List',context!); Preferred = json['Preferred']; return this; } Map toJson() => super.toJson()..addAll({ 'Available': JsonConverters.toJson(Available,'List',context!), 'Preferred': Preferred }); getTypeName() => "PaymentMethodCardNetworks"; TypeContext? context = _ctx; } class PaymentMethodCardThreeDSecureUsage extends StripeEntity1 implements IConvertible { bool Supported; PaymentMethodCardThreeDSecureUsage({this.Supported}); PaymentMethodCardThreeDSecureUsage.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Supported = json['Supported']; return this; } Map toJson() => super.toJson()..addAll({ 'Supported': Supported }); getTypeName() => "PaymentMethodCardThreeDSecureUsage"; TypeContext? context = _ctx; } class PaymentMethodCardWalletAmexExpressCheckout extends StripeEntity1 implements IConvertible { PaymentMethodCardWalletAmexExpressCheckout(); PaymentMethodCardWalletAmexExpressCheckout.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "PaymentMethodCardWalletAmexExpressCheckout"; TypeContext? context = _ctx; } class PaymentMethodCardWalletApplePay extends StripeEntity1 implements IConvertible { PaymentMethodCardWalletApplePay(); PaymentMethodCardWalletApplePay.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "PaymentMethodCardWalletApplePay"; TypeContext? context = _ctx; } class PaymentMethodCardWalletGooglePay extends StripeEntity1 implements IConvertible { PaymentMethodCardWalletGooglePay(); PaymentMethodCardWalletGooglePay.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "PaymentMethodCardWalletGooglePay"; TypeContext? context = _ctx; } class PaymentMethodCardWalletLink extends StripeEntity1 implements IConvertible { PaymentMethodCardWalletLink(); PaymentMethodCardWalletLink.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "PaymentMethodCardWalletLink"; TypeContext? context = _ctx; } class PaymentMethodCardWalletMasterpass extends StripeEntity1 implements IConvertible { Address? BillingAddress; String? Email; String? Name; Address? ShippingAddress; PaymentMethodCardWalletMasterpass({this.BillingAddress,this.Email,this.Name,this.ShippingAddress}); PaymentMethodCardWalletMasterpass.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); BillingAddress = JsonConverters.fromJson(json['BillingAddress'],'Address',context!); Email = json['Email']; Name = json['Name']; ShippingAddress = JsonConverters.fromJson(json['ShippingAddress'],'Address',context!); return this; } Map toJson() => super.toJson()..addAll({ 'BillingAddress': JsonConverters.toJson(BillingAddress,'Address',context!), 'Email': Email, 'Name': Name, 'ShippingAddress': JsonConverters.toJson(ShippingAddress,'Address',context!) }); getTypeName() => "PaymentMethodCardWalletMasterpass"; TypeContext? context = _ctx; } class PaymentMethodCardWalletSamsungPay extends StripeEntity1 implements IConvertible { PaymentMethodCardWalletSamsungPay(); PaymentMethodCardWalletSamsungPay.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "PaymentMethodCardWalletSamsungPay"; TypeContext? context = _ctx; } class PaymentMethodCardWalletVisaCheckout extends StripeEntity1 implements IConvertible { Address? BillingAddress; String? Email; String? Name; Address? ShippingAddress; PaymentMethodCardWalletVisaCheckout({this.BillingAddress,this.Email,this.Name,this.ShippingAddress}); PaymentMethodCardWalletVisaCheckout.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); BillingAddress = JsonConverters.fromJson(json['BillingAddress'],'Address',context!); Email = json['Email']; Name = json['Name']; ShippingAddress = JsonConverters.fromJson(json['ShippingAddress'],'Address',context!); return this; } Map toJson() => super.toJson()..addAll({ 'BillingAddress': JsonConverters.toJson(BillingAddress,'Address',context!), 'Email': Email, 'Name': Name, 'ShippingAddress': JsonConverters.toJson(ShippingAddress,'Address',context!) }); getTypeName() => "PaymentMethodCardWalletVisaCheckout"; TypeContext? context = _ctx; } class PaymentMethodCardWallet extends StripeEntity1 implements IConvertible { PaymentMethodCardWalletAmexExpressCheckout? AmexExpressCheckout; PaymentMethodCardWalletApplePay? ApplePay; String? DynamicLast4; PaymentMethodCardWalletGooglePay? GooglePay; PaymentMethodCardWalletLink? Link; PaymentMethodCardWalletMasterpass? Masterpass; PaymentMethodCardWalletSamsungPay? SamsungPay; String? Type; PaymentMethodCardWalletVisaCheckout? VisaCheckout; PaymentMethodCardWallet({this.AmexExpressCheckout,this.ApplePay,this.DynamicLast4,this.GooglePay,this.Link,this.Masterpass,this.SamsungPay,this.Type,this.VisaCheckout}); PaymentMethodCardWallet.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); AmexExpressCheckout = JsonConverters.fromJson(json['AmexExpressCheckout'],'PaymentMethodCardWalletAmexExpressCheckout',context!); ApplePay = JsonConverters.fromJson(json['ApplePay'],'PaymentMethodCardWalletApplePay',context!); DynamicLast4 = json['DynamicLast4']; GooglePay = JsonConverters.fromJson(json['GooglePay'],'PaymentMethodCardWalletGooglePay',context!); Link = JsonConverters.fromJson(json['Link'],'PaymentMethodCardWalletLink',context!); Masterpass = JsonConverters.fromJson(json['Masterpass'],'PaymentMethodCardWalletMasterpass',context!); SamsungPay = JsonConverters.fromJson(json['SamsungPay'],'PaymentMethodCardWalletSamsungPay',context!); Type = json['Type']; VisaCheckout = JsonConverters.fromJson(json['VisaCheckout'],'PaymentMethodCardWalletVisaCheckout',context!); return this; } Map toJson() => super.toJson()..addAll({ 'AmexExpressCheckout': JsonConverters.toJson(AmexExpressCheckout,'PaymentMethodCardWalletAmexExpressCheckout',context!), 'ApplePay': JsonConverters.toJson(ApplePay,'PaymentMethodCardWalletApplePay',context!), 'DynamicLast4': DynamicLast4, 'GooglePay': JsonConverters.toJson(GooglePay,'PaymentMethodCardWalletGooglePay',context!), 'Link': JsonConverters.toJson(Link,'PaymentMethodCardWalletLink',context!), 'Masterpass': JsonConverters.toJson(Masterpass,'PaymentMethodCardWalletMasterpass',context!), 'SamsungPay': JsonConverters.toJson(SamsungPay,'PaymentMethodCardWalletSamsungPay',context!), 'Type': Type, 'VisaCheckout': JsonConverters.toJson(VisaCheckout,'PaymentMethodCardWalletVisaCheckout',context!) }); getTypeName() => "PaymentMethodCardWallet"; TypeContext? context = _ctx; } class PaymentMethodCard extends StripeEntity1 implements IConvertible { String? Brand; PaymentMethodCardChecks? Checks; String? Country; String? Description; String? DisplayBrand; int ExpMonth = 0; int ExpYear = 0; String? Fingerprint; String? Funding; PaymentMethodCardGeneratedFrom? GeneratedFrom; String? Iin; String? Issuer; String? Last4; PaymentMethodCardNetworks? Networks; String? RegulatedStatus; PaymentMethodCardThreeDSecureUsage? ThreeDSecureUsage; PaymentMethodCardWallet? Wallet; PaymentMethodCard({this.Brand,this.Checks,this.Country,this.Description,this.DisplayBrand,this.ExpMonth,this.ExpYear,this.Fingerprint,this.Funding,this.GeneratedFrom,this.Iin,this.Issuer,this.Last4,this.Networks,this.RegulatedStatus,this.ThreeDSecureUsage,this.Wallet}); PaymentMethodCard.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Brand = json['Brand']; Checks = JsonConverters.fromJson(json['Checks'],'PaymentMethodCardChecks',context!); Country = json['Country']; Description = json['Description']; DisplayBrand = json['DisplayBrand']; ExpMonth = json['ExpMonth']; ExpYear = json['ExpYear']; Fingerprint = json['Fingerprint']; Funding = json['Funding']; GeneratedFrom = JsonConverters.fromJson(json['GeneratedFrom'],'PaymentMethodCardGeneratedFrom',context!); Iin = json['Iin']; Issuer = json['Issuer']; Last4 = json['Last4']; Networks = JsonConverters.fromJson(json['Networks'],'PaymentMethodCardNetworks',context!); RegulatedStatus = json['RegulatedStatus']; ThreeDSecureUsage = JsonConverters.fromJson(json['ThreeDSecureUsage'],'PaymentMethodCardThreeDSecureUsage',context!); Wallet = JsonConverters.fromJson(json['Wallet'],'PaymentMethodCardWallet',context!); return this; } Map toJson() => super.toJson()..addAll({ 'Brand': Brand, 'Checks': JsonConverters.toJson(Checks,'PaymentMethodCardChecks',context!), 'Country': Country, 'Description': Description, 'DisplayBrand': DisplayBrand, 'ExpMonth': ExpMonth, 'ExpYear': ExpYear, 'Fingerprint': Fingerprint, 'Funding': Funding, 'GeneratedFrom': JsonConverters.toJson(GeneratedFrom,'PaymentMethodCardGeneratedFrom',context!), 'Iin': Iin, 'Issuer': Issuer, 'Last4': Last4, 'Networks': JsonConverters.toJson(Networks,'PaymentMethodCardNetworks',context!), 'RegulatedStatus': RegulatedStatus, 'ThreeDSecureUsage': JsonConverters.toJson(ThreeDSecureUsage,'PaymentMethodCardThreeDSecureUsage',context!), 'Wallet': JsonConverters.toJson(Wallet,'PaymentMethodCardWallet',context!) }); getTypeName() => "PaymentMethodCard"; TypeContext? context = _ctx; } class PaymentMethodCardPresentNetworks extends StripeEntity1 implements IConvertible { List? Available; String? Preferred; PaymentMethodCardPresentNetworks({this.Available,this.Preferred}); PaymentMethodCardPresentNetworks.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Available = JsonConverters.fromJson(json['Available'],'List',context!); Preferred = json['Preferred']; return this; } Map toJson() => super.toJson()..addAll({ 'Available': JsonConverters.toJson(Available,'List',context!), 'Preferred': Preferred }); getTypeName() => "PaymentMethodCardPresentNetworks"; TypeContext? context = _ctx; } class PaymentMethodCardPresentOffline extends StripeEntity1 implements IConvertible { DateTime? StoredAt; String? Type; PaymentMethodCardPresentOffline({this.StoredAt,this.Type}); PaymentMethodCardPresentOffline.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); StoredAt = JsonConverters.fromJson(json['StoredAt'],'DateTime',context!); Type = json['Type']; return this; } Map toJson() => super.toJson()..addAll({ 'StoredAt': JsonConverters.toJson(StoredAt,'DateTime',context!), 'Type': Type }); getTypeName() => "PaymentMethodCardPresentOffline"; TypeContext? context = _ctx; } class PaymentMethodCardPresentWallet extends StripeEntity1 implements IConvertible { String? Type; PaymentMethodCardPresentWallet({this.Type}); PaymentMethodCardPresentWallet.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Type = json['Type']; return this; } Map toJson() => super.toJson()..addAll({ 'Type': Type }); getTypeName() => "PaymentMethodCardPresentWallet"; TypeContext? context = _ctx; } class PaymentMethodCardPresent extends StripeEntity1 implements IConvertible { String? Brand; String? BrandProduct; String? CardholderName; String? Country; String? Description; int ExpMonth = 0; int ExpYear = 0; String? Fingerprint; String? Funding; String? Iin; String? Issuer; String? Last4; PaymentMethodCardPresentNetworks? Networks; PaymentMethodCardPresentOffline? Offline; List? PreferredLocales; String? ReadMethod; PaymentMethodCardPresentWallet? Wallet; PaymentMethodCardPresent({this.Brand,this.BrandProduct,this.CardholderName,this.Country,this.Description,this.ExpMonth,this.ExpYear,this.Fingerprint,this.Funding,this.Iin,this.Issuer,this.Last4,this.Networks,this.Offline,this.PreferredLocales,this.ReadMethod,this.Wallet}); PaymentMethodCardPresent.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Brand = json['Brand']; BrandProduct = json['BrandProduct']; CardholderName = json['CardholderName']; Country = json['Country']; Description = json['Description']; ExpMonth = json['ExpMonth']; ExpYear = json['ExpYear']; Fingerprint = json['Fingerprint']; Funding = json['Funding']; Iin = json['Iin']; Issuer = json['Issuer']; Last4 = json['Last4']; Networks = JsonConverters.fromJson(json['Networks'],'PaymentMethodCardPresentNetworks',context!); Offline = JsonConverters.fromJson(json['Offline'],'PaymentMethodCardPresentOffline',context!); PreferredLocales = JsonConverters.fromJson(json['PreferredLocales'],'List',context!); ReadMethod = json['ReadMethod']; Wallet = JsonConverters.fromJson(json['Wallet'],'PaymentMethodCardPresentWallet',context!); return this; } Map toJson() => super.toJson()..addAll({ 'Brand': Brand, 'BrandProduct': BrandProduct, 'CardholderName': CardholderName, 'Country': Country, 'Description': Description, 'ExpMonth': ExpMonth, 'ExpYear': ExpYear, 'Fingerprint': Fingerprint, 'Funding': Funding, 'Iin': Iin, 'Issuer': Issuer, 'Last4': Last4, 'Networks': JsonConverters.toJson(Networks,'PaymentMethodCardPresentNetworks',context!), 'Offline': JsonConverters.toJson(Offline,'PaymentMethodCardPresentOffline',context!), 'PreferredLocales': JsonConverters.toJson(PreferredLocales,'List',context!), 'ReadMethod': ReadMethod, 'Wallet': JsonConverters.toJson(Wallet,'PaymentMethodCardPresentWallet',context!) }); getTypeName() => "PaymentMethodCardPresent"; TypeContext? context = _ctx; } class PaymentMethodCashapp extends StripeEntity1 implements IConvertible { String? BuyerId; String? Cashtag; PaymentMethodCashapp({this.BuyerId,this.Cashtag}); PaymentMethodCashapp.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); BuyerId = json['BuyerId']; Cashtag = json['Cashtag']; return this; } Map toJson() => super.toJson()..addAll({ 'BuyerId': BuyerId, 'Cashtag': Cashtag }); getTypeName() => "PaymentMethodCashapp"; TypeContext? context = _ctx; } class PaymentMethodCustomerBalance extends StripeEntity1 implements IConvertible { PaymentMethodCustomerBalance(); PaymentMethodCustomerBalance.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "PaymentMethodCustomerBalance"; TypeContext? context = _ctx; } class PaymentMethodEps extends StripeEntity1 implements IConvertible { String? Bank; PaymentMethodEps({this.Bank}); PaymentMethodEps.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Bank = json['Bank']; return this; } Map toJson() => super.toJson()..addAll({ 'Bank': Bank }); getTypeName() => "PaymentMethodEps"; TypeContext? context = _ctx; } class PaymentMethodFpx extends StripeEntity1 implements IConvertible { String? AccountHolderType; String? Bank; PaymentMethodFpx({this.AccountHolderType,this.Bank}); PaymentMethodFpx.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); AccountHolderType = json['AccountHolderType']; Bank = json['Bank']; return this; } Map toJson() => super.toJson()..addAll({ 'AccountHolderType': AccountHolderType, 'Bank': Bank }); getTypeName() => "PaymentMethodFpx"; TypeContext? context = _ctx; } class PaymentMethodGiropay extends StripeEntity1 implements IConvertible { PaymentMethodGiropay(); PaymentMethodGiropay.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "PaymentMethodGiropay"; TypeContext? context = _ctx; } class PaymentMethodGrabpay extends StripeEntity1 implements IConvertible { PaymentMethodGrabpay(); PaymentMethodGrabpay.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "PaymentMethodGrabpay"; TypeContext? context = _ctx; } class PaymentMethodIdeal extends StripeEntity1 implements IConvertible { String? Bank; String? Bic; PaymentMethodIdeal({this.Bank,this.Bic}); PaymentMethodIdeal.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Bank = json['Bank']; Bic = json['Bic']; return this; } Map toJson() => super.toJson()..addAll({ 'Bank': Bank, 'Bic': Bic }); getTypeName() => "PaymentMethodIdeal"; TypeContext? context = _ctx; } class PaymentMethodInteracPresentNetworks extends StripeEntity1 implements IConvertible { List? Available; String? Preferred; PaymentMethodInteracPresentNetworks({this.Available,this.Preferred}); PaymentMethodInteracPresentNetworks.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Available = JsonConverters.fromJson(json['Available'],'List',context!); Preferred = json['Preferred']; return this; } Map toJson() => super.toJson()..addAll({ 'Available': JsonConverters.toJson(Available,'List',context!), 'Preferred': Preferred }); getTypeName() => "PaymentMethodInteracPresentNetworks"; TypeContext? context = _ctx; } class PaymentMethodInteracPresent extends StripeEntity1 implements IConvertible { String? Brand; String? CardholderName; String? Country; String? Description; int ExpMonth = 0; int ExpYear = 0; String? Fingerprint; String? Funding; String? Iin; String? Issuer; String? Last4; PaymentMethodInteracPresentNetworks? Networks; List? PreferredLocales; String? ReadMethod; PaymentMethodInteracPresent({this.Brand,this.CardholderName,this.Country,this.Description,this.ExpMonth,this.ExpYear,this.Fingerprint,this.Funding,this.Iin,this.Issuer,this.Last4,this.Networks,this.PreferredLocales,this.ReadMethod}); PaymentMethodInteracPresent.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Brand = json['Brand']; CardholderName = json['CardholderName']; Country = json['Country']; Description = json['Description']; ExpMonth = json['ExpMonth']; ExpYear = json['ExpYear']; Fingerprint = json['Fingerprint']; Funding = json['Funding']; Iin = json['Iin']; Issuer = json['Issuer']; Last4 = json['Last4']; Networks = JsonConverters.fromJson(json['Networks'],'PaymentMethodInteracPresentNetworks',context!); PreferredLocales = JsonConverters.fromJson(json['PreferredLocales'],'List',context!); ReadMethod = json['ReadMethod']; return this; } Map toJson() => super.toJson()..addAll({ 'Brand': Brand, 'CardholderName': CardholderName, 'Country': Country, 'Description': Description, 'ExpMonth': ExpMonth, 'ExpYear': ExpYear, 'Fingerprint': Fingerprint, 'Funding': Funding, 'Iin': Iin, 'Issuer': Issuer, 'Last4': Last4, 'Networks': JsonConverters.toJson(Networks,'PaymentMethodInteracPresentNetworks',context!), 'PreferredLocales': JsonConverters.toJson(PreferredLocales,'List',context!), 'ReadMethod': ReadMethod }); getTypeName() => "PaymentMethodInteracPresent"; TypeContext? context = _ctx; } class PaymentMethodKakaoPay extends StripeEntity1 implements IConvertible { PaymentMethodKakaoPay(); PaymentMethodKakaoPay.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "PaymentMethodKakaoPay"; TypeContext? context = _ctx; } class PaymentMethodKlarnaDob extends StripeEntity1 implements IConvertible { int? Day; int? Month; int? Year; PaymentMethodKlarnaDob({this.Day,this.Month,this.Year}); PaymentMethodKlarnaDob.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Day = json['Day']; Month = json['Month']; Year = json['Year']; return this; } Map toJson() => super.toJson()..addAll({ 'Day': Day, 'Month': Month, 'Year': Year }); getTypeName() => "PaymentMethodKlarnaDob"; TypeContext? context = _ctx; } class PaymentMethodKlarna extends StripeEntity1 implements IConvertible { PaymentMethodKlarnaDob? Dob; PaymentMethodKlarna({this.Dob}); PaymentMethodKlarna.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Dob = JsonConverters.fromJson(json['Dob'],'PaymentMethodKlarnaDob',context!); return this; } Map toJson() => super.toJson()..addAll({ 'Dob': JsonConverters.toJson(Dob,'PaymentMethodKlarnaDob',context!) }); getTypeName() => "PaymentMethodKlarna"; TypeContext? context = _ctx; } class PaymentMethodKonbini extends StripeEntity1 implements IConvertible { PaymentMethodKonbini(); PaymentMethodKonbini.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "PaymentMethodKonbini"; TypeContext? context = _ctx; } class PaymentMethodKrCard extends StripeEntity1 implements IConvertible { String? Brand; String? Last4; PaymentMethodKrCard({this.Brand,this.Last4}); PaymentMethodKrCard.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Brand = json['Brand']; Last4 = json['Last4']; return this; } Map toJson() => super.toJson()..addAll({ 'Brand': Brand, 'Last4': Last4 }); getTypeName() => "PaymentMethodKrCard"; TypeContext? context = _ctx; } class PaymentMethodLink extends StripeEntity1 implements IConvertible { String? Email; String? PersistentToken; PaymentMethodLink({this.Email,this.PersistentToken}); PaymentMethodLink.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Email = json['Email']; PersistentToken = json['PersistentToken']; return this; } Map toJson() => super.toJson()..addAll({ 'Email': Email, 'PersistentToken': PersistentToken }); getTypeName() => "PaymentMethodLink"; TypeContext? context = _ctx; } class PaymentMethodMobilepay extends StripeEntity1 implements IConvertible { PaymentMethodMobilepay(); PaymentMethodMobilepay.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "PaymentMethodMobilepay"; TypeContext? context = _ctx; } class PaymentMethodMultibanco extends StripeEntity1 implements IConvertible { PaymentMethodMultibanco(); PaymentMethodMultibanco.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "PaymentMethodMultibanco"; TypeContext? context = _ctx; } class PaymentMethodNaverPay extends StripeEntity1 implements IConvertible { String? BuyerId; String? Funding; PaymentMethodNaverPay({this.BuyerId,this.Funding}); PaymentMethodNaverPay.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); BuyerId = json['BuyerId']; Funding = json['Funding']; return this; } Map toJson() => super.toJson()..addAll({ 'BuyerId': BuyerId, 'Funding': Funding }); getTypeName() => "PaymentMethodNaverPay"; TypeContext? context = _ctx; } class PaymentMethodNzBankAccount extends StripeEntity1 implements IConvertible { String? AccountHolderName; String? BankCode; String? BankName; String? BranchCode; String? Last4; String? Suffix; PaymentMethodNzBankAccount({this.AccountHolderName,this.BankCode,this.BankName,this.BranchCode,this.Last4,this.Suffix}); PaymentMethodNzBankAccount.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); AccountHolderName = json['AccountHolderName']; BankCode = json['BankCode']; BankName = json['BankName']; BranchCode = json['BranchCode']; Last4 = json['Last4']; Suffix = json['Suffix']; return this; } Map toJson() => super.toJson()..addAll({ 'AccountHolderName': AccountHolderName, 'BankCode': BankCode, 'BankName': BankName, 'BranchCode': BranchCode, 'Last4': Last4, 'Suffix': Suffix }); getTypeName() => "PaymentMethodNzBankAccount"; TypeContext? context = _ctx; } class PaymentMethodOxxo extends StripeEntity1 implements IConvertible { PaymentMethodOxxo(); PaymentMethodOxxo.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "PaymentMethodOxxo"; TypeContext? context = _ctx; } class PaymentMethodP24 extends StripeEntity1 implements IConvertible { String? Bank; PaymentMethodP24({this.Bank}); PaymentMethodP24.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Bank = json['Bank']; return this; } Map toJson() => super.toJson()..addAll({ 'Bank': Bank }); getTypeName() => "PaymentMethodP24"; TypeContext? context = _ctx; } class PaymentMethodPayByBank extends StripeEntity1 implements IConvertible { PaymentMethodPayByBank(); PaymentMethodPayByBank.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "PaymentMethodPayByBank"; TypeContext? context = _ctx; } class PaymentMethodPayco extends StripeEntity1 implements IConvertible { PaymentMethodPayco(); PaymentMethodPayco.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "PaymentMethodPayco"; TypeContext? context = _ctx; } class PaymentMethodPaynow extends StripeEntity1 implements IConvertible { PaymentMethodPaynow(); PaymentMethodPaynow.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "PaymentMethodPaynow"; TypeContext? context = _ctx; } class PaymentMethodPaypal extends StripeEntity1 implements IConvertible { String? Country; String? PayerEmail; String? PayerId; PaymentMethodPaypal({this.Country,this.PayerEmail,this.PayerId}); PaymentMethodPaypal.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Country = json['Country']; PayerEmail = json['PayerEmail']; PayerId = json['PayerId']; return this; } Map toJson() => super.toJson()..addAll({ 'Country': Country, 'PayerEmail': PayerEmail, 'PayerId': PayerId }); getTypeName() => "PaymentMethodPaypal"; TypeContext? context = _ctx; } class PaymentMethodPix extends StripeEntity1 implements IConvertible { PaymentMethodPix(); PaymentMethodPix.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "PaymentMethodPix"; TypeContext? context = _ctx; } class PaymentMethodPromptpay extends StripeEntity1 implements IConvertible { PaymentMethodPromptpay(); PaymentMethodPromptpay.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "PaymentMethodPromptpay"; TypeContext? context = _ctx; } class PaymentMethodRadarOptions extends StripeEntity1 implements IConvertible { String? Session; PaymentMethodRadarOptions({this.Session}); PaymentMethodRadarOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Session = json['Session']; return this; } Map toJson() => super.toJson()..addAll({ 'Session': Session }); getTypeName() => "PaymentMethodRadarOptions"; TypeContext? context = _ctx; } class PaymentMethodRevolutPay extends StripeEntity1 implements IConvertible { PaymentMethodRevolutPay(); PaymentMethodRevolutPay.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "PaymentMethodRevolutPay"; TypeContext? context = _ctx; } class PaymentMethodSamsungPay extends StripeEntity1 implements IConvertible { PaymentMethodSamsungPay(); PaymentMethodSamsungPay.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "PaymentMethodSamsungPay"; TypeContext? context = _ctx; } class PaymentMethodSatispay extends StripeEntity1 implements IConvertible { PaymentMethodSatispay(); PaymentMethodSatispay.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "PaymentMethodSatispay"; TypeContext? context = _ctx; } class PaymentMethodSepaDebitGeneratedFrom extends StripeEntity1 implements IConvertible { PaymentMethodSepaDebitGeneratedFrom(); PaymentMethodSepaDebitGeneratedFrom.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "PaymentMethodSepaDebitGeneratedFrom"; TypeContext? context = _ctx; } class PaymentMethodSepaDebit extends StripeEntity1 implements IConvertible { String? BankCode; String? BranchCode; String? Country; String? Fingerprint; PaymentMethodSepaDebitGeneratedFrom? GeneratedFrom; String? Last4; PaymentMethodSepaDebit({this.BankCode,this.BranchCode,this.Country,this.Fingerprint,this.GeneratedFrom,this.Last4}); PaymentMethodSepaDebit.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); BankCode = json['BankCode']; BranchCode = json['BranchCode']; Country = json['Country']; Fingerprint = json['Fingerprint']; GeneratedFrom = JsonConverters.fromJson(json['GeneratedFrom'],'PaymentMethodSepaDebitGeneratedFrom',context!); Last4 = json['Last4']; return this; } Map toJson() => super.toJson()..addAll({ 'BankCode': BankCode, 'BranchCode': BranchCode, 'Country': Country, 'Fingerprint': Fingerprint, 'GeneratedFrom': JsonConverters.toJson(GeneratedFrom,'PaymentMethodSepaDebitGeneratedFrom',context!), 'Last4': Last4 }); getTypeName() => "PaymentMethodSepaDebit"; TypeContext? context = _ctx; } class PaymentMethodSofort extends StripeEntity1 implements IConvertible { String? Country; PaymentMethodSofort({this.Country}); PaymentMethodSofort.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Country = json['Country']; return this; } Map toJson() => super.toJson()..addAll({ 'Country': Country }); getTypeName() => "PaymentMethodSofort"; TypeContext? context = _ctx; } class PaymentMethodSwish extends StripeEntity1 implements IConvertible { PaymentMethodSwish(); PaymentMethodSwish.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "PaymentMethodSwish"; TypeContext? context = _ctx; } class PaymentMethodTwint extends StripeEntity1 implements IConvertible { PaymentMethodTwint(); PaymentMethodTwint.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "PaymentMethodTwint"; TypeContext? context = _ctx; } class PaymentMethodUsBankAccountNetworks extends StripeEntity1 implements IConvertible { String? Preferred; List? Supported; PaymentMethodUsBankAccountNetworks({this.Preferred,this.Supported}); PaymentMethodUsBankAccountNetworks.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Preferred = json['Preferred']; Supported = JsonConverters.fromJson(json['Supported'],'List',context!); return this; } Map toJson() => super.toJson()..addAll({ 'Preferred': Preferred, 'Supported': JsonConverters.toJson(Supported,'List',context!) }); getTypeName() => "PaymentMethodUsBankAccountNetworks"; TypeContext? context = _ctx; } class PaymentMethodUsBankAccountStatusDetailsBlocked extends StripeEntity1 implements IConvertible { String? NetworkCode; String? Reason; PaymentMethodUsBankAccountStatusDetailsBlocked({this.NetworkCode,this.Reason}); PaymentMethodUsBankAccountStatusDetailsBlocked.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); NetworkCode = json['NetworkCode']; Reason = json['Reason']; return this; } Map toJson() => super.toJson()..addAll({ 'NetworkCode': NetworkCode, 'Reason': Reason }); getTypeName() => "PaymentMethodUsBankAccountStatusDetailsBlocked"; TypeContext? context = _ctx; } class PaymentMethodUsBankAccountStatusDetails extends StripeEntity1 implements IConvertible { PaymentMethodUsBankAccountStatusDetailsBlocked? Blocked; PaymentMethodUsBankAccountStatusDetails({this.Blocked}); PaymentMethodUsBankAccountStatusDetails.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Blocked = JsonConverters.fromJson(json['Blocked'],'PaymentMethodUsBankAccountStatusDetailsBlocked',context!); return this; } Map toJson() => super.toJson()..addAll({ 'Blocked': JsonConverters.toJson(Blocked,'PaymentMethodUsBankAccountStatusDetailsBlocked',context!) }); getTypeName() => "PaymentMethodUsBankAccountStatusDetails"; TypeContext? context = _ctx; } class PaymentMethodUsBankAccount extends StripeEntity1 implements IConvertible { String? AccountHolderType; String? AccountType; String? BankName; String? FinancialConnectionsAccount; String? Fingerprint; String? Last4; PaymentMethodUsBankAccountNetworks? Networks; String? RoutingNumber; PaymentMethodUsBankAccountStatusDetails? StatusDetails; PaymentMethodUsBankAccount({this.AccountHolderType,this.AccountType,this.BankName,this.FinancialConnectionsAccount,this.Fingerprint,this.Last4,this.Networks,this.RoutingNumber,this.StatusDetails}); PaymentMethodUsBankAccount.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); AccountHolderType = json['AccountHolderType']; AccountType = json['AccountType']; BankName = json['BankName']; FinancialConnectionsAccount = json['FinancialConnectionsAccount']; Fingerprint = json['Fingerprint']; Last4 = json['Last4']; Networks = JsonConverters.fromJson(json['Networks'],'PaymentMethodUsBankAccountNetworks',context!); RoutingNumber = json['RoutingNumber']; StatusDetails = JsonConverters.fromJson(json['StatusDetails'],'PaymentMethodUsBankAccountStatusDetails',context!); return this; } Map toJson() => super.toJson()..addAll({ 'AccountHolderType': AccountHolderType, 'AccountType': AccountType, 'BankName': BankName, 'FinancialConnectionsAccount': FinancialConnectionsAccount, 'Fingerprint': Fingerprint, 'Last4': Last4, 'Networks': JsonConverters.toJson(Networks,'PaymentMethodUsBankAccountNetworks',context!), 'RoutingNumber': RoutingNumber, 'StatusDetails': JsonConverters.toJson(StatusDetails,'PaymentMethodUsBankAccountStatusDetails',context!) }); getTypeName() => "PaymentMethodUsBankAccount"; TypeContext? context = _ctx; } class PaymentMethodWechatPay extends StripeEntity1 implements IConvertible { PaymentMethodWechatPay(); PaymentMethodWechatPay.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "PaymentMethodWechatPay"; TypeContext? context = _ctx; } class PaymentMethodZip extends StripeEntity1 implements IConvertible { PaymentMethodZip(); PaymentMethodZip.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "PaymentMethodZip"; TypeContext? context = _ctx; } class PaymentMethod extends StripeEntity1 implements IHasId, IHasMetadata, IHasObject, IConvertible { String? Id; String? Object; PaymentMethodAcssDebit? AcssDebit; PaymentMethodAffirm? Affirm; PaymentMethodAfterpayClearpay? AfterpayClearpay; PaymentMethodAlipay? Alipay; String? AllowRedisplay; PaymentMethodAlma? Alma; PaymentMethodAmazonPay? AmazonPay; PaymentMethodAuBecsDebit? AuBecsDebit; PaymentMethodBacsDebit? BacsDebit; PaymentMethodBancontact? Bancontact; PaymentMethodBillie? Billie; PaymentMethodBillingDetails? BillingDetails; PaymentMethodBlik? Blik; PaymentMethodBoleto? Boleto; PaymentMethodCard? Card; PaymentMethodCardPresent? CardPresent; PaymentMethodCashapp? Cashapp; DateTime Created = DateTime(0); PaymentMethodCustomerBalance? CustomerBalance; PaymentMethodEps? Eps; PaymentMethodFpx? Fpx; PaymentMethodGiropay? Giropay; PaymentMethodGrabpay? Grabpay; PaymentMethodIdeal? Ideal; PaymentMethodInteracPresent? InteracPresent; PaymentMethodKakaoPay? KakaoPay; PaymentMethodKlarna? Klarna; PaymentMethodKonbini? Konbini; PaymentMethodKrCard? KrCard; PaymentMethodLink? Link; bool Livemode; Map? Metadata; PaymentMethodMobilepay? Mobilepay; PaymentMethodMultibanco? Multibanco; PaymentMethodNaverPay? NaverPay; PaymentMethodNzBankAccount? NzBankAccount; PaymentMethodOxxo? Oxxo; PaymentMethodP24? P24; PaymentMethodPayByBank? PayByBank; PaymentMethodPayco? Payco; PaymentMethodPaynow? Paynow; PaymentMethodPaypal? Paypal; PaymentMethodPix? Pix; PaymentMethodPromptpay? Promptpay; PaymentMethodRadarOptions? RadarOptions; PaymentMethodRevolutPay? RevolutPay; PaymentMethodSamsungPay? SamsungPay; PaymentMethodSatispay? Satispay; PaymentMethodSepaDebit? SepaDebit; PaymentMethodSofort? Sofort; PaymentMethodSwish? Swish; PaymentMethodTwint? Twint; String? Type; PaymentMethodUsBankAccount? UsBankAccount; PaymentMethodWechatPay? WechatPay; PaymentMethodZip? Zip; PaymentMethod({this.Id,this.Object,this.AcssDebit,this.Affirm,this.AfterpayClearpay,this.Alipay,this.AllowRedisplay,this.Alma,this.AmazonPay,this.AuBecsDebit,this.BacsDebit,this.Bancontact,this.Billie,this.BillingDetails,this.Blik,this.Boleto,this.Card,this.CardPresent,this.Cashapp,this.Created,this.CustomerBalance,this.Eps,this.Fpx,this.Giropay,this.Grabpay,this.Ideal,this.InteracPresent,this.KakaoPay,this.Klarna,this.Konbini,this.KrCard,this.Link,this.Livemode,this.Metadata,this.Mobilepay,this.Multibanco,this.NaverPay,this.NzBankAccount,this.Oxxo,this.P24,this.PayByBank,this.Payco,this.Paynow,this.Paypal,this.Pix,this.Promptpay,this.RadarOptions,this.RevolutPay,this.SamsungPay,this.Satispay,this.SepaDebit,this.Sofort,this.Swish,this.Twint,this.Type,this.UsBankAccount,this.WechatPay,this.Zip}); PaymentMethod.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Id = json['Id']; Object = json['Object']; AcssDebit = JsonConverters.fromJson(json['AcssDebit'],'PaymentMethodAcssDebit',context!); Affirm = JsonConverters.fromJson(json['Affirm'],'PaymentMethodAffirm',context!); AfterpayClearpay = JsonConverters.fromJson(json['AfterpayClearpay'],'PaymentMethodAfterpayClearpay',context!); Alipay = JsonConverters.fromJson(json['Alipay'],'PaymentMethodAlipay',context!); AllowRedisplay = json['AllowRedisplay']; Alma = JsonConverters.fromJson(json['Alma'],'PaymentMethodAlma',context!); AmazonPay = JsonConverters.fromJson(json['AmazonPay'],'PaymentMethodAmazonPay',context!); AuBecsDebit = JsonConverters.fromJson(json['AuBecsDebit'],'PaymentMethodAuBecsDebit',context!); BacsDebit = JsonConverters.fromJson(json['BacsDebit'],'PaymentMethodBacsDebit',context!); Bancontact = JsonConverters.fromJson(json['Bancontact'],'PaymentMethodBancontact',context!); Billie = JsonConverters.fromJson(json['Billie'],'PaymentMethodBillie',context!); BillingDetails = JsonConverters.fromJson(json['BillingDetails'],'PaymentMethodBillingDetails',context!); Blik = JsonConverters.fromJson(json['Blik'],'PaymentMethodBlik',context!); Boleto = JsonConverters.fromJson(json['Boleto'],'PaymentMethodBoleto',context!); Card = JsonConverters.fromJson(json['Card'],'PaymentMethodCard',context!); CardPresent = JsonConverters.fromJson(json['CardPresent'],'PaymentMethodCardPresent',context!); Cashapp = JsonConverters.fromJson(json['Cashapp'],'PaymentMethodCashapp',context!); Created = JsonConverters.fromJson(json['Created'],'DateTime',context!); CustomerBalance = JsonConverters.fromJson(json['CustomerBalance'],'PaymentMethodCustomerBalance',context!); Eps = JsonConverters.fromJson(json['Eps'],'PaymentMethodEps',context!); Fpx = JsonConverters.fromJson(json['Fpx'],'PaymentMethodFpx',context!); Giropay = JsonConverters.fromJson(json['Giropay'],'PaymentMethodGiropay',context!); Grabpay = JsonConverters.fromJson(json['Grabpay'],'PaymentMethodGrabpay',context!); Ideal = JsonConverters.fromJson(json['Ideal'],'PaymentMethodIdeal',context!); InteracPresent = JsonConverters.fromJson(json['InteracPresent'],'PaymentMethodInteracPresent',context!); KakaoPay = JsonConverters.fromJson(json['KakaoPay'],'PaymentMethodKakaoPay',context!); Klarna = JsonConverters.fromJson(json['Klarna'],'PaymentMethodKlarna',context!); Konbini = JsonConverters.fromJson(json['Konbini'],'PaymentMethodKonbini',context!); KrCard = JsonConverters.fromJson(json['KrCard'],'PaymentMethodKrCard',context!); Link = JsonConverters.fromJson(json['Link'],'PaymentMethodLink',context!); Livemode = json['Livemode']; Metadata = JsonConverters.toStringMap(json['Metadata']); Mobilepay = JsonConverters.fromJson(json['Mobilepay'],'PaymentMethodMobilepay',context!); Multibanco = JsonConverters.fromJson(json['Multibanco'],'PaymentMethodMultibanco',context!); NaverPay = JsonConverters.fromJson(json['NaverPay'],'PaymentMethodNaverPay',context!); NzBankAccount = JsonConverters.fromJson(json['NzBankAccount'],'PaymentMethodNzBankAccount',context!); Oxxo = JsonConverters.fromJson(json['Oxxo'],'PaymentMethodOxxo',context!); P24 = JsonConverters.fromJson(json['P24'],'PaymentMethodP24',context!); PayByBank = JsonConverters.fromJson(json['PayByBank'],'PaymentMethodPayByBank',context!); Payco = JsonConverters.fromJson(json['Payco'],'PaymentMethodPayco',context!); Paynow = JsonConverters.fromJson(json['Paynow'],'PaymentMethodPaynow',context!); Paypal = JsonConverters.fromJson(json['Paypal'],'PaymentMethodPaypal',context!); Pix = JsonConverters.fromJson(json['Pix'],'PaymentMethodPix',context!); Promptpay = JsonConverters.fromJson(json['Promptpay'],'PaymentMethodPromptpay',context!); RadarOptions = JsonConverters.fromJson(json['RadarOptions'],'PaymentMethodRadarOptions',context!); RevolutPay = JsonConverters.fromJson(json['RevolutPay'],'PaymentMethodRevolutPay',context!); SamsungPay = JsonConverters.fromJson(json['SamsungPay'],'PaymentMethodSamsungPay',context!); Satispay = JsonConverters.fromJson(json['Satispay'],'PaymentMethodSatispay',context!); SepaDebit = JsonConverters.fromJson(json['SepaDebit'],'PaymentMethodSepaDebit',context!); Sofort = JsonConverters.fromJson(json['Sofort'],'PaymentMethodSofort',context!); Swish = JsonConverters.fromJson(json['Swish'],'PaymentMethodSwish',context!); Twint = JsonConverters.fromJson(json['Twint'],'PaymentMethodTwint',context!); Type = json['Type']; UsBankAccount = JsonConverters.fromJson(json['UsBankAccount'],'PaymentMethodUsBankAccount',context!); WechatPay = JsonConverters.fromJson(json['WechatPay'],'PaymentMethodWechatPay',context!); Zip = JsonConverters.fromJson(json['Zip'],'PaymentMethodZip',context!); return this; } Map toJson() => super.toJson()..addAll({ 'Id': Id, 'Object': Object, 'AcssDebit': JsonConverters.toJson(AcssDebit,'PaymentMethodAcssDebit',context!), 'Affirm': JsonConverters.toJson(Affirm,'PaymentMethodAffirm',context!), 'AfterpayClearpay': JsonConverters.toJson(AfterpayClearpay,'PaymentMethodAfterpayClearpay',context!), 'Alipay': JsonConverters.toJson(Alipay,'PaymentMethodAlipay',context!), 'AllowRedisplay': AllowRedisplay, 'Alma': JsonConverters.toJson(Alma,'PaymentMethodAlma',context!), 'AmazonPay': JsonConverters.toJson(AmazonPay,'PaymentMethodAmazonPay',context!), 'AuBecsDebit': JsonConverters.toJson(AuBecsDebit,'PaymentMethodAuBecsDebit',context!), 'BacsDebit': JsonConverters.toJson(BacsDebit,'PaymentMethodBacsDebit',context!), 'Bancontact': JsonConverters.toJson(Bancontact,'PaymentMethodBancontact',context!), 'Billie': JsonConverters.toJson(Billie,'PaymentMethodBillie',context!), 'BillingDetails': JsonConverters.toJson(BillingDetails,'PaymentMethodBillingDetails',context!), 'Blik': JsonConverters.toJson(Blik,'PaymentMethodBlik',context!), 'Boleto': JsonConverters.toJson(Boleto,'PaymentMethodBoleto',context!), 'Card': JsonConverters.toJson(Card,'PaymentMethodCard',context!), 'CardPresent': JsonConverters.toJson(CardPresent,'PaymentMethodCardPresent',context!), 'Cashapp': JsonConverters.toJson(Cashapp,'PaymentMethodCashapp',context!), 'Created': JsonConverters.toJson(Created,'DateTime',context!), 'CustomerBalance': JsonConverters.toJson(CustomerBalance,'PaymentMethodCustomerBalance',context!), 'Eps': JsonConverters.toJson(Eps,'PaymentMethodEps',context!), 'Fpx': JsonConverters.toJson(Fpx,'PaymentMethodFpx',context!), 'Giropay': JsonConverters.toJson(Giropay,'PaymentMethodGiropay',context!), 'Grabpay': JsonConverters.toJson(Grabpay,'PaymentMethodGrabpay',context!), 'Ideal': JsonConverters.toJson(Ideal,'PaymentMethodIdeal',context!), 'InteracPresent': JsonConverters.toJson(InteracPresent,'PaymentMethodInteracPresent',context!), 'KakaoPay': JsonConverters.toJson(KakaoPay,'PaymentMethodKakaoPay',context!), 'Klarna': JsonConverters.toJson(Klarna,'PaymentMethodKlarna',context!), 'Konbini': JsonConverters.toJson(Konbini,'PaymentMethodKonbini',context!), 'KrCard': JsonConverters.toJson(KrCard,'PaymentMethodKrCard',context!), 'Link': JsonConverters.toJson(Link,'PaymentMethodLink',context!), 'Livemode': Livemode, 'Metadata': Metadata, 'Mobilepay': JsonConverters.toJson(Mobilepay,'PaymentMethodMobilepay',context!), 'Multibanco': JsonConverters.toJson(Multibanco,'PaymentMethodMultibanco',context!), 'NaverPay': JsonConverters.toJson(NaverPay,'PaymentMethodNaverPay',context!), 'NzBankAccount': JsonConverters.toJson(NzBankAccount,'PaymentMethodNzBankAccount',context!), 'Oxxo': JsonConverters.toJson(Oxxo,'PaymentMethodOxxo',context!), 'P24': JsonConverters.toJson(P24,'PaymentMethodP24',context!), 'PayByBank': JsonConverters.toJson(PayByBank,'PaymentMethodPayByBank',context!), 'Payco': JsonConverters.toJson(Payco,'PaymentMethodPayco',context!), 'Paynow': JsonConverters.toJson(Paynow,'PaymentMethodPaynow',context!), 'Paypal': JsonConverters.toJson(Paypal,'PaymentMethodPaypal',context!), 'Pix': JsonConverters.toJson(Pix,'PaymentMethodPix',context!), 'Promptpay': JsonConverters.toJson(Promptpay,'PaymentMethodPromptpay',context!), 'RadarOptions': JsonConverters.toJson(RadarOptions,'PaymentMethodRadarOptions',context!), 'RevolutPay': JsonConverters.toJson(RevolutPay,'PaymentMethodRevolutPay',context!), 'SamsungPay': JsonConverters.toJson(SamsungPay,'PaymentMethodSamsungPay',context!), 'Satispay': JsonConverters.toJson(Satispay,'PaymentMethodSatispay',context!), 'SepaDebit': JsonConverters.toJson(SepaDebit,'PaymentMethodSepaDebit',context!), 'Sofort': JsonConverters.toJson(Sofort,'PaymentMethodSofort',context!), 'Swish': JsonConverters.toJson(Swish,'PaymentMethodSwish',context!), 'Twint': JsonConverters.toJson(Twint,'PaymentMethodTwint',context!), 'Type': Type, 'UsBankAccount': JsonConverters.toJson(UsBankAccount,'PaymentMethodUsBankAccount',context!), 'WechatPay': JsonConverters.toJson(WechatPay,'PaymentMethodWechatPay',context!), 'Zip': JsonConverters.toJson(Zip,'PaymentMethodZip',context!) }); getTypeName() => "PaymentMethod"; TypeContext? context = _ctx; } class SetupIntentAutomaticPaymentMethods extends StripeEntity1 implements IConvertible { String? AllowRedirects; bool? Enabled; SetupIntentAutomaticPaymentMethods({this.AllowRedirects,this.Enabled}); SetupIntentAutomaticPaymentMethods.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); AllowRedirects = json['AllowRedirects']; Enabled = json['Enabled']; return this; } Map toJson() => super.toJson()..addAll({ 'AllowRedirects': AllowRedirects, 'Enabled': Enabled }); getTypeName() => "SetupIntentAutomaticPaymentMethods"; TypeContext? context = _ctx; } class SetupIntentNextActionCashappHandleRedirectOrDisplayQrCodeQrCode extends StripeEntity1 implements IConvertible { DateTime ExpiresAt = DateTime(0); String? ImageUrlPng; String? ImageUrlSvg; SetupIntentNextActionCashappHandleRedirectOrDisplayQrCodeQrCode({this.ExpiresAt,this.ImageUrlPng,this.ImageUrlSvg}); SetupIntentNextActionCashappHandleRedirectOrDisplayQrCodeQrCode.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ExpiresAt = JsonConverters.fromJson(json['ExpiresAt'],'DateTime',context!); ImageUrlPng = json['ImageUrlPng']; ImageUrlSvg = json['ImageUrlSvg']; return this; } Map toJson() => super.toJson()..addAll({ 'ExpiresAt': JsonConverters.toJson(ExpiresAt,'DateTime',context!), 'ImageUrlPng': ImageUrlPng, 'ImageUrlSvg': ImageUrlSvg }); getTypeName() => "SetupIntentNextActionCashappHandleRedirectOrDisplayQrCodeQrCode"; TypeContext? context = _ctx; } class SetupIntentNextActionCashappHandleRedirectOrDisplayQrCode extends StripeEntity1 implements IConvertible { String? HostedInstructionsUrl; String? MobileAuthUrl; SetupIntentNextActionCashappHandleRedirectOrDisplayQrCodeQrCode? QrCode; SetupIntentNextActionCashappHandleRedirectOrDisplayQrCode({this.HostedInstructionsUrl,this.MobileAuthUrl,this.QrCode}); SetupIntentNextActionCashappHandleRedirectOrDisplayQrCode.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); HostedInstructionsUrl = json['HostedInstructionsUrl']; MobileAuthUrl = json['MobileAuthUrl']; QrCode = JsonConverters.fromJson(json['QrCode'],'SetupIntentNextActionCashappHandleRedirectOrDisplayQrCodeQrCode',context!); return this; } Map toJson() => super.toJson()..addAll({ 'HostedInstructionsUrl': HostedInstructionsUrl, 'MobileAuthUrl': MobileAuthUrl, 'QrCode': JsonConverters.toJson(QrCode,'SetupIntentNextActionCashappHandleRedirectOrDisplayQrCodeQrCode',context!) }); getTypeName() => "SetupIntentNextActionCashappHandleRedirectOrDisplayQrCode"; TypeContext? context = _ctx; } class SetupIntentNextActionRedirectToUrl extends StripeEntity1 implements IConvertible { String? ReturnUrl; String? Url; SetupIntentNextActionRedirectToUrl({this.ReturnUrl,this.Url}); SetupIntentNextActionRedirectToUrl.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ReturnUrl = json['ReturnUrl']; Url = json['Url']; return this; } Map toJson() => super.toJson()..addAll({ 'ReturnUrl': ReturnUrl, 'Url': Url }); getTypeName() => "SetupIntentNextActionRedirectToUrl"; TypeContext? context = _ctx; } class SetupIntentNextActionUseStripeSdk extends StripeEntity1 implements IConvertible { SetupIntentNextActionUseStripeSdk(); SetupIntentNextActionUseStripeSdk.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "SetupIntentNextActionUseStripeSdk"; TypeContext? context = _ctx; } class SetupIntentNextActionVerifyWithMicrodeposits extends StripeEntity1 implements IConvertible { DateTime ArrivalDate = DateTime(0); String? HostedVerificationUrl; String? MicrodepositType; SetupIntentNextActionVerifyWithMicrodeposits({this.ArrivalDate,this.HostedVerificationUrl,this.MicrodepositType}); SetupIntentNextActionVerifyWithMicrodeposits.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ArrivalDate = JsonConverters.fromJson(json['ArrivalDate'],'DateTime',context!); HostedVerificationUrl = json['HostedVerificationUrl']; MicrodepositType = json['MicrodepositType']; return this; } Map toJson() => super.toJson()..addAll({ 'ArrivalDate': JsonConverters.toJson(ArrivalDate,'DateTime',context!), 'HostedVerificationUrl': HostedVerificationUrl, 'MicrodepositType': MicrodepositType }); getTypeName() => "SetupIntentNextActionVerifyWithMicrodeposits"; TypeContext? context = _ctx; } class SetupIntentNextAction extends StripeEntity1 implements IConvertible { SetupIntentNextActionCashappHandleRedirectOrDisplayQrCode? CashappHandleRedirectOrDisplayQrCode; SetupIntentNextActionRedirectToUrl? RedirectToUrl; String? Type; SetupIntentNextActionUseStripeSdk? UseStripeSdk; SetupIntentNextActionVerifyWithMicrodeposits? VerifyWithMicrodeposits; SetupIntentNextAction({this.CashappHandleRedirectOrDisplayQrCode,this.RedirectToUrl,this.Type,this.UseStripeSdk,this.VerifyWithMicrodeposits}); SetupIntentNextAction.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CashappHandleRedirectOrDisplayQrCode = JsonConverters.fromJson(json['CashappHandleRedirectOrDisplayQrCode'],'SetupIntentNextActionCashappHandleRedirectOrDisplayQrCode',context!); RedirectToUrl = JsonConverters.fromJson(json['RedirectToUrl'],'SetupIntentNextActionRedirectToUrl',context!); Type = json['Type']; UseStripeSdk = JsonConverters.fromJson(json['UseStripeSdk'],'SetupIntentNextActionUseStripeSdk',context!); VerifyWithMicrodeposits = JsonConverters.fromJson(json['VerifyWithMicrodeposits'],'SetupIntentNextActionVerifyWithMicrodeposits',context!); return this; } Map toJson() => super.toJson()..addAll({ 'CashappHandleRedirectOrDisplayQrCode': JsonConverters.toJson(CashappHandleRedirectOrDisplayQrCode,'SetupIntentNextActionCashappHandleRedirectOrDisplayQrCode',context!), 'RedirectToUrl': JsonConverters.toJson(RedirectToUrl,'SetupIntentNextActionRedirectToUrl',context!), 'Type': Type, 'UseStripeSdk': JsonConverters.toJson(UseStripeSdk,'SetupIntentNextActionUseStripeSdk',context!), 'VerifyWithMicrodeposits': JsonConverters.toJson(VerifyWithMicrodeposits,'SetupIntentNextActionVerifyWithMicrodeposits',context!) }); getTypeName() => "SetupIntentNextAction"; TypeContext? context = _ctx; } class SetupIntentPaymentMethodConfigurationDetails extends StripeEntity1 implements IHasId, IConvertible { String? Id; String? Parent; SetupIntentPaymentMethodConfigurationDetails({this.Id,this.Parent}); SetupIntentPaymentMethodConfigurationDetails.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Id = json['Id']; Parent = json['Parent']; return this; } Map toJson() => super.toJson()..addAll({ 'Id': Id, 'Parent': Parent }); getTypeName() => "SetupIntentPaymentMethodConfigurationDetails"; TypeContext? context = _ctx; } class SetupIntentPaymentMethodOptionsAcssDebitMandateOptions extends StripeEntity1 implements IConvertible { String? CustomMandateUrl; List? DefaultFor; String? IntervalDescription; String? PaymentSchedule; String? TransactionType; SetupIntentPaymentMethodOptionsAcssDebitMandateOptions({this.CustomMandateUrl,this.DefaultFor,this.IntervalDescription,this.PaymentSchedule,this.TransactionType}); SetupIntentPaymentMethodOptionsAcssDebitMandateOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CustomMandateUrl = json['CustomMandateUrl']; DefaultFor = JsonConverters.fromJson(json['DefaultFor'],'List',context!); IntervalDescription = json['IntervalDescription']; PaymentSchedule = json['PaymentSchedule']; TransactionType = json['TransactionType']; return this; } Map toJson() => super.toJson()..addAll({ 'CustomMandateUrl': CustomMandateUrl, 'DefaultFor': JsonConverters.toJson(DefaultFor,'List',context!), 'IntervalDescription': IntervalDescription, 'PaymentSchedule': PaymentSchedule, 'TransactionType': TransactionType }); getTypeName() => "SetupIntentPaymentMethodOptionsAcssDebitMandateOptions"; TypeContext? context = _ctx; } class SetupIntentPaymentMethodOptionsAcssDebit extends StripeEntity1 implements IConvertible { String? Currency; SetupIntentPaymentMethodOptionsAcssDebitMandateOptions? MandateOptions; String? VerificationMethod; SetupIntentPaymentMethodOptionsAcssDebit({this.Currency,this.MandateOptions,this.VerificationMethod}); SetupIntentPaymentMethodOptionsAcssDebit.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Currency = json['Currency']; MandateOptions = JsonConverters.fromJson(json['MandateOptions'],'SetupIntentPaymentMethodOptionsAcssDebitMandateOptions',context!); VerificationMethod = json['VerificationMethod']; return this; } Map toJson() => super.toJson()..addAll({ 'Currency': Currency, 'MandateOptions': JsonConverters.toJson(MandateOptions,'SetupIntentPaymentMethodOptionsAcssDebitMandateOptions',context!), 'VerificationMethod': VerificationMethod }); getTypeName() => "SetupIntentPaymentMethodOptionsAcssDebit"; TypeContext? context = _ctx; } class SetupIntentPaymentMethodOptionsAmazonPay extends StripeEntity1 implements IConvertible { SetupIntentPaymentMethodOptionsAmazonPay(); SetupIntentPaymentMethodOptionsAmazonPay.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "SetupIntentPaymentMethodOptionsAmazonPay"; TypeContext? context = _ctx; } class SetupIntentPaymentMethodOptionsBacsDebitMandateOptions extends StripeEntity1 implements IConvertible { String? ReferencePrefix; SetupIntentPaymentMethodOptionsBacsDebitMandateOptions({this.ReferencePrefix}); SetupIntentPaymentMethodOptionsBacsDebitMandateOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ReferencePrefix = json['ReferencePrefix']; return this; } Map toJson() => super.toJson()..addAll({ 'ReferencePrefix': ReferencePrefix }); getTypeName() => "SetupIntentPaymentMethodOptionsBacsDebitMandateOptions"; TypeContext? context = _ctx; } class SetupIntentPaymentMethodOptionsBacsDebit extends StripeEntity1 implements IConvertible { SetupIntentPaymentMethodOptionsBacsDebitMandateOptions? MandateOptions; SetupIntentPaymentMethodOptionsBacsDebit({this.MandateOptions}); SetupIntentPaymentMethodOptionsBacsDebit.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); MandateOptions = JsonConverters.fromJson(json['MandateOptions'],'SetupIntentPaymentMethodOptionsBacsDebitMandateOptions',context!); return this; } Map toJson() => super.toJson()..addAll({ 'MandateOptions': JsonConverters.toJson(MandateOptions,'SetupIntentPaymentMethodOptionsBacsDebitMandateOptions',context!) }); getTypeName() => "SetupIntentPaymentMethodOptionsBacsDebit"; TypeContext? context = _ctx; } class SetupIntentPaymentMethodOptionsCardMandateOptions extends StripeEntity1 implements IConvertible { int Amount = 0; String? AmountType; String? Currency; String? Description; DateTime? EndDate; String? Interval; int? IntervalCount; String? Reference; DateTime StartDate = DateTime(0); List? SupportedTypes; SetupIntentPaymentMethodOptionsCardMandateOptions({this.Amount,this.AmountType,this.Currency,this.Description,this.EndDate,this.Interval,this.IntervalCount,this.Reference,this.StartDate,this.SupportedTypes}); SetupIntentPaymentMethodOptionsCardMandateOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Amount = json['Amount']; AmountType = json['AmountType']; Currency = json['Currency']; Description = json['Description']; EndDate = JsonConverters.fromJson(json['EndDate'],'DateTime',context!); Interval = json['Interval']; IntervalCount = json['IntervalCount']; Reference = json['Reference']; StartDate = JsonConverters.fromJson(json['StartDate'],'DateTime',context!); SupportedTypes = JsonConverters.fromJson(json['SupportedTypes'],'List',context!); return this; } Map toJson() => super.toJson()..addAll({ 'Amount': Amount, 'AmountType': AmountType, 'Currency': Currency, 'Description': Description, 'EndDate': JsonConverters.toJson(EndDate,'DateTime',context!), 'Interval': Interval, 'IntervalCount': IntervalCount, 'Reference': Reference, 'StartDate': JsonConverters.toJson(StartDate,'DateTime',context!), 'SupportedTypes': JsonConverters.toJson(SupportedTypes,'List',context!) }); getTypeName() => "SetupIntentPaymentMethodOptionsCardMandateOptions"; TypeContext? context = _ctx; } class SetupIntentPaymentMethodOptionsCard extends StripeEntity1 implements IConvertible { SetupIntentPaymentMethodOptionsCardMandateOptions? MandateOptions; String? Network; String? RequestThreeDSecure; SetupIntentPaymentMethodOptionsCard({this.MandateOptions,this.Network,this.RequestThreeDSecure}); SetupIntentPaymentMethodOptionsCard.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); MandateOptions = JsonConverters.fromJson(json['MandateOptions'],'SetupIntentPaymentMethodOptionsCardMandateOptions',context!); Network = json['Network']; RequestThreeDSecure = json['RequestThreeDSecure']; return this; } Map toJson() => super.toJson()..addAll({ 'MandateOptions': JsonConverters.toJson(MandateOptions,'SetupIntentPaymentMethodOptionsCardMandateOptions',context!), 'Network': Network, 'RequestThreeDSecure': RequestThreeDSecure }); getTypeName() => "SetupIntentPaymentMethodOptionsCard"; TypeContext? context = _ctx; } class SetupIntentPaymentMethodOptionsCardPresent extends StripeEntity1 implements IConvertible { SetupIntentPaymentMethodOptionsCardPresent(); SetupIntentPaymentMethodOptionsCardPresent.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "SetupIntentPaymentMethodOptionsCardPresent"; TypeContext? context = _ctx; } class SetupIntentPaymentMethodOptionsLink extends StripeEntity1 implements IConvertible { String? PersistentToken; SetupIntentPaymentMethodOptionsLink({this.PersistentToken}); SetupIntentPaymentMethodOptionsLink.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); PersistentToken = json['PersistentToken']; return this; } Map toJson() => super.toJson()..addAll({ 'PersistentToken': PersistentToken }); getTypeName() => "SetupIntentPaymentMethodOptionsLink"; TypeContext? context = _ctx; } class SetupIntentPaymentMethodOptionsPaypal extends StripeEntity1 implements IConvertible { String? BillingAgreementId; SetupIntentPaymentMethodOptionsPaypal({this.BillingAgreementId}); SetupIntentPaymentMethodOptionsPaypal.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); BillingAgreementId = json['BillingAgreementId']; return this; } Map toJson() => super.toJson()..addAll({ 'BillingAgreementId': BillingAgreementId }); getTypeName() => "SetupIntentPaymentMethodOptionsPaypal"; TypeContext? context = _ctx; } class SetupIntentPaymentMethodOptionsSepaDebitMandateOptions extends StripeEntity1 implements IConvertible { String? ReferencePrefix; SetupIntentPaymentMethodOptionsSepaDebitMandateOptions({this.ReferencePrefix}); SetupIntentPaymentMethodOptionsSepaDebitMandateOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ReferencePrefix = json['ReferencePrefix']; return this; } Map toJson() => super.toJson()..addAll({ 'ReferencePrefix': ReferencePrefix }); getTypeName() => "SetupIntentPaymentMethodOptionsSepaDebitMandateOptions"; TypeContext? context = _ctx; } class SetupIntentPaymentMethodOptionsSepaDebit extends StripeEntity1 implements IConvertible { SetupIntentPaymentMethodOptionsSepaDebitMandateOptions? MandateOptions; SetupIntentPaymentMethodOptionsSepaDebit({this.MandateOptions}); SetupIntentPaymentMethodOptionsSepaDebit.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); MandateOptions = JsonConverters.fromJson(json['MandateOptions'],'SetupIntentPaymentMethodOptionsSepaDebitMandateOptions',context!); return this; } Map toJson() => super.toJson()..addAll({ 'MandateOptions': JsonConverters.toJson(MandateOptions,'SetupIntentPaymentMethodOptionsSepaDebitMandateOptions',context!) }); getTypeName() => "SetupIntentPaymentMethodOptionsSepaDebit"; TypeContext? context = _ctx; } class SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters extends StripeEntity1 implements IConvertible { List? AccountSubcategories; SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters({this.AccountSubcategories}); SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); AccountSubcategories = JsonConverters.fromJson(json['AccountSubcategories'],'List',context!); return this; } Map toJson() => super.toJson()..addAll({ 'AccountSubcategories': JsonConverters.toJson(AccountSubcategories,'List',context!) }); getTypeName() => "SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters"; TypeContext? context = _ctx; } class SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnections extends StripeEntity1 implements IConvertible { SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters? Filters; List? Permissions; List? Prefetch; String? ReturnUrl; SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnections({this.Filters,this.Permissions,this.Prefetch,this.ReturnUrl}); SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnections.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Filters = JsonConverters.fromJson(json['Filters'],'SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters',context!); Permissions = JsonConverters.fromJson(json['Permissions'],'List',context!); Prefetch = JsonConverters.fromJson(json['Prefetch'],'List',context!); ReturnUrl = json['ReturnUrl']; return this; } Map toJson() => super.toJson()..addAll({ 'Filters': JsonConverters.toJson(Filters,'SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters',context!), 'Permissions': JsonConverters.toJson(Permissions,'List',context!), 'Prefetch': JsonConverters.toJson(Prefetch,'List',context!), 'ReturnUrl': ReturnUrl }); getTypeName() => "SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnections"; TypeContext? context = _ctx; } class SetupIntentPaymentMethodOptionsUsBankAccountMandateOptions extends StripeEntity1 implements IConvertible { String? CollectionMethod; SetupIntentPaymentMethodOptionsUsBankAccountMandateOptions({this.CollectionMethod}); SetupIntentPaymentMethodOptionsUsBankAccountMandateOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CollectionMethod = json['CollectionMethod']; return this; } Map toJson() => super.toJson()..addAll({ 'CollectionMethod': CollectionMethod }); getTypeName() => "SetupIntentPaymentMethodOptionsUsBankAccountMandateOptions"; TypeContext? context = _ctx; } class SetupIntentPaymentMethodOptionsUsBankAccount extends StripeEntity1 implements IConvertible { SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnections? FinancialConnections; SetupIntentPaymentMethodOptionsUsBankAccountMandateOptions? MandateOptions; String? VerificationMethod; SetupIntentPaymentMethodOptionsUsBankAccount({this.FinancialConnections,this.MandateOptions,this.VerificationMethod}); SetupIntentPaymentMethodOptionsUsBankAccount.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); FinancialConnections = JsonConverters.fromJson(json['FinancialConnections'],'SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnections',context!); MandateOptions = JsonConverters.fromJson(json['MandateOptions'],'SetupIntentPaymentMethodOptionsUsBankAccountMandateOptions',context!); VerificationMethod = json['VerificationMethod']; return this; } Map toJson() => super.toJson()..addAll({ 'FinancialConnections': JsonConverters.toJson(FinancialConnections,'SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnections',context!), 'MandateOptions': JsonConverters.toJson(MandateOptions,'SetupIntentPaymentMethodOptionsUsBankAccountMandateOptions',context!), 'VerificationMethod': VerificationMethod }); getTypeName() => "SetupIntentPaymentMethodOptionsUsBankAccount"; TypeContext? context = _ctx; } class SetupIntentPaymentMethodOptions extends StripeEntity1 implements IConvertible { SetupIntentPaymentMethodOptionsAcssDebit? AcssDebit; SetupIntentPaymentMethodOptionsAmazonPay? AmazonPay; SetupIntentPaymentMethodOptionsBacsDebit? BacsDebit; SetupIntentPaymentMethodOptionsCard? Card; SetupIntentPaymentMethodOptionsCardPresent? CardPresent; SetupIntentPaymentMethodOptionsLink? Link; SetupIntentPaymentMethodOptionsPaypal? Paypal; SetupIntentPaymentMethodOptionsSepaDebit? SepaDebit; SetupIntentPaymentMethodOptionsUsBankAccount? UsBankAccount; SetupIntentPaymentMethodOptions({this.AcssDebit,this.AmazonPay,this.BacsDebit,this.Card,this.CardPresent,this.Link,this.Paypal,this.SepaDebit,this.UsBankAccount}); SetupIntentPaymentMethodOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); AcssDebit = JsonConverters.fromJson(json['AcssDebit'],'SetupIntentPaymentMethodOptionsAcssDebit',context!); AmazonPay = JsonConverters.fromJson(json['AmazonPay'],'SetupIntentPaymentMethodOptionsAmazonPay',context!); BacsDebit = JsonConverters.fromJson(json['BacsDebit'],'SetupIntentPaymentMethodOptionsBacsDebit',context!); Card = JsonConverters.fromJson(json['Card'],'SetupIntentPaymentMethodOptionsCard',context!); CardPresent = JsonConverters.fromJson(json['CardPresent'],'SetupIntentPaymentMethodOptionsCardPresent',context!); Link = JsonConverters.fromJson(json['Link'],'SetupIntentPaymentMethodOptionsLink',context!); Paypal = JsonConverters.fromJson(json['Paypal'],'SetupIntentPaymentMethodOptionsPaypal',context!); SepaDebit = JsonConverters.fromJson(json['SepaDebit'],'SetupIntentPaymentMethodOptionsSepaDebit',context!); UsBankAccount = JsonConverters.fromJson(json['UsBankAccount'],'SetupIntentPaymentMethodOptionsUsBankAccount',context!); return this; } Map toJson() => super.toJson()..addAll({ 'AcssDebit': JsonConverters.toJson(AcssDebit,'SetupIntentPaymentMethodOptionsAcssDebit',context!), 'AmazonPay': JsonConverters.toJson(AmazonPay,'SetupIntentPaymentMethodOptionsAmazonPay',context!), 'BacsDebit': JsonConverters.toJson(BacsDebit,'SetupIntentPaymentMethodOptionsBacsDebit',context!), 'Card': JsonConverters.toJson(Card,'SetupIntentPaymentMethodOptionsCard',context!), 'CardPresent': JsonConverters.toJson(CardPresent,'SetupIntentPaymentMethodOptionsCardPresent',context!), 'Link': JsonConverters.toJson(Link,'SetupIntentPaymentMethodOptionsLink',context!), 'Paypal': JsonConverters.toJson(Paypal,'SetupIntentPaymentMethodOptionsPaypal',context!), 'SepaDebit': JsonConverters.toJson(SepaDebit,'SetupIntentPaymentMethodOptionsSepaDebit',context!), 'UsBankAccount': JsonConverters.toJson(UsBankAccount,'SetupIntentPaymentMethodOptionsUsBankAccount',context!) }); getTypeName() => "SetupIntentPaymentMethodOptions"; TypeContext? context = _ctx; } class SetupIntent extends StripeEntity1 implements IHasId, IHasMetadata, IHasObject, IConvertible { String? Id; String? Object; bool AttachToSelf; SetupIntentAutomaticPaymentMethods? AutomaticPaymentMethods; String? CancellationReason; String? ClientSecret; DateTime Created = DateTime(0); String? Description; List? FlowDirections; StripeError? LastSetupError; bool Livemode; Map? Metadata; SetupIntentNextAction? NextAction; SetupIntentPaymentMethodConfigurationDetails? PaymentMethodConfigurationDetails; SetupIntentPaymentMethodOptions? PaymentMethodOptions; List? PaymentMethodTypes; String? Status; String? Usage; SetupIntent({this.Id,this.Object,this.AttachToSelf,this.AutomaticPaymentMethods,this.CancellationReason,this.ClientSecret,this.Created,this.Description,this.FlowDirections,this.LastSetupError,this.Livemode,this.Metadata,this.NextAction,this.PaymentMethodConfigurationDetails,this.PaymentMethodOptions,this.PaymentMethodTypes,this.Status,this.Usage}); SetupIntent.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Id = json['Id']; Object = json['Object']; AttachToSelf = json['AttachToSelf']; AutomaticPaymentMethods = JsonConverters.fromJson(json['AutomaticPaymentMethods'],'SetupIntentAutomaticPaymentMethods',context!); CancellationReason = json['CancellationReason']; ClientSecret = json['ClientSecret']; Created = JsonConverters.fromJson(json['Created'],'DateTime',context!); Description = json['Description']; FlowDirections = JsonConverters.fromJson(json['FlowDirections'],'List',context!); LastSetupError = JsonConverters.fromJson(json['LastSetupError'],'StripeError',context!); Livemode = json['Livemode']; Metadata = JsonConverters.toStringMap(json['Metadata']); NextAction = JsonConverters.fromJson(json['NextAction'],'SetupIntentNextAction',context!); PaymentMethodConfigurationDetails = JsonConverters.fromJson(json['PaymentMethodConfigurationDetails'],'SetupIntentPaymentMethodConfigurationDetails',context!); PaymentMethodOptions = JsonConverters.fromJson(json['PaymentMethodOptions'],'SetupIntentPaymentMethodOptions',context!); PaymentMethodTypes = JsonConverters.fromJson(json['PaymentMethodTypes'],'List',context!); Status = json['Status']; Usage = json['Usage']; return this; } Map toJson() => super.toJson()..addAll({ 'Id': Id, 'Object': Object, 'AttachToSelf': AttachToSelf, 'AutomaticPaymentMethods': JsonConverters.toJson(AutomaticPaymentMethods,'SetupIntentAutomaticPaymentMethods',context!), 'CancellationReason': CancellationReason, 'ClientSecret': ClientSecret, 'Created': JsonConverters.toJson(Created,'DateTime',context!), 'Description': Description, 'FlowDirections': JsonConverters.toJson(FlowDirections,'List',context!), 'LastSetupError': JsonConverters.toJson(LastSetupError,'StripeError',context!), 'Livemode': Livemode, 'Metadata': Metadata, 'NextAction': JsonConverters.toJson(NextAction,'SetupIntentNextAction',context!), 'PaymentMethodConfigurationDetails': JsonConverters.toJson(PaymentMethodConfigurationDetails,'SetupIntentPaymentMethodConfigurationDetails',context!), 'PaymentMethodOptions': JsonConverters.toJson(PaymentMethodOptions,'SetupIntentPaymentMethodOptions',context!), 'PaymentMethodTypes': JsonConverters.toJson(PaymentMethodTypes,'List',context!), 'Status': Status, 'Usage': Usage }); getTypeName() => "SetupIntent"; TypeContext? context = _ctx; } abstract class IPaymentSource extends IStripeEntity, IHasId, IHasObject { } class StripeError extends StripeEntity1 implements IConvertible { String? Charge; String? Code; String? DeclineCode; String? DocUrl; String? Message; String? Param; PaymentIntent? PaymentIntent; PaymentMethod? PaymentMethod; String? PaymentMethodType; String? RequestLogUrl; SetupIntent? SetupIntent; IPaymentSource? Source; String? Type; String? Error; String? ErrorDescription; StripeError({this.Charge,this.Code,this.DeclineCode,this.DocUrl,this.Message,this.Param,this.PaymentIntent,this.PaymentMethod,this.PaymentMethodType,this.RequestLogUrl,this.SetupIntent,this.Source,this.Type,this.Error,this.ErrorDescription}); StripeError.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Charge = json['Charge']; Code = json['Code']; DeclineCode = json['DeclineCode']; DocUrl = json['DocUrl']; Message = json['Message']; Param = json['Param']; PaymentIntent = JsonConverters.fromJson(json['PaymentIntent'],'PaymentIntent',context!); PaymentMethod = JsonConverters.fromJson(json['PaymentMethod'],'PaymentMethod',context!); PaymentMethodType = json['PaymentMethodType']; RequestLogUrl = json['RequestLogUrl']; SetupIntent = JsonConverters.fromJson(json['SetupIntent'],'SetupIntent',context!); Source = JsonConverters.fromJson(json['Source'],'IPaymentSource',context!); Type = json['Type']; Error = json['Error']; ErrorDescription = json['ErrorDescription']; return this; } Map toJson() => super.toJson()..addAll({ 'Charge': Charge, 'Code': Code, 'DeclineCode': DeclineCode, 'DocUrl': DocUrl, 'Message': Message, 'Param': Param, 'PaymentIntent': JsonConverters.toJson(PaymentIntent,'PaymentIntent',context!), 'PaymentMethod': JsonConverters.toJson(PaymentMethod,'PaymentMethod',context!), 'PaymentMethodType': PaymentMethodType, 'RequestLogUrl': RequestLogUrl, 'SetupIntent': JsonConverters.toJson(SetupIntent,'SetupIntent',context!), 'Source': JsonConverters.toJson(Source,'IPaymentSource',context!), 'Type': Type, 'Error': Error, 'ErrorDescription': ErrorDescription }); getTypeName() => "StripeError"; TypeContext? context = _ctx; } class PaymentIntentNextActionAlipayHandleRedirect extends StripeEntity1 implements IConvertible { String? NativeData; String? NativeUrl; String? ReturnUrl; String? Url; PaymentIntentNextActionAlipayHandleRedirect({this.NativeData,this.NativeUrl,this.ReturnUrl,this.Url}); PaymentIntentNextActionAlipayHandleRedirect.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); NativeData = json['NativeData']; NativeUrl = json['NativeUrl']; ReturnUrl = json['ReturnUrl']; Url = json['Url']; return this; } Map toJson() => super.toJson()..addAll({ 'NativeData': NativeData, 'NativeUrl': NativeUrl, 'ReturnUrl': ReturnUrl, 'Url': Url }); getTypeName() => "PaymentIntentNextActionAlipayHandleRedirect"; TypeContext? context = _ctx; } class PaymentIntentNextActionBoletoDisplayDetails extends StripeEntity1 implements IConvertible { DateTime? ExpiresAt; String? HostedVoucherUrl; String? Number; String? Pdf; PaymentIntentNextActionBoletoDisplayDetails({this.ExpiresAt,this.HostedVoucherUrl,this.Number,this.Pdf}); PaymentIntentNextActionBoletoDisplayDetails.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ExpiresAt = JsonConverters.fromJson(json['ExpiresAt'],'DateTime',context!); HostedVoucherUrl = json['HostedVoucherUrl']; Number = json['Number']; Pdf = json['Pdf']; return this; } Map toJson() => super.toJson()..addAll({ 'ExpiresAt': JsonConverters.toJson(ExpiresAt,'DateTime',context!), 'HostedVoucherUrl': HostedVoucherUrl, 'Number': Number, 'Pdf': Pdf }); getTypeName() => "PaymentIntentNextActionBoletoDisplayDetails"; TypeContext? context = _ctx; } class PaymentIntentNextActionCardAwaitNotification extends StripeEntity1 implements IConvertible { DateTime? ChargeAttemptAt; bool? CustomerApprovalRequired; PaymentIntentNextActionCardAwaitNotification({this.ChargeAttemptAt,this.CustomerApprovalRequired}); PaymentIntentNextActionCardAwaitNotification.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ChargeAttemptAt = JsonConverters.fromJson(json['ChargeAttemptAt'],'DateTime',context!); CustomerApprovalRequired = json['CustomerApprovalRequired']; return this; } Map toJson() => super.toJson()..addAll({ 'ChargeAttemptAt': JsonConverters.toJson(ChargeAttemptAt,'DateTime',context!), 'CustomerApprovalRequired': CustomerApprovalRequired }); getTypeName() => "PaymentIntentNextActionCardAwaitNotification"; TypeContext? context = _ctx; } class PaymentIntentNextActionCashappHandleRedirectOrDisplayQrCodeQrCode extends StripeEntity1 implements IConvertible { DateTime ExpiresAt = DateTime(0); String? ImageUrlPng; String? ImageUrlSvg; PaymentIntentNextActionCashappHandleRedirectOrDisplayQrCodeQrCode({this.ExpiresAt,this.ImageUrlPng,this.ImageUrlSvg}); PaymentIntentNextActionCashappHandleRedirectOrDisplayQrCodeQrCode.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ExpiresAt = JsonConverters.fromJson(json['ExpiresAt'],'DateTime',context!); ImageUrlPng = json['ImageUrlPng']; ImageUrlSvg = json['ImageUrlSvg']; return this; } Map toJson() => super.toJson()..addAll({ 'ExpiresAt': JsonConverters.toJson(ExpiresAt,'DateTime',context!), 'ImageUrlPng': ImageUrlPng, 'ImageUrlSvg': ImageUrlSvg }); getTypeName() => "PaymentIntentNextActionCashappHandleRedirectOrDisplayQrCodeQrCode"; TypeContext? context = _ctx; } class PaymentIntentNextActionCashappHandleRedirectOrDisplayQrCode extends StripeEntity1 implements IConvertible { String? HostedInstructionsUrl; String? MobileAuthUrl; PaymentIntentNextActionCashappHandleRedirectOrDisplayQrCodeQrCode? QrCode; PaymentIntentNextActionCashappHandleRedirectOrDisplayQrCode({this.HostedInstructionsUrl,this.MobileAuthUrl,this.QrCode}); PaymentIntentNextActionCashappHandleRedirectOrDisplayQrCode.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); HostedInstructionsUrl = json['HostedInstructionsUrl']; MobileAuthUrl = json['MobileAuthUrl']; QrCode = JsonConverters.fromJson(json['QrCode'],'PaymentIntentNextActionCashappHandleRedirectOrDisplayQrCodeQrCode',context!); return this; } Map toJson() => super.toJson()..addAll({ 'HostedInstructionsUrl': HostedInstructionsUrl, 'MobileAuthUrl': MobileAuthUrl, 'QrCode': JsonConverters.toJson(QrCode,'PaymentIntentNextActionCashappHandleRedirectOrDisplayQrCodeQrCode',context!) }); getTypeName() => "PaymentIntentNextActionCashappHandleRedirectOrDisplayQrCode"; TypeContext? context = _ctx; } class PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressAba extends StripeEntity1 implements IConvertible { Address? AccountHolderAddress; String? AccountHolderName; String? AccountNumber; String? AccountType; Address? BankAddress; String? BankName; String? RoutingNumber; PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressAba({this.AccountHolderAddress,this.AccountHolderName,this.AccountNumber,this.AccountType,this.BankAddress,this.BankName,this.RoutingNumber}); PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressAba.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); AccountHolderAddress = JsonConverters.fromJson(json['AccountHolderAddress'],'Address',context!); AccountHolderName = json['AccountHolderName']; AccountNumber = json['AccountNumber']; AccountType = json['AccountType']; BankAddress = JsonConverters.fromJson(json['BankAddress'],'Address',context!); BankName = json['BankName']; RoutingNumber = json['RoutingNumber']; return this; } Map toJson() => super.toJson()..addAll({ 'AccountHolderAddress': JsonConverters.toJson(AccountHolderAddress,'Address',context!), 'AccountHolderName': AccountHolderName, 'AccountNumber': AccountNumber, 'AccountType': AccountType, 'BankAddress': JsonConverters.toJson(BankAddress,'Address',context!), 'BankName': BankName, 'RoutingNumber': RoutingNumber }); getTypeName() => "PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressAba"; TypeContext? context = _ctx; } class PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressIban extends StripeEntity1 implements IConvertible { Address? AccountHolderAddress; String? AccountHolderName; Address? BankAddress; String? Bic; String? Country; String? Iban; PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressIban({this.AccountHolderAddress,this.AccountHolderName,this.BankAddress,this.Bic,this.Country,this.Iban}); PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressIban.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); AccountHolderAddress = JsonConverters.fromJson(json['AccountHolderAddress'],'Address',context!); AccountHolderName = json['AccountHolderName']; BankAddress = JsonConverters.fromJson(json['BankAddress'],'Address',context!); Bic = json['Bic']; Country = json['Country']; Iban = json['Iban']; return this; } Map toJson() => super.toJson()..addAll({ 'AccountHolderAddress': JsonConverters.toJson(AccountHolderAddress,'Address',context!), 'AccountHolderName': AccountHolderName, 'BankAddress': JsonConverters.toJson(BankAddress,'Address',context!), 'Bic': Bic, 'Country': Country, 'Iban': Iban }); getTypeName() => "PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressIban"; TypeContext? context = _ctx; } class PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSortCode extends StripeEntity1 implements IConvertible { Address? AccountHolderAddress; String? AccountHolderName; String? AccountNumber; Address? BankAddress; String? SortCode; PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSortCode({this.AccountHolderAddress,this.AccountHolderName,this.AccountNumber,this.BankAddress,this.SortCode}); PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSortCode.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); AccountHolderAddress = JsonConverters.fromJson(json['AccountHolderAddress'],'Address',context!); AccountHolderName = json['AccountHolderName']; AccountNumber = json['AccountNumber']; BankAddress = JsonConverters.fromJson(json['BankAddress'],'Address',context!); SortCode = json['SortCode']; return this; } Map toJson() => super.toJson()..addAll({ 'AccountHolderAddress': JsonConverters.toJson(AccountHolderAddress,'Address',context!), 'AccountHolderName': AccountHolderName, 'AccountNumber': AccountNumber, 'BankAddress': JsonConverters.toJson(BankAddress,'Address',context!), 'SortCode': SortCode }); getTypeName() => "PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSortCode"; TypeContext? context = _ctx; } class PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSpei extends StripeEntity1 implements IConvertible { Address? AccountHolderAddress; String? AccountHolderName; Address? BankAddress; String? BankCode; String? BankName; String? Clabe; PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSpei({this.AccountHolderAddress,this.AccountHolderName,this.BankAddress,this.BankCode,this.BankName,this.Clabe}); PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSpei.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); AccountHolderAddress = JsonConverters.fromJson(json['AccountHolderAddress'],'Address',context!); AccountHolderName = json['AccountHolderName']; BankAddress = JsonConverters.fromJson(json['BankAddress'],'Address',context!); BankCode = json['BankCode']; BankName = json['BankName']; Clabe = json['Clabe']; return this; } Map toJson() => super.toJson()..addAll({ 'AccountHolderAddress': JsonConverters.toJson(AccountHolderAddress,'Address',context!), 'AccountHolderName': AccountHolderName, 'BankAddress': JsonConverters.toJson(BankAddress,'Address',context!), 'BankCode': BankCode, 'BankName': BankName, 'Clabe': Clabe }); getTypeName() => "PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSpei"; TypeContext? context = _ctx; } class PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSwift extends StripeEntity1 implements IConvertible { Address? AccountHolderAddress; String? AccountHolderName; String? AccountNumber; String? AccountType; Address? BankAddress; String? BankName; String? SwiftCode; PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSwift({this.AccountHolderAddress,this.AccountHolderName,this.AccountNumber,this.AccountType,this.BankAddress,this.BankName,this.SwiftCode}); PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSwift.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); AccountHolderAddress = JsonConverters.fromJson(json['AccountHolderAddress'],'Address',context!); AccountHolderName = json['AccountHolderName']; AccountNumber = json['AccountNumber']; AccountType = json['AccountType']; BankAddress = JsonConverters.fromJson(json['BankAddress'],'Address',context!); BankName = json['BankName']; SwiftCode = json['SwiftCode']; return this; } Map toJson() => super.toJson()..addAll({ 'AccountHolderAddress': JsonConverters.toJson(AccountHolderAddress,'Address',context!), 'AccountHolderName': AccountHolderName, 'AccountNumber': AccountNumber, 'AccountType': AccountType, 'BankAddress': JsonConverters.toJson(BankAddress,'Address',context!), 'BankName': BankName, 'SwiftCode': SwiftCode }); getTypeName() => "PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSwift"; TypeContext? context = _ctx; } class PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressZengin extends StripeEntity1 implements IConvertible { Address? AccountHolderAddress; String? AccountHolderName; String? AccountNumber; String? AccountType; Address? BankAddress; String? BankCode; String? BankName; String? BranchCode; String? BranchName; PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressZengin({this.AccountHolderAddress,this.AccountHolderName,this.AccountNumber,this.AccountType,this.BankAddress,this.BankCode,this.BankName,this.BranchCode,this.BranchName}); PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressZengin.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); AccountHolderAddress = JsonConverters.fromJson(json['AccountHolderAddress'],'Address',context!); AccountHolderName = json['AccountHolderName']; AccountNumber = json['AccountNumber']; AccountType = json['AccountType']; BankAddress = JsonConverters.fromJson(json['BankAddress'],'Address',context!); BankCode = json['BankCode']; BankName = json['BankName']; BranchCode = json['BranchCode']; BranchName = json['BranchName']; return this; } Map toJson() => super.toJson()..addAll({ 'AccountHolderAddress': JsonConverters.toJson(AccountHolderAddress,'Address',context!), 'AccountHolderName': AccountHolderName, 'AccountNumber': AccountNumber, 'AccountType': AccountType, 'BankAddress': JsonConverters.toJson(BankAddress,'Address',context!), 'BankCode': BankCode, 'BankName': BankName, 'BranchCode': BranchCode, 'BranchName': BranchName }); getTypeName() => "PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressZengin"; TypeContext? context = _ctx; } class PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddress extends StripeEntity1 implements IConvertible { PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressAba? Aba; PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressIban? Iban; PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSortCode? SortCode; PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSpei? Spei; List? SupportedNetworks; PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSwift? Swift; String? Type; PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressZengin? Zengin; PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddress({this.Aba,this.Iban,this.SortCode,this.Spei,this.SupportedNetworks,this.Swift,this.Type,this.Zengin}); PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddress.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Aba = JsonConverters.fromJson(json['Aba'],'PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressAba',context!); Iban = JsonConverters.fromJson(json['Iban'],'PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressIban',context!); SortCode = JsonConverters.fromJson(json['SortCode'],'PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSortCode',context!); Spei = JsonConverters.fromJson(json['Spei'],'PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSpei',context!); SupportedNetworks = JsonConverters.fromJson(json['SupportedNetworks'],'List',context!); Swift = JsonConverters.fromJson(json['Swift'],'PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSwift',context!); Type = json['Type']; Zengin = JsonConverters.fromJson(json['Zengin'],'PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressZengin',context!); return this; } Map toJson() => super.toJson()..addAll({ 'Aba': JsonConverters.toJson(Aba,'PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressAba',context!), 'Iban': JsonConverters.toJson(Iban,'PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressIban',context!), 'SortCode': JsonConverters.toJson(SortCode,'PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSortCode',context!), 'Spei': JsonConverters.toJson(Spei,'PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSpei',context!), 'SupportedNetworks': JsonConverters.toJson(SupportedNetworks,'List',context!), 'Swift': JsonConverters.toJson(Swift,'PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSwift',context!), 'Type': Type, 'Zengin': JsonConverters.toJson(Zengin,'PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressZengin',context!) }); getTypeName() => "PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddress"; TypeContext? context = _ctx; } class PaymentIntentNextActionDisplayBankTransferInstructions extends StripeEntity1 implements IConvertible { int? AmountRemaining; String? Currency; List? FinancialAddresses; String? HostedInstructionsUrl; String? Reference; String? Type; PaymentIntentNextActionDisplayBankTransferInstructions({this.AmountRemaining,this.Currency,this.FinancialAddresses,this.HostedInstructionsUrl,this.Reference,this.Type}); PaymentIntentNextActionDisplayBankTransferInstructions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); AmountRemaining = json['AmountRemaining']; Currency = json['Currency']; FinancialAddresses = JsonConverters.fromJson(json['FinancialAddresses'],'List',context!); HostedInstructionsUrl = json['HostedInstructionsUrl']; Reference = json['Reference']; Type = json['Type']; return this; } Map toJson() => super.toJson()..addAll({ 'AmountRemaining': AmountRemaining, 'Currency': Currency, 'FinancialAddresses': JsonConverters.toJson(FinancialAddresses,'List',context!), 'HostedInstructionsUrl': HostedInstructionsUrl, 'Reference': Reference, 'Type': Type }); getTypeName() => "PaymentIntentNextActionDisplayBankTransferInstructions"; TypeContext? context = _ctx; } class PaymentIntentNextActionKonbiniDisplayDetailsStoresFamilymart extends StripeEntity1 implements IConvertible { String? ConfirmationNumber; String? PaymentCode; PaymentIntentNextActionKonbiniDisplayDetailsStoresFamilymart({this.ConfirmationNumber,this.PaymentCode}); PaymentIntentNextActionKonbiniDisplayDetailsStoresFamilymart.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ConfirmationNumber = json['ConfirmationNumber']; PaymentCode = json['PaymentCode']; return this; } Map toJson() => super.toJson()..addAll({ 'ConfirmationNumber': ConfirmationNumber, 'PaymentCode': PaymentCode }); getTypeName() => "PaymentIntentNextActionKonbiniDisplayDetailsStoresFamilymart"; TypeContext? context = _ctx; } class PaymentIntentNextActionKonbiniDisplayDetailsStoresLawson extends StripeEntity1 implements IConvertible { String? ConfirmationNumber; String? PaymentCode; PaymentIntentNextActionKonbiniDisplayDetailsStoresLawson({this.ConfirmationNumber,this.PaymentCode}); PaymentIntentNextActionKonbiniDisplayDetailsStoresLawson.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ConfirmationNumber = json['ConfirmationNumber']; PaymentCode = json['PaymentCode']; return this; } Map toJson() => super.toJson()..addAll({ 'ConfirmationNumber': ConfirmationNumber, 'PaymentCode': PaymentCode }); getTypeName() => "PaymentIntentNextActionKonbiniDisplayDetailsStoresLawson"; TypeContext? context = _ctx; } class PaymentIntentNextActionKonbiniDisplayDetailsStoresMinistop extends StripeEntity1 implements IConvertible { String? ConfirmationNumber; String? PaymentCode; PaymentIntentNextActionKonbiniDisplayDetailsStoresMinistop({this.ConfirmationNumber,this.PaymentCode}); PaymentIntentNextActionKonbiniDisplayDetailsStoresMinistop.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ConfirmationNumber = json['ConfirmationNumber']; PaymentCode = json['PaymentCode']; return this; } Map toJson() => super.toJson()..addAll({ 'ConfirmationNumber': ConfirmationNumber, 'PaymentCode': PaymentCode }); getTypeName() => "PaymentIntentNextActionKonbiniDisplayDetailsStoresMinistop"; TypeContext? context = _ctx; } class PaymentIntentNextActionKonbiniDisplayDetailsStoresSeicomart extends StripeEntity1 implements IConvertible { String? ConfirmationNumber; String? PaymentCode; PaymentIntentNextActionKonbiniDisplayDetailsStoresSeicomart({this.ConfirmationNumber,this.PaymentCode}); PaymentIntentNextActionKonbiniDisplayDetailsStoresSeicomart.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ConfirmationNumber = json['ConfirmationNumber']; PaymentCode = json['PaymentCode']; return this; } Map toJson() => super.toJson()..addAll({ 'ConfirmationNumber': ConfirmationNumber, 'PaymentCode': PaymentCode }); getTypeName() => "PaymentIntentNextActionKonbiniDisplayDetailsStoresSeicomart"; TypeContext? context = _ctx; } class PaymentIntentNextActionKonbiniDisplayDetailsStores extends StripeEntity1 implements IConvertible { PaymentIntentNextActionKonbiniDisplayDetailsStoresFamilymart? Familymart; PaymentIntentNextActionKonbiniDisplayDetailsStoresLawson? Lawson; PaymentIntentNextActionKonbiniDisplayDetailsStoresMinistop? Ministop; PaymentIntentNextActionKonbiniDisplayDetailsStoresSeicomart? Seicomart; PaymentIntentNextActionKonbiniDisplayDetailsStores({this.Familymart,this.Lawson,this.Ministop,this.Seicomart}); PaymentIntentNextActionKonbiniDisplayDetailsStores.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Familymart = JsonConverters.fromJson(json['Familymart'],'PaymentIntentNextActionKonbiniDisplayDetailsStoresFamilymart',context!); Lawson = JsonConverters.fromJson(json['Lawson'],'PaymentIntentNextActionKonbiniDisplayDetailsStoresLawson',context!); Ministop = JsonConverters.fromJson(json['Ministop'],'PaymentIntentNextActionKonbiniDisplayDetailsStoresMinistop',context!); Seicomart = JsonConverters.fromJson(json['Seicomart'],'PaymentIntentNextActionKonbiniDisplayDetailsStoresSeicomart',context!); return this; } Map toJson() => super.toJson()..addAll({ 'Familymart': JsonConverters.toJson(Familymart,'PaymentIntentNextActionKonbiniDisplayDetailsStoresFamilymart',context!), 'Lawson': JsonConverters.toJson(Lawson,'PaymentIntentNextActionKonbiniDisplayDetailsStoresLawson',context!), 'Ministop': JsonConverters.toJson(Ministop,'PaymentIntentNextActionKonbiniDisplayDetailsStoresMinistop',context!), 'Seicomart': JsonConverters.toJson(Seicomart,'PaymentIntentNextActionKonbiniDisplayDetailsStoresSeicomart',context!) }); getTypeName() => "PaymentIntentNextActionKonbiniDisplayDetailsStores"; TypeContext? context = _ctx; } class PaymentIntentNextActionKonbiniDisplayDetails extends StripeEntity1 implements IConvertible { DateTime ExpiresAt = DateTime(0); String? HostedVoucherUrl; PaymentIntentNextActionKonbiniDisplayDetailsStores? Stores; PaymentIntentNextActionKonbiniDisplayDetails({this.ExpiresAt,this.HostedVoucherUrl,this.Stores}); PaymentIntentNextActionKonbiniDisplayDetails.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ExpiresAt = JsonConverters.fromJson(json['ExpiresAt'],'DateTime',context!); HostedVoucherUrl = json['HostedVoucherUrl']; Stores = JsonConverters.fromJson(json['Stores'],'PaymentIntentNextActionKonbiniDisplayDetailsStores',context!); return this; } Map toJson() => super.toJson()..addAll({ 'ExpiresAt': JsonConverters.toJson(ExpiresAt,'DateTime',context!), 'HostedVoucherUrl': HostedVoucherUrl, 'Stores': JsonConverters.toJson(Stores,'PaymentIntentNextActionKonbiniDisplayDetailsStores',context!) }); getTypeName() => "PaymentIntentNextActionKonbiniDisplayDetails"; TypeContext? context = _ctx; } class PaymentIntentNextActionMultibancoDisplayDetails extends StripeEntity1 implements IConvertible { String? Entity; DateTime? ExpiresAt; String? HostedVoucherUrl; String? Reference; PaymentIntentNextActionMultibancoDisplayDetails({this.Entity,this.ExpiresAt,this.HostedVoucherUrl,this.Reference}); PaymentIntentNextActionMultibancoDisplayDetails.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Entity = json['Entity']; ExpiresAt = JsonConverters.fromJson(json['ExpiresAt'],'DateTime',context!); HostedVoucherUrl = json['HostedVoucherUrl']; Reference = json['Reference']; return this; } Map toJson() => super.toJson()..addAll({ 'Entity': Entity, 'ExpiresAt': JsonConverters.toJson(ExpiresAt,'DateTime',context!), 'HostedVoucherUrl': HostedVoucherUrl, 'Reference': Reference }); getTypeName() => "PaymentIntentNextActionMultibancoDisplayDetails"; TypeContext? context = _ctx; } class PaymentIntentNextActionOxxoDisplayDetails extends StripeEntity1 implements IConvertible { DateTime? ExpiresAfter; String? HostedVoucherUrl; String? Number; PaymentIntentNextActionOxxoDisplayDetails({this.ExpiresAfter,this.HostedVoucherUrl,this.Number}); PaymentIntentNextActionOxxoDisplayDetails.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ExpiresAfter = JsonConverters.fromJson(json['ExpiresAfter'],'DateTime',context!); HostedVoucherUrl = json['HostedVoucherUrl']; Number = json['Number']; return this; } Map toJson() => super.toJson()..addAll({ 'ExpiresAfter': JsonConverters.toJson(ExpiresAfter,'DateTime',context!), 'HostedVoucherUrl': HostedVoucherUrl, 'Number': Number }); getTypeName() => "PaymentIntentNextActionOxxoDisplayDetails"; TypeContext? context = _ctx; } class PaymentIntentNextActionPaynowDisplayQrCode extends StripeEntity1 implements IConvertible { String? Data; String? HostedInstructionsUrl; String? ImageUrlPng; String? ImageUrlSvg; PaymentIntentNextActionPaynowDisplayQrCode({this.Data,this.HostedInstructionsUrl,this.ImageUrlPng,this.ImageUrlSvg}); PaymentIntentNextActionPaynowDisplayQrCode.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Data = json['Data']; HostedInstructionsUrl = json['HostedInstructionsUrl']; ImageUrlPng = json['ImageUrlPng']; ImageUrlSvg = json['ImageUrlSvg']; return this; } Map toJson() => super.toJson()..addAll({ 'Data': Data, 'HostedInstructionsUrl': HostedInstructionsUrl, 'ImageUrlPng': ImageUrlPng, 'ImageUrlSvg': ImageUrlSvg }); getTypeName() => "PaymentIntentNextActionPaynowDisplayQrCode"; TypeContext? context = _ctx; } class PaymentIntentNextActionPixDisplayQrCode extends StripeEntity1 implements IConvertible { String? Data; DateTime ExpiresAt = DateTime(0); String? HostedInstructionsUrl; String? ImageUrlPng; String? ImageUrlSvg; PaymentIntentNextActionPixDisplayQrCode({this.Data,this.ExpiresAt,this.HostedInstructionsUrl,this.ImageUrlPng,this.ImageUrlSvg}); PaymentIntentNextActionPixDisplayQrCode.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Data = json['Data']; ExpiresAt = JsonConverters.fromJson(json['ExpiresAt'],'DateTime',context!); HostedInstructionsUrl = json['HostedInstructionsUrl']; ImageUrlPng = json['ImageUrlPng']; ImageUrlSvg = json['ImageUrlSvg']; return this; } Map toJson() => super.toJson()..addAll({ 'Data': Data, 'ExpiresAt': JsonConverters.toJson(ExpiresAt,'DateTime',context!), 'HostedInstructionsUrl': HostedInstructionsUrl, 'ImageUrlPng': ImageUrlPng, 'ImageUrlSvg': ImageUrlSvg }); getTypeName() => "PaymentIntentNextActionPixDisplayQrCode"; TypeContext? context = _ctx; } class PaymentIntentNextActionPromptpayDisplayQrCode extends StripeEntity1 implements IConvertible { String? Data; String? HostedInstructionsUrl; String? ImageUrlPng; String? ImageUrlSvg; PaymentIntentNextActionPromptpayDisplayQrCode({this.Data,this.HostedInstructionsUrl,this.ImageUrlPng,this.ImageUrlSvg}); PaymentIntentNextActionPromptpayDisplayQrCode.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Data = json['Data']; HostedInstructionsUrl = json['HostedInstructionsUrl']; ImageUrlPng = json['ImageUrlPng']; ImageUrlSvg = json['ImageUrlSvg']; return this; } Map toJson() => super.toJson()..addAll({ 'Data': Data, 'HostedInstructionsUrl': HostedInstructionsUrl, 'ImageUrlPng': ImageUrlPng, 'ImageUrlSvg': ImageUrlSvg }); getTypeName() => "PaymentIntentNextActionPromptpayDisplayQrCode"; TypeContext? context = _ctx; } class PaymentIntentNextActionRedirectToUrl extends StripeEntity1 implements IConvertible { String? ReturnUrl; String? Url; PaymentIntentNextActionRedirectToUrl({this.ReturnUrl,this.Url}); PaymentIntentNextActionRedirectToUrl.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ReturnUrl = json['ReturnUrl']; Url = json['Url']; return this; } Map toJson() => super.toJson()..addAll({ 'ReturnUrl': ReturnUrl, 'Url': Url }); getTypeName() => "PaymentIntentNextActionRedirectToUrl"; TypeContext? context = _ctx; } class PaymentIntentNextActionSwishHandleRedirectOrDisplayQrCodeQrCode extends StripeEntity1 implements IConvertible { String? Data; String? ImageUrlPng; String? ImageUrlSvg; PaymentIntentNextActionSwishHandleRedirectOrDisplayQrCodeQrCode({this.Data,this.ImageUrlPng,this.ImageUrlSvg}); PaymentIntentNextActionSwishHandleRedirectOrDisplayQrCodeQrCode.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Data = json['Data']; ImageUrlPng = json['ImageUrlPng']; ImageUrlSvg = json['ImageUrlSvg']; return this; } Map toJson() => super.toJson()..addAll({ 'Data': Data, 'ImageUrlPng': ImageUrlPng, 'ImageUrlSvg': ImageUrlSvg }); getTypeName() => "PaymentIntentNextActionSwishHandleRedirectOrDisplayQrCodeQrCode"; TypeContext? context = _ctx; } class PaymentIntentNextActionSwishHandleRedirectOrDisplayQrCode extends StripeEntity1 implements IConvertible { String? HostedInstructionsUrl; String? MobileAuthUrl; PaymentIntentNextActionSwishHandleRedirectOrDisplayQrCodeQrCode? QrCode; PaymentIntentNextActionSwishHandleRedirectOrDisplayQrCode({this.HostedInstructionsUrl,this.MobileAuthUrl,this.QrCode}); PaymentIntentNextActionSwishHandleRedirectOrDisplayQrCode.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); HostedInstructionsUrl = json['HostedInstructionsUrl']; MobileAuthUrl = json['MobileAuthUrl']; QrCode = JsonConverters.fromJson(json['QrCode'],'PaymentIntentNextActionSwishHandleRedirectOrDisplayQrCodeQrCode',context!); return this; } Map toJson() => super.toJson()..addAll({ 'HostedInstructionsUrl': HostedInstructionsUrl, 'MobileAuthUrl': MobileAuthUrl, 'QrCode': JsonConverters.toJson(QrCode,'PaymentIntentNextActionSwishHandleRedirectOrDisplayQrCodeQrCode',context!) }); getTypeName() => "PaymentIntentNextActionSwishHandleRedirectOrDisplayQrCode"; TypeContext? context = _ctx; } class PaymentIntentNextActionUseStripeSdk extends StripeEntity1 implements IConvertible { PaymentIntentNextActionUseStripeSdk(); PaymentIntentNextActionUseStripeSdk.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "PaymentIntentNextActionUseStripeSdk"; TypeContext? context = _ctx; } class PaymentIntentNextActionVerifyWithMicrodeposits extends StripeEntity1 implements IConvertible { DateTime ArrivalDate = DateTime(0); String? HostedVerificationUrl; String? MicrodepositType; PaymentIntentNextActionVerifyWithMicrodeposits({this.ArrivalDate,this.HostedVerificationUrl,this.MicrodepositType}); PaymentIntentNextActionVerifyWithMicrodeposits.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ArrivalDate = JsonConverters.fromJson(json['ArrivalDate'],'DateTime',context!); HostedVerificationUrl = json['HostedVerificationUrl']; MicrodepositType = json['MicrodepositType']; return this; } Map toJson() => super.toJson()..addAll({ 'ArrivalDate': JsonConverters.toJson(ArrivalDate,'DateTime',context!), 'HostedVerificationUrl': HostedVerificationUrl, 'MicrodepositType': MicrodepositType }); getTypeName() => "PaymentIntentNextActionVerifyWithMicrodeposits"; TypeContext? context = _ctx; } class PaymentIntentNextActionWechatPayDisplayQrCode extends StripeEntity1 implements IConvertible { String? Data; String? HostedInstructionsUrl; String? ImageDataUrl; String? ImageUrlPng; String? ImageUrlSvg; PaymentIntentNextActionWechatPayDisplayQrCode({this.Data,this.HostedInstructionsUrl,this.ImageDataUrl,this.ImageUrlPng,this.ImageUrlSvg}); PaymentIntentNextActionWechatPayDisplayQrCode.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Data = json['Data']; HostedInstructionsUrl = json['HostedInstructionsUrl']; ImageDataUrl = json['ImageDataUrl']; ImageUrlPng = json['ImageUrlPng']; ImageUrlSvg = json['ImageUrlSvg']; return this; } Map toJson() => super.toJson()..addAll({ 'Data': Data, 'HostedInstructionsUrl': HostedInstructionsUrl, 'ImageDataUrl': ImageDataUrl, 'ImageUrlPng': ImageUrlPng, 'ImageUrlSvg': ImageUrlSvg }); getTypeName() => "PaymentIntentNextActionWechatPayDisplayQrCode"; TypeContext? context = _ctx; } class PaymentIntentNextActionWechatPayRedirectToAndroidApp extends StripeEntity1 implements IConvertible { String? AppId; String? NonceStr; String? Package; String? PartnerId; String? PrepayId; String? Sign; String? Timestamp; PaymentIntentNextActionWechatPayRedirectToAndroidApp({this.AppId,this.NonceStr,this.Package,this.PartnerId,this.PrepayId,this.Sign,this.Timestamp}); PaymentIntentNextActionWechatPayRedirectToAndroidApp.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); AppId = json['AppId']; NonceStr = json['NonceStr']; Package = json['Package']; PartnerId = json['PartnerId']; PrepayId = json['PrepayId']; Sign = json['Sign']; Timestamp = json['Timestamp']; return this; } Map toJson() => super.toJson()..addAll({ 'AppId': AppId, 'NonceStr': NonceStr, 'Package': Package, 'PartnerId': PartnerId, 'PrepayId': PrepayId, 'Sign': Sign, 'Timestamp': Timestamp }); getTypeName() => "PaymentIntentNextActionWechatPayRedirectToAndroidApp"; TypeContext? context = _ctx; } class PaymentIntentNextActionWechatPayRedirectToIosApp extends StripeEntity1 implements IConvertible { String? NativeUrl; PaymentIntentNextActionWechatPayRedirectToIosApp({this.NativeUrl}); PaymentIntentNextActionWechatPayRedirectToIosApp.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); NativeUrl = json['NativeUrl']; return this; } Map toJson() => super.toJson()..addAll({ 'NativeUrl': NativeUrl }); getTypeName() => "PaymentIntentNextActionWechatPayRedirectToIosApp"; TypeContext? context = _ctx; } class PaymentIntentNextAction extends StripeEntity1 implements IConvertible { PaymentIntentNextActionAlipayHandleRedirect? AlipayHandleRedirect; PaymentIntentNextActionBoletoDisplayDetails? BoletoDisplayDetails; PaymentIntentNextActionCardAwaitNotification? CardAwaitNotification; PaymentIntentNextActionCashappHandleRedirectOrDisplayQrCode? CashappHandleRedirectOrDisplayQrCode; PaymentIntentNextActionDisplayBankTransferInstructions? DisplayBankTransferInstructions; PaymentIntentNextActionKonbiniDisplayDetails? KonbiniDisplayDetails; PaymentIntentNextActionMultibancoDisplayDetails? MultibancoDisplayDetails; PaymentIntentNextActionOxxoDisplayDetails? OxxoDisplayDetails; PaymentIntentNextActionPaynowDisplayQrCode? PaynowDisplayQrCode; PaymentIntentNextActionPixDisplayQrCode? PixDisplayQrCode; PaymentIntentNextActionPromptpayDisplayQrCode? PromptpayDisplayQrCode; PaymentIntentNextActionRedirectToUrl? RedirectToUrl; PaymentIntentNextActionSwishHandleRedirectOrDisplayQrCode? SwishHandleRedirectOrDisplayQrCode; String? Type; PaymentIntentNextActionUseStripeSdk? UseStripeSdk; PaymentIntentNextActionVerifyWithMicrodeposits? VerifyWithMicrodeposits; PaymentIntentNextActionWechatPayDisplayQrCode? WechatPayDisplayQrCode; PaymentIntentNextActionWechatPayRedirectToAndroidApp? WechatPayRedirectToAndroidApp; PaymentIntentNextActionWechatPayRedirectToIosApp? WechatPayRedirectToIosApp; PaymentIntentNextAction({this.AlipayHandleRedirect,this.BoletoDisplayDetails,this.CardAwaitNotification,this.CashappHandleRedirectOrDisplayQrCode,this.DisplayBankTransferInstructions,this.KonbiniDisplayDetails,this.MultibancoDisplayDetails,this.OxxoDisplayDetails,this.PaynowDisplayQrCode,this.PixDisplayQrCode,this.PromptpayDisplayQrCode,this.RedirectToUrl,this.SwishHandleRedirectOrDisplayQrCode,this.Type,this.UseStripeSdk,this.VerifyWithMicrodeposits,this.WechatPayDisplayQrCode,this.WechatPayRedirectToAndroidApp,this.WechatPayRedirectToIosApp}); PaymentIntentNextAction.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); AlipayHandleRedirect = JsonConverters.fromJson(json['AlipayHandleRedirect'],'PaymentIntentNextActionAlipayHandleRedirect',context!); BoletoDisplayDetails = JsonConverters.fromJson(json['BoletoDisplayDetails'],'PaymentIntentNextActionBoletoDisplayDetails',context!); CardAwaitNotification = JsonConverters.fromJson(json['CardAwaitNotification'],'PaymentIntentNextActionCardAwaitNotification',context!); CashappHandleRedirectOrDisplayQrCode = JsonConverters.fromJson(json['CashappHandleRedirectOrDisplayQrCode'],'PaymentIntentNextActionCashappHandleRedirectOrDisplayQrCode',context!); DisplayBankTransferInstructions = JsonConverters.fromJson(json['DisplayBankTransferInstructions'],'PaymentIntentNextActionDisplayBankTransferInstructions',context!); KonbiniDisplayDetails = JsonConverters.fromJson(json['KonbiniDisplayDetails'],'PaymentIntentNextActionKonbiniDisplayDetails',context!); MultibancoDisplayDetails = JsonConverters.fromJson(json['MultibancoDisplayDetails'],'PaymentIntentNextActionMultibancoDisplayDetails',context!); OxxoDisplayDetails = JsonConverters.fromJson(json['OxxoDisplayDetails'],'PaymentIntentNextActionOxxoDisplayDetails',context!); PaynowDisplayQrCode = JsonConverters.fromJson(json['PaynowDisplayQrCode'],'PaymentIntentNextActionPaynowDisplayQrCode',context!); PixDisplayQrCode = JsonConverters.fromJson(json['PixDisplayQrCode'],'PaymentIntentNextActionPixDisplayQrCode',context!); PromptpayDisplayQrCode = JsonConverters.fromJson(json['PromptpayDisplayQrCode'],'PaymentIntentNextActionPromptpayDisplayQrCode',context!); RedirectToUrl = JsonConverters.fromJson(json['RedirectToUrl'],'PaymentIntentNextActionRedirectToUrl',context!); SwishHandleRedirectOrDisplayQrCode = JsonConverters.fromJson(json['SwishHandleRedirectOrDisplayQrCode'],'PaymentIntentNextActionSwishHandleRedirectOrDisplayQrCode',context!); Type = json['Type']; UseStripeSdk = JsonConverters.fromJson(json['UseStripeSdk'],'PaymentIntentNextActionUseStripeSdk',context!); VerifyWithMicrodeposits = JsonConverters.fromJson(json['VerifyWithMicrodeposits'],'PaymentIntentNextActionVerifyWithMicrodeposits',context!); WechatPayDisplayQrCode = JsonConverters.fromJson(json['WechatPayDisplayQrCode'],'PaymentIntentNextActionWechatPayDisplayQrCode',context!); WechatPayRedirectToAndroidApp = JsonConverters.fromJson(json['WechatPayRedirectToAndroidApp'],'PaymentIntentNextActionWechatPayRedirectToAndroidApp',context!); WechatPayRedirectToIosApp = JsonConverters.fromJson(json['WechatPayRedirectToIosApp'],'PaymentIntentNextActionWechatPayRedirectToIosApp',context!); return this; } Map toJson() => super.toJson()..addAll({ 'AlipayHandleRedirect': JsonConverters.toJson(AlipayHandleRedirect,'PaymentIntentNextActionAlipayHandleRedirect',context!), 'BoletoDisplayDetails': JsonConverters.toJson(BoletoDisplayDetails,'PaymentIntentNextActionBoletoDisplayDetails',context!), 'CardAwaitNotification': JsonConverters.toJson(CardAwaitNotification,'PaymentIntentNextActionCardAwaitNotification',context!), 'CashappHandleRedirectOrDisplayQrCode': JsonConverters.toJson(CashappHandleRedirectOrDisplayQrCode,'PaymentIntentNextActionCashappHandleRedirectOrDisplayQrCode',context!), 'DisplayBankTransferInstructions': JsonConverters.toJson(DisplayBankTransferInstructions,'PaymentIntentNextActionDisplayBankTransferInstructions',context!), 'KonbiniDisplayDetails': JsonConverters.toJson(KonbiniDisplayDetails,'PaymentIntentNextActionKonbiniDisplayDetails',context!), 'MultibancoDisplayDetails': JsonConverters.toJson(MultibancoDisplayDetails,'PaymentIntentNextActionMultibancoDisplayDetails',context!), 'OxxoDisplayDetails': JsonConverters.toJson(OxxoDisplayDetails,'PaymentIntentNextActionOxxoDisplayDetails',context!), 'PaynowDisplayQrCode': JsonConverters.toJson(PaynowDisplayQrCode,'PaymentIntentNextActionPaynowDisplayQrCode',context!), 'PixDisplayQrCode': JsonConverters.toJson(PixDisplayQrCode,'PaymentIntentNextActionPixDisplayQrCode',context!), 'PromptpayDisplayQrCode': JsonConverters.toJson(PromptpayDisplayQrCode,'PaymentIntentNextActionPromptpayDisplayQrCode',context!), 'RedirectToUrl': JsonConverters.toJson(RedirectToUrl,'PaymentIntentNextActionRedirectToUrl',context!), 'SwishHandleRedirectOrDisplayQrCode': JsonConverters.toJson(SwishHandleRedirectOrDisplayQrCode,'PaymentIntentNextActionSwishHandleRedirectOrDisplayQrCode',context!), 'Type': Type, 'UseStripeSdk': JsonConverters.toJson(UseStripeSdk,'PaymentIntentNextActionUseStripeSdk',context!), 'VerifyWithMicrodeposits': JsonConverters.toJson(VerifyWithMicrodeposits,'PaymentIntentNextActionVerifyWithMicrodeposits',context!), 'WechatPayDisplayQrCode': JsonConverters.toJson(WechatPayDisplayQrCode,'PaymentIntentNextActionWechatPayDisplayQrCode',context!), 'WechatPayRedirectToAndroidApp': JsonConverters.toJson(WechatPayRedirectToAndroidApp,'PaymentIntentNextActionWechatPayRedirectToAndroidApp',context!), 'WechatPayRedirectToIosApp': JsonConverters.toJson(WechatPayRedirectToIosApp,'PaymentIntentNextActionWechatPayRedirectToIosApp',context!) }); getTypeName() => "PaymentIntentNextAction"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodConfigurationDetails extends StripeEntity1 implements IHasId, IConvertible { String? Id; String? Parent; PaymentIntentPaymentMethodConfigurationDetails({this.Id,this.Parent}); PaymentIntentPaymentMethodConfigurationDetails.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Id = json['Id']; Parent = json['Parent']; return this; } Map toJson() => super.toJson()..addAll({ 'Id': Id, 'Parent': Parent }); getTypeName() => "PaymentIntentPaymentMethodConfigurationDetails"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsAcssDebitMandateOptions extends StripeEntity1 implements IConvertible { String? CustomMandateUrl; String? IntervalDescription; String? PaymentSchedule; String? TransactionType; PaymentIntentPaymentMethodOptionsAcssDebitMandateOptions({this.CustomMandateUrl,this.IntervalDescription,this.PaymentSchedule,this.TransactionType}); PaymentIntentPaymentMethodOptionsAcssDebitMandateOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CustomMandateUrl = json['CustomMandateUrl']; IntervalDescription = json['IntervalDescription']; PaymentSchedule = json['PaymentSchedule']; TransactionType = json['TransactionType']; return this; } Map toJson() => super.toJson()..addAll({ 'CustomMandateUrl': CustomMandateUrl, 'IntervalDescription': IntervalDescription, 'PaymentSchedule': PaymentSchedule, 'TransactionType': TransactionType }); getTypeName() => "PaymentIntentPaymentMethodOptionsAcssDebitMandateOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsAcssDebit extends StripeEntity1 implements IConvertible { PaymentIntentPaymentMethodOptionsAcssDebitMandateOptions? MandateOptions; String? SetupFutureUsage; String? TargetDate; String? VerificationMethod; PaymentIntentPaymentMethodOptionsAcssDebit({this.MandateOptions,this.SetupFutureUsage,this.TargetDate,this.VerificationMethod}); PaymentIntentPaymentMethodOptionsAcssDebit.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); MandateOptions = JsonConverters.fromJson(json['MandateOptions'],'PaymentIntentPaymentMethodOptionsAcssDebitMandateOptions',context!); SetupFutureUsage = json['SetupFutureUsage']; TargetDate = json['TargetDate']; VerificationMethod = json['VerificationMethod']; return this; } Map toJson() => super.toJson()..addAll({ 'MandateOptions': JsonConverters.toJson(MandateOptions,'PaymentIntentPaymentMethodOptionsAcssDebitMandateOptions',context!), 'SetupFutureUsage': SetupFutureUsage, 'TargetDate': TargetDate, 'VerificationMethod': VerificationMethod }); getTypeName() => "PaymentIntentPaymentMethodOptionsAcssDebit"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsAffirm extends StripeEntity1 implements IConvertible { String? CaptureMethod; String? PreferredLocale; String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsAffirm({this.CaptureMethod,this.PreferredLocale,this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsAffirm.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CaptureMethod = json['CaptureMethod']; PreferredLocale = json['PreferredLocale']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'CaptureMethod': CaptureMethod, 'PreferredLocale': PreferredLocale, 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "PaymentIntentPaymentMethodOptionsAffirm"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsAfterpayClearpay extends StripeEntity1 implements IConvertible { String? CaptureMethod; String? Reference; String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsAfterpayClearpay({this.CaptureMethod,this.Reference,this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsAfterpayClearpay.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CaptureMethod = json['CaptureMethod']; Reference = json['Reference']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'CaptureMethod': CaptureMethod, 'Reference': Reference, 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "PaymentIntentPaymentMethodOptionsAfterpayClearpay"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsAlipay extends StripeEntity1 implements IConvertible { String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsAlipay({this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsAlipay.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "PaymentIntentPaymentMethodOptionsAlipay"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsAlma extends StripeEntity1 implements IConvertible { String? CaptureMethod; PaymentIntentPaymentMethodOptionsAlma({this.CaptureMethod}); PaymentIntentPaymentMethodOptionsAlma.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CaptureMethod = json['CaptureMethod']; return this; } Map toJson() => super.toJson()..addAll({ 'CaptureMethod': CaptureMethod }); getTypeName() => "PaymentIntentPaymentMethodOptionsAlma"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsAmazonPay extends StripeEntity1 implements IConvertible { String? CaptureMethod; String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsAmazonPay({this.CaptureMethod,this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsAmazonPay.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CaptureMethod = json['CaptureMethod']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'CaptureMethod': CaptureMethod, 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "PaymentIntentPaymentMethodOptionsAmazonPay"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsAuBecsDebit extends StripeEntity1 implements IConvertible { String? SetupFutureUsage; String? TargetDate; PaymentIntentPaymentMethodOptionsAuBecsDebit({this.SetupFutureUsage,this.TargetDate}); PaymentIntentPaymentMethodOptionsAuBecsDebit.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); SetupFutureUsage = json['SetupFutureUsage']; TargetDate = json['TargetDate']; return this; } Map toJson() => super.toJson()..addAll({ 'SetupFutureUsage': SetupFutureUsage, 'TargetDate': TargetDate }); getTypeName() => "PaymentIntentPaymentMethodOptionsAuBecsDebit"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsBacsDebitMandateOptions extends StripeEntity1 implements IConvertible { String? ReferencePrefix; PaymentIntentPaymentMethodOptionsBacsDebitMandateOptions({this.ReferencePrefix}); PaymentIntentPaymentMethodOptionsBacsDebitMandateOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ReferencePrefix = json['ReferencePrefix']; return this; } Map toJson() => super.toJson()..addAll({ 'ReferencePrefix': ReferencePrefix }); getTypeName() => "PaymentIntentPaymentMethodOptionsBacsDebitMandateOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsBacsDebit extends StripeEntity1 implements IConvertible { PaymentIntentPaymentMethodOptionsBacsDebitMandateOptions? MandateOptions; String? SetupFutureUsage; String? TargetDate; PaymentIntentPaymentMethodOptionsBacsDebit({this.MandateOptions,this.SetupFutureUsage,this.TargetDate}); PaymentIntentPaymentMethodOptionsBacsDebit.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); MandateOptions = JsonConverters.fromJson(json['MandateOptions'],'PaymentIntentPaymentMethodOptionsBacsDebitMandateOptions',context!); SetupFutureUsage = json['SetupFutureUsage']; TargetDate = json['TargetDate']; return this; } Map toJson() => super.toJson()..addAll({ 'MandateOptions': JsonConverters.toJson(MandateOptions,'PaymentIntentPaymentMethodOptionsBacsDebitMandateOptions',context!), 'SetupFutureUsage': SetupFutureUsage, 'TargetDate': TargetDate }); getTypeName() => "PaymentIntentPaymentMethodOptionsBacsDebit"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsBancontact extends StripeEntity1 implements IConvertible { String? PreferredLanguage; String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsBancontact({this.PreferredLanguage,this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsBancontact.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); PreferredLanguage = json['PreferredLanguage']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'PreferredLanguage': PreferredLanguage, 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "PaymentIntentPaymentMethodOptionsBancontact"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsBlik extends StripeEntity1 implements IConvertible { String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsBlik({this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsBlik.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "PaymentIntentPaymentMethodOptionsBlik"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsBoleto extends StripeEntity1 implements IConvertible { int ExpiresAfterDays = 0; String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsBoleto({this.ExpiresAfterDays,this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsBoleto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ExpiresAfterDays = json['ExpiresAfterDays']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'ExpiresAfterDays': ExpiresAfterDays, 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "PaymentIntentPaymentMethodOptionsBoleto"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsCardInstallmentsPlan extends StripeEntity1 implements IConvertible { int? Count; String? Interval; String? Type; PaymentIntentPaymentMethodOptionsCardInstallmentsPlan({this.Count,this.Interval,this.Type}); PaymentIntentPaymentMethodOptionsCardInstallmentsPlan.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Count = json['Count']; Interval = json['Interval']; Type = json['Type']; return this; } Map toJson() => super.toJson()..addAll({ 'Count': Count, 'Interval': Interval, 'Type': Type }); getTypeName() => "PaymentIntentPaymentMethodOptionsCardInstallmentsPlan"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsCardInstallments extends StripeEntity1 implements IConvertible { List? AvailablePlans; bool Enabled; PaymentIntentPaymentMethodOptionsCardInstallmentsPlan? Plan; PaymentIntentPaymentMethodOptionsCardInstallments({this.AvailablePlans,this.Enabled,this.Plan}); PaymentIntentPaymentMethodOptionsCardInstallments.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); AvailablePlans = JsonConverters.fromJson(json['AvailablePlans'],'List',context!); Enabled = json['Enabled']; Plan = JsonConverters.fromJson(json['Plan'],'PaymentIntentPaymentMethodOptionsCardInstallmentsPlan',context!); return this; } Map toJson() => super.toJson()..addAll({ 'AvailablePlans': JsonConverters.toJson(AvailablePlans,'List',context!), 'Enabled': Enabled, 'Plan': JsonConverters.toJson(Plan,'PaymentIntentPaymentMethodOptionsCardInstallmentsPlan',context!) }); getTypeName() => "PaymentIntentPaymentMethodOptionsCardInstallments"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsCardMandateOptions extends StripeEntity1 implements IConvertible { int Amount = 0; String? AmountType; String? Description; DateTime? EndDate; String? Interval; int? IntervalCount; String? Reference; DateTime StartDate = DateTime(0); List? SupportedTypes; PaymentIntentPaymentMethodOptionsCardMandateOptions({this.Amount,this.AmountType,this.Description,this.EndDate,this.Interval,this.IntervalCount,this.Reference,this.StartDate,this.SupportedTypes}); PaymentIntentPaymentMethodOptionsCardMandateOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Amount = json['Amount']; AmountType = json['AmountType']; Description = json['Description']; EndDate = JsonConverters.fromJson(json['EndDate'],'DateTime',context!); Interval = json['Interval']; IntervalCount = json['IntervalCount']; Reference = json['Reference']; StartDate = JsonConverters.fromJson(json['StartDate'],'DateTime',context!); SupportedTypes = JsonConverters.fromJson(json['SupportedTypes'],'List',context!); return this; } Map toJson() => super.toJson()..addAll({ 'Amount': Amount, 'AmountType': AmountType, 'Description': Description, 'EndDate': JsonConverters.toJson(EndDate,'DateTime',context!), 'Interval': Interval, 'IntervalCount': IntervalCount, 'Reference': Reference, 'StartDate': JsonConverters.toJson(StartDate,'DateTime',context!), 'SupportedTypes': JsonConverters.toJson(SupportedTypes,'List',context!) }); getTypeName() => "PaymentIntentPaymentMethodOptionsCardMandateOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsCard extends StripeEntity1 implements IConvertible { String? CaptureMethod; PaymentIntentPaymentMethodOptionsCardInstallments? Installments; PaymentIntentPaymentMethodOptionsCardMandateOptions? MandateOptions; String? Network; String? RequestExtendedAuthorization; String? RequestIncrementalAuthorization; String? RequestMulticapture; String? RequestOvercapture; String? RequestThreeDSecure; bool RequireCvcRecollection; String? SetupFutureUsage; String? StatementDescriptorSuffixKana; String? StatementDescriptorSuffixKanji; PaymentIntentPaymentMethodOptionsCard({this.CaptureMethod,this.Installments,this.MandateOptions,this.Network,this.RequestExtendedAuthorization,this.RequestIncrementalAuthorization,this.RequestMulticapture,this.RequestOvercapture,this.RequestThreeDSecure,this.RequireCvcRecollection,this.SetupFutureUsage,this.StatementDescriptorSuffixKana,this.StatementDescriptorSuffixKanji}); PaymentIntentPaymentMethodOptionsCard.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CaptureMethod = json['CaptureMethod']; Installments = JsonConverters.fromJson(json['Installments'],'PaymentIntentPaymentMethodOptionsCardInstallments',context!); MandateOptions = JsonConverters.fromJson(json['MandateOptions'],'PaymentIntentPaymentMethodOptionsCardMandateOptions',context!); Network = json['Network']; RequestExtendedAuthorization = json['RequestExtendedAuthorization']; RequestIncrementalAuthorization = json['RequestIncrementalAuthorization']; RequestMulticapture = json['RequestMulticapture']; RequestOvercapture = json['RequestOvercapture']; RequestThreeDSecure = json['RequestThreeDSecure']; RequireCvcRecollection = json['RequireCvcRecollection']; SetupFutureUsage = json['SetupFutureUsage']; StatementDescriptorSuffixKana = json['StatementDescriptorSuffixKana']; StatementDescriptorSuffixKanji = json['StatementDescriptorSuffixKanji']; return this; } Map toJson() => super.toJson()..addAll({ 'CaptureMethod': CaptureMethod, 'Installments': JsonConverters.toJson(Installments,'PaymentIntentPaymentMethodOptionsCardInstallments',context!), 'MandateOptions': JsonConverters.toJson(MandateOptions,'PaymentIntentPaymentMethodOptionsCardMandateOptions',context!), 'Network': Network, 'RequestExtendedAuthorization': RequestExtendedAuthorization, 'RequestIncrementalAuthorization': RequestIncrementalAuthorization, 'RequestMulticapture': RequestMulticapture, 'RequestOvercapture': RequestOvercapture, 'RequestThreeDSecure': RequestThreeDSecure, 'RequireCvcRecollection': RequireCvcRecollection, 'SetupFutureUsage': SetupFutureUsage, 'StatementDescriptorSuffixKana': StatementDescriptorSuffixKana, 'StatementDescriptorSuffixKanji': StatementDescriptorSuffixKanji }); getTypeName() => "PaymentIntentPaymentMethodOptionsCard"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsCardPresentRouting extends StripeEntity1 implements IConvertible { String? RequestedPriority; PaymentIntentPaymentMethodOptionsCardPresentRouting({this.RequestedPriority}); PaymentIntentPaymentMethodOptionsCardPresentRouting.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); RequestedPriority = json['RequestedPriority']; return this; } Map toJson() => super.toJson()..addAll({ 'RequestedPriority': RequestedPriority }); getTypeName() => "PaymentIntentPaymentMethodOptionsCardPresentRouting"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsCardPresent extends StripeEntity1 implements IConvertible { bool? RequestExtendedAuthorization; bool? RequestIncrementalAuthorizationSupport; PaymentIntentPaymentMethodOptionsCardPresentRouting? Routing; PaymentIntentPaymentMethodOptionsCardPresent({this.RequestExtendedAuthorization,this.RequestIncrementalAuthorizationSupport,this.Routing}); PaymentIntentPaymentMethodOptionsCardPresent.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); RequestExtendedAuthorization = json['RequestExtendedAuthorization']; RequestIncrementalAuthorizationSupport = json['RequestIncrementalAuthorizationSupport']; Routing = JsonConverters.fromJson(json['Routing'],'PaymentIntentPaymentMethodOptionsCardPresentRouting',context!); return this; } Map toJson() => super.toJson()..addAll({ 'RequestExtendedAuthorization': RequestExtendedAuthorization, 'RequestIncrementalAuthorizationSupport': RequestIncrementalAuthorizationSupport, 'Routing': JsonConverters.toJson(Routing,'PaymentIntentPaymentMethodOptionsCardPresentRouting',context!) }); getTypeName() => "PaymentIntentPaymentMethodOptionsCardPresent"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsCashapp extends StripeEntity1 implements IConvertible { String? CaptureMethod; String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsCashapp({this.CaptureMethod,this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsCashapp.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CaptureMethod = json['CaptureMethod']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'CaptureMethod': CaptureMethod, 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "PaymentIntentPaymentMethodOptionsCashapp"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer extends StripeEntity1 implements IConvertible { String? Country; PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer({this.Country}); PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Country = json['Country']; return this; } Map toJson() => super.toJson()..addAll({ 'Country': Country }); getTypeName() => "PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransfer extends StripeEntity1 implements IConvertible { PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer? EuBankTransfer; List? RequestedAddressTypes; String? Type; PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransfer({this.EuBankTransfer,this.RequestedAddressTypes,this.Type}); PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransfer.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); EuBankTransfer = JsonConverters.fromJson(json['EuBankTransfer'],'PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer',context!); RequestedAddressTypes = JsonConverters.fromJson(json['RequestedAddressTypes'],'List',context!); Type = json['Type']; return this; } Map toJson() => super.toJson()..addAll({ 'EuBankTransfer': JsonConverters.toJson(EuBankTransfer,'PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer',context!), 'RequestedAddressTypes': JsonConverters.toJson(RequestedAddressTypes,'List',context!), 'Type': Type }); getTypeName() => "PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransfer"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsCustomerBalance extends StripeEntity1 implements IConvertible { PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransfer? BankTransfer; String? FundingType; String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsCustomerBalance({this.BankTransfer,this.FundingType,this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsCustomerBalance.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); BankTransfer = JsonConverters.fromJson(json['BankTransfer'],'PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransfer',context!); FundingType = json['FundingType']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'BankTransfer': JsonConverters.toJson(BankTransfer,'PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransfer',context!), 'FundingType': FundingType, 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "PaymentIntentPaymentMethodOptionsCustomerBalance"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsEps extends StripeEntity1 implements IConvertible { String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsEps({this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsEps.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "PaymentIntentPaymentMethodOptionsEps"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsFpx extends StripeEntity1 implements IConvertible { String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsFpx({this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsFpx.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "PaymentIntentPaymentMethodOptionsFpx"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsGiropay extends StripeEntity1 implements IConvertible { String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsGiropay({this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsGiropay.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "PaymentIntentPaymentMethodOptionsGiropay"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsGrabpay extends StripeEntity1 implements IConvertible { String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsGrabpay({this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsGrabpay.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "PaymentIntentPaymentMethodOptionsGrabpay"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsIdeal extends StripeEntity1 implements IConvertible { String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsIdeal({this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsIdeal.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "PaymentIntentPaymentMethodOptionsIdeal"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsInteracPresent extends StripeEntity1 implements IConvertible { PaymentIntentPaymentMethodOptionsInteracPresent(); PaymentIntentPaymentMethodOptionsInteracPresent.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "PaymentIntentPaymentMethodOptionsInteracPresent"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsKakaoPay extends StripeEntity1 implements IConvertible { String? CaptureMethod; String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsKakaoPay({this.CaptureMethod,this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsKakaoPay.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CaptureMethod = json['CaptureMethod']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'CaptureMethod': CaptureMethod, 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "PaymentIntentPaymentMethodOptionsKakaoPay"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsKlarna extends StripeEntity1 implements IConvertible { String? CaptureMethod; String? PreferredLocale; String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsKlarna({this.CaptureMethod,this.PreferredLocale,this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsKlarna.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CaptureMethod = json['CaptureMethod']; PreferredLocale = json['PreferredLocale']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'CaptureMethod': CaptureMethod, 'PreferredLocale': PreferredLocale, 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "PaymentIntentPaymentMethodOptionsKlarna"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsKonbini extends StripeEntity1 implements IConvertible { String? ConfirmationNumber; int? ExpiresAfterDays; DateTime? ExpiresAt; String? ProductDescription; String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsKonbini({this.ConfirmationNumber,this.ExpiresAfterDays,this.ExpiresAt,this.ProductDescription,this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsKonbini.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ConfirmationNumber = json['ConfirmationNumber']; ExpiresAfterDays = json['ExpiresAfterDays']; ExpiresAt = JsonConverters.fromJson(json['ExpiresAt'],'DateTime',context!); ProductDescription = json['ProductDescription']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'ConfirmationNumber': ConfirmationNumber, 'ExpiresAfterDays': ExpiresAfterDays, 'ExpiresAt': JsonConverters.toJson(ExpiresAt,'DateTime',context!), 'ProductDescription': ProductDescription, 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "PaymentIntentPaymentMethodOptionsKonbini"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsKrCard extends StripeEntity1 implements IConvertible { String? CaptureMethod; String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsKrCard({this.CaptureMethod,this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsKrCard.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CaptureMethod = json['CaptureMethod']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'CaptureMethod': CaptureMethod, 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "PaymentIntentPaymentMethodOptionsKrCard"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsLink extends StripeEntity1 implements IConvertible { String? CaptureMethod; String? PersistentToken; String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsLink({this.CaptureMethod,this.PersistentToken,this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsLink.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CaptureMethod = json['CaptureMethod']; PersistentToken = json['PersistentToken']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'CaptureMethod': CaptureMethod, 'PersistentToken': PersistentToken, 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "PaymentIntentPaymentMethodOptionsLink"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsMobilepay extends StripeEntity1 implements IConvertible { String? CaptureMethod; String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsMobilepay({this.CaptureMethod,this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsMobilepay.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CaptureMethod = json['CaptureMethod']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'CaptureMethod': CaptureMethod, 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "PaymentIntentPaymentMethodOptionsMobilepay"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsMultibanco extends StripeEntity1 implements IConvertible { String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsMultibanco({this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsMultibanco.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "PaymentIntentPaymentMethodOptionsMultibanco"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsNaverPay extends StripeEntity1 implements IConvertible { String? CaptureMethod; String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsNaverPay({this.CaptureMethod,this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsNaverPay.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CaptureMethod = json['CaptureMethod']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'CaptureMethod': CaptureMethod, 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "PaymentIntentPaymentMethodOptionsNaverPay"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsNzBankAccount extends StripeEntity1 implements IConvertible { String? SetupFutureUsage; String? TargetDate; PaymentIntentPaymentMethodOptionsNzBankAccount({this.SetupFutureUsage,this.TargetDate}); PaymentIntentPaymentMethodOptionsNzBankAccount.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); SetupFutureUsage = json['SetupFutureUsage']; TargetDate = json['TargetDate']; return this; } Map toJson() => super.toJson()..addAll({ 'SetupFutureUsage': SetupFutureUsage, 'TargetDate': TargetDate }); getTypeName() => "PaymentIntentPaymentMethodOptionsNzBankAccount"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsOxxo extends StripeEntity1 implements IConvertible { int ExpiresAfterDays = 0; String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsOxxo({this.ExpiresAfterDays,this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsOxxo.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ExpiresAfterDays = json['ExpiresAfterDays']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'ExpiresAfterDays': ExpiresAfterDays, 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "PaymentIntentPaymentMethodOptionsOxxo"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsP24 extends StripeEntity1 implements IConvertible { String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsP24({this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsP24.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "PaymentIntentPaymentMethodOptionsP24"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsPayByBank extends StripeEntity1 implements IConvertible { PaymentIntentPaymentMethodOptionsPayByBank(); PaymentIntentPaymentMethodOptionsPayByBank.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "PaymentIntentPaymentMethodOptionsPayByBank"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsPayco extends StripeEntity1 implements IConvertible { String? CaptureMethod; PaymentIntentPaymentMethodOptionsPayco({this.CaptureMethod}); PaymentIntentPaymentMethodOptionsPayco.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CaptureMethod = json['CaptureMethod']; return this; } Map toJson() => super.toJson()..addAll({ 'CaptureMethod': CaptureMethod }); getTypeName() => "PaymentIntentPaymentMethodOptionsPayco"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsPaynow extends StripeEntity1 implements IConvertible { String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsPaynow({this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsPaynow.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "PaymentIntentPaymentMethodOptionsPaynow"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsPaypal extends StripeEntity1 implements IConvertible { String? CaptureMethod; String? PreferredLocale; String? Reference; String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsPaypal({this.CaptureMethod,this.PreferredLocale,this.Reference,this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsPaypal.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CaptureMethod = json['CaptureMethod']; PreferredLocale = json['PreferredLocale']; Reference = json['Reference']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'CaptureMethod': CaptureMethod, 'PreferredLocale': PreferredLocale, 'Reference': Reference, 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "PaymentIntentPaymentMethodOptionsPaypal"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsPix extends StripeEntity1 implements IConvertible { int? ExpiresAfterSeconds; DateTime? ExpiresAt; String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsPix({this.ExpiresAfterSeconds,this.ExpiresAt,this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsPix.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ExpiresAfterSeconds = json['ExpiresAfterSeconds']; ExpiresAt = JsonConverters.fromJson(json['ExpiresAt'],'DateTime',context!); SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'ExpiresAfterSeconds': ExpiresAfterSeconds, 'ExpiresAt': JsonConverters.toJson(ExpiresAt,'DateTime',context!), 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "PaymentIntentPaymentMethodOptionsPix"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsPromptpay extends StripeEntity1 implements IConvertible { String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsPromptpay({this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsPromptpay.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "PaymentIntentPaymentMethodOptionsPromptpay"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsRevolutPay extends StripeEntity1 implements IConvertible { String? CaptureMethod; String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsRevolutPay({this.CaptureMethod,this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsRevolutPay.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CaptureMethod = json['CaptureMethod']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'CaptureMethod': CaptureMethod, 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "PaymentIntentPaymentMethodOptionsRevolutPay"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsSamsungPay extends StripeEntity1 implements IConvertible { String? CaptureMethod; PaymentIntentPaymentMethodOptionsSamsungPay({this.CaptureMethod}); PaymentIntentPaymentMethodOptionsSamsungPay.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CaptureMethod = json['CaptureMethod']; return this; } Map toJson() => super.toJson()..addAll({ 'CaptureMethod': CaptureMethod }); getTypeName() => "PaymentIntentPaymentMethodOptionsSamsungPay"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsSepaDebitMandateOptions extends StripeEntity1 implements IConvertible { String? ReferencePrefix; PaymentIntentPaymentMethodOptionsSepaDebitMandateOptions({this.ReferencePrefix}); PaymentIntentPaymentMethodOptionsSepaDebitMandateOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ReferencePrefix = json['ReferencePrefix']; return this; } Map toJson() => super.toJson()..addAll({ 'ReferencePrefix': ReferencePrefix }); getTypeName() => "PaymentIntentPaymentMethodOptionsSepaDebitMandateOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsSepaDebit extends StripeEntity1 implements IConvertible { PaymentIntentPaymentMethodOptionsSepaDebitMandateOptions? MandateOptions; String? SetupFutureUsage; String? TargetDate; PaymentIntentPaymentMethodOptionsSepaDebit({this.MandateOptions,this.SetupFutureUsage,this.TargetDate}); PaymentIntentPaymentMethodOptionsSepaDebit.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); MandateOptions = JsonConverters.fromJson(json['MandateOptions'],'PaymentIntentPaymentMethodOptionsSepaDebitMandateOptions',context!); SetupFutureUsage = json['SetupFutureUsage']; TargetDate = json['TargetDate']; return this; } Map toJson() => super.toJson()..addAll({ 'MandateOptions': JsonConverters.toJson(MandateOptions,'PaymentIntentPaymentMethodOptionsSepaDebitMandateOptions',context!), 'SetupFutureUsage': SetupFutureUsage, 'TargetDate': TargetDate }); getTypeName() => "PaymentIntentPaymentMethodOptionsSepaDebit"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsSofort extends StripeEntity1 implements IConvertible { String? PreferredLanguage; String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsSofort({this.PreferredLanguage,this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsSofort.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); PreferredLanguage = json['PreferredLanguage']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'PreferredLanguage': PreferredLanguage, 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "PaymentIntentPaymentMethodOptionsSofort"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsSwish extends StripeEntity1 implements IConvertible { String? Reference; String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsSwish({this.Reference,this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsSwish.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Reference = json['Reference']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'Reference': Reference, 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "PaymentIntentPaymentMethodOptionsSwish"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsTwint extends StripeEntity1 implements IConvertible { String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsTwint({this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsTwint.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "PaymentIntentPaymentMethodOptionsTwint"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters extends StripeEntity1 implements IConvertible { List? AccountSubcategories; PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters({this.AccountSubcategories}); PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); AccountSubcategories = JsonConverters.fromJson(json['AccountSubcategories'],'List',context!); return this; } Map toJson() => super.toJson()..addAll({ 'AccountSubcategories': JsonConverters.toJson(AccountSubcategories,'List',context!) }); getTypeName() => "PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnections extends StripeEntity1 implements IConvertible { PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters? Filters; List? Permissions; List? Prefetch; String? ReturnUrl; PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnections({this.Filters,this.Permissions,this.Prefetch,this.ReturnUrl}); PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnections.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Filters = JsonConverters.fromJson(json['Filters'],'PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters',context!); Permissions = JsonConverters.fromJson(json['Permissions'],'List',context!); Prefetch = JsonConverters.fromJson(json['Prefetch'],'List',context!); ReturnUrl = json['ReturnUrl']; return this; } Map toJson() => super.toJson()..addAll({ 'Filters': JsonConverters.toJson(Filters,'PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters',context!), 'Permissions': JsonConverters.toJson(Permissions,'List',context!), 'Prefetch': JsonConverters.toJson(Prefetch,'List',context!), 'ReturnUrl': ReturnUrl }); getTypeName() => "PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnections"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsUsBankAccountMandateOptions extends StripeEntity1 implements IConvertible { String? CollectionMethod; PaymentIntentPaymentMethodOptionsUsBankAccountMandateOptions({this.CollectionMethod}); PaymentIntentPaymentMethodOptionsUsBankAccountMandateOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CollectionMethod = json['CollectionMethod']; return this; } Map toJson() => super.toJson()..addAll({ 'CollectionMethod': CollectionMethod }); getTypeName() => "PaymentIntentPaymentMethodOptionsUsBankAccountMandateOptions"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsUsBankAccount extends StripeEntity1 implements IConvertible { PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnections? FinancialConnections; PaymentIntentPaymentMethodOptionsUsBankAccountMandateOptions? MandateOptions; String? PreferredSettlementSpeed; String? SetupFutureUsage; String? TargetDate; String? VerificationMethod; PaymentIntentPaymentMethodOptionsUsBankAccount({this.FinancialConnections,this.MandateOptions,this.PreferredSettlementSpeed,this.SetupFutureUsage,this.TargetDate,this.VerificationMethod}); PaymentIntentPaymentMethodOptionsUsBankAccount.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); FinancialConnections = JsonConverters.fromJson(json['FinancialConnections'],'PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnections',context!); MandateOptions = JsonConverters.fromJson(json['MandateOptions'],'PaymentIntentPaymentMethodOptionsUsBankAccountMandateOptions',context!); PreferredSettlementSpeed = json['PreferredSettlementSpeed']; SetupFutureUsage = json['SetupFutureUsage']; TargetDate = json['TargetDate']; VerificationMethod = json['VerificationMethod']; return this; } Map toJson() => super.toJson()..addAll({ 'FinancialConnections': JsonConverters.toJson(FinancialConnections,'PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnections',context!), 'MandateOptions': JsonConverters.toJson(MandateOptions,'PaymentIntentPaymentMethodOptionsUsBankAccountMandateOptions',context!), 'PreferredSettlementSpeed': PreferredSettlementSpeed, 'SetupFutureUsage': SetupFutureUsage, 'TargetDate': TargetDate, 'VerificationMethod': VerificationMethod }); getTypeName() => "PaymentIntentPaymentMethodOptionsUsBankAccount"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsWechatPay extends StripeEntity1 implements IConvertible { String? AppId; String? Client; String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsWechatPay({this.AppId,this.Client,this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsWechatPay.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); AppId = json['AppId']; Client = json['Client']; SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'AppId': AppId, 'Client': Client, 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "PaymentIntentPaymentMethodOptionsWechatPay"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptionsZip extends StripeEntity1 implements IConvertible { String? SetupFutureUsage; PaymentIntentPaymentMethodOptionsZip({this.SetupFutureUsage}); PaymentIntentPaymentMethodOptionsZip.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); SetupFutureUsage = json['SetupFutureUsage']; return this; } Map toJson() => super.toJson()..addAll({ 'SetupFutureUsage': SetupFutureUsage }); getTypeName() => "PaymentIntentPaymentMethodOptionsZip"; TypeContext? context = _ctx; } class PaymentIntentPaymentMethodOptions extends StripeEntity1 implements IConvertible { PaymentIntentPaymentMethodOptionsAcssDebit? AcssDebit; PaymentIntentPaymentMethodOptionsAffirm? Affirm; PaymentIntentPaymentMethodOptionsAfterpayClearpay? AfterpayClearpay; PaymentIntentPaymentMethodOptionsAlipay? Alipay; PaymentIntentPaymentMethodOptionsAlma? Alma; PaymentIntentPaymentMethodOptionsAmazonPay? AmazonPay; PaymentIntentPaymentMethodOptionsAuBecsDebit? AuBecsDebit; PaymentIntentPaymentMethodOptionsBacsDebit? BacsDebit; PaymentIntentPaymentMethodOptionsBancontact? Bancontact; PaymentIntentPaymentMethodOptionsBlik? Blik; PaymentIntentPaymentMethodOptionsBoleto? Boleto; PaymentIntentPaymentMethodOptionsCard? Card; PaymentIntentPaymentMethodOptionsCardPresent? CardPresent; PaymentIntentPaymentMethodOptionsCashapp? Cashapp; PaymentIntentPaymentMethodOptionsCustomerBalance? CustomerBalance; PaymentIntentPaymentMethodOptionsEps? Eps; PaymentIntentPaymentMethodOptionsFpx? Fpx; PaymentIntentPaymentMethodOptionsGiropay? Giropay; PaymentIntentPaymentMethodOptionsGrabpay? Grabpay; PaymentIntentPaymentMethodOptionsIdeal? Ideal; PaymentIntentPaymentMethodOptionsInteracPresent? InteracPresent; PaymentIntentPaymentMethodOptionsKakaoPay? KakaoPay; PaymentIntentPaymentMethodOptionsKlarna? Klarna; PaymentIntentPaymentMethodOptionsKonbini? Konbini; PaymentIntentPaymentMethodOptionsKrCard? KrCard; PaymentIntentPaymentMethodOptionsLink? Link; PaymentIntentPaymentMethodOptionsMobilepay? Mobilepay; PaymentIntentPaymentMethodOptionsMultibanco? Multibanco; PaymentIntentPaymentMethodOptionsNaverPay? NaverPay; PaymentIntentPaymentMethodOptionsNzBankAccount? NzBankAccount; PaymentIntentPaymentMethodOptionsOxxo? Oxxo; PaymentIntentPaymentMethodOptionsP24? P24; PaymentIntentPaymentMethodOptionsPayByBank? PayByBank; PaymentIntentPaymentMethodOptionsPayco? Payco; PaymentIntentPaymentMethodOptionsPaynow? Paynow; PaymentIntentPaymentMethodOptionsPaypal? Paypal; PaymentIntentPaymentMethodOptionsPix? Pix; PaymentIntentPaymentMethodOptionsPromptpay? Promptpay; PaymentIntentPaymentMethodOptionsRevolutPay? RevolutPay; PaymentIntentPaymentMethodOptionsSamsungPay? SamsungPay; PaymentIntentPaymentMethodOptionsSepaDebit? SepaDebit; PaymentIntentPaymentMethodOptionsSofort? Sofort; PaymentIntentPaymentMethodOptionsSwish? Swish; PaymentIntentPaymentMethodOptionsTwint? Twint; PaymentIntentPaymentMethodOptionsUsBankAccount? UsBankAccount; PaymentIntentPaymentMethodOptionsWechatPay? WechatPay; PaymentIntentPaymentMethodOptionsZip? Zip; PaymentIntentPaymentMethodOptions({this.AcssDebit,this.Affirm,this.AfterpayClearpay,this.Alipay,this.Alma,this.AmazonPay,this.AuBecsDebit,this.BacsDebit,this.Bancontact,this.Blik,this.Boleto,this.Card,this.CardPresent,this.Cashapp,this.CustomerBalance,this.Eps,this.Fpx,this.Giropay,this.Grabpay,this.Ideal,this.InteracPresent,this.KakaoPay,this.Klarna,this.Konbini,this.KrCard,this.Link,this.Mobilepay,this.Multibanco,this.NaverPay,this.NzBankAccount,this.Oxxo,this.P24,this.PayByBank,this.Payco,this.Paynow,this.Paypal,this.Pix,this.Promptpay,this.RevolutPay,this.SamsungPay,this.SepaDebit,this.Sofort,this.Swish,this.Twint,this.UsBankAccount,this.WechatPay,this.Zip}); PaymentIntentPaymentMethodOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); AcssDebit = JsonConverters.fromJson(json['AcssDebit'],'PaymentIntentPaymentMethodOptionsAcssDebit',context!); Affirm = JsonConverters.fromJson(json['Affirm'],'PaymentIntentPaymentMethodOptionsAffirm',context!); AfterpayClearpay = JsonConverters.fromJson(json['AfterpayClearpay'],'PaymentIntentPaymentMethodOptionsAfterpayClearpay',context!); Alipay = JsonConverters.fromJson(json['Alipay'],'PaymentIntentPaymentMethodOptionsAlipay',context!); Alma = JsonConverters.fromJson(json['Alma'],'PaymentIntentPaymentMethodOptionsAlma',context!); AmazonPay = JsonConverters.fromJson(json['AmazonPay'],'PaymentIntentPaymentMethodOptionsAmazonPay',context!); AuBecsDebit = JsonConverters.fromJson(json['AuBecsDebit'],'PaymentIntentPaymentMethodOptionsAuBecsDebit',context!); BacsDebit = JsonConverters.fromJson(json['BacsDebit'],'PaymentIntentPaymentMethodOptionsBacsDebit',context!); Bancontact = JsonConverters.fromJson(json['Bancontact'],'PaymentIntentPaymentMethodOptionsBancontact',context!); Blik = JsonConverters.fromJson(json['Blik'],'PaymentIntentPaymentMethodOptionsBlik',context!); Boleto = JsonConverters.fromJson(json['Boleto'],'PaymentIntentPaymentMethodOptionsBoleto',context!); Card = JsonConverters.fromJson(json['Card'],'PaymentIntentPaymentMethodOptionsCard',context!); CardPresent = JsonConverters.fromJson(json['CardPresent'],'PaymentIntentPaymentMethodOptionsCardPresent',context!); Cashapp = JsonConverters.fromJson(json['Cashapp'],'PaymentIntentPaymentMethodOptionsCashapp',context!); CustomerBalance = JsonConverters.fromJson(json['CustomerBalance'],'PaymentIntentPaymentMethodOptionsCustomerBalance',context!); Eps = JsonConverters.fromJson(json['Eps'],'PaymentIntentPaymentMethodOptionsEps',context!); Fpx = JsonConverters.fromJson(json['Fpx'],'PaymentIntentPaymentMethodOptionsFpx',context!); Giropay = JsonConverters.fromJson(json['Giropay'],'PaymentIntentPaymentMethodOptionsGiropay',context!); Grabpay = JsonConverters.fromJson(json['Grabpay'],'PaymentIntentPaymentMethodOptionsGrabpay',context!); Ideal = JsonConverters.fromJson(json['Ideal'],'PaymentIntentPaymentMethodOptionsIdeal',context!); InteracPresent = JsonConverters.fromJson(json['InteracPresent'],'PaymentIntentPaymentMethodOptionsInteracPresent',context!); KakaoPay = JsonConverters.fromJson(json['KakaoPay'],'PaymentIntentPaymentMethodOptionsKakaoPay',context!); Klarna = JsonConverters.fromJson(json['Klarna'],'PaymentIntentPaymentMethodOptionsKlarna',context!); Konbini = JsonConverters.fromJson(json['Konbini'],'PaymentIntentPaymentMethodOptionsKonbini',context!); KrCard = JsonConverters.fromJson(json['KrCard'],'PaymentIntentPaymentMethodOptionsKrCard',context!); Link = JsonConverters.fromJson(json['Link'],'PaymentIntentPaymentMethodOptionsLink',context!); Mobilepay = JsonConverters.fromJson(json['Mobilepay'],'PaymentIntentPaymentMethodOptionsMobilepay',context!); Multibanco = JsonConverters.fromJson(json['Multibanco'],'PaymentIntentPaymentMethodOptionsMultibanco',context!); NaverPay = JsonConverters.fromJson(json['NaverPay'],'PaymentIntentPaymentMethodOptionsNaverPay',context!); NzBankAccount = JsonConverters.fromJson(json['NzBankAccount'],'PaymentIntentPaymentMethodOptionsNzBankAccount',context!); Oxxo = JsonConverters.fromJson(json['Oxxo'],'PaymentIntentPaymentMethodOptionsOxxo',context!); P24 = JsonConverters.fromJson(json['P24'],'PaymentIntentPaymentMethodOptionsP24',context!); PayByBank = JsonConverters.fromJson(json['PayByBank'],'PaymentIntentPaymentMethodOptionsPayByBank',context!); Payco = JsonConverters.fromJson(json['Payco'],'PaymentIntentPaymentMethodOptionsPayco',context!); Paynow = JsonConverters.fromJson(json['Paynow'],'PaymentIntentPaymentMethodOptionsPaynow',context!); Paypal = JsonConverters.fromJson(json['Paypal'],'PaymentIntentPaymentMethodOptionsPaypal',context!); Pix = JsonConverters.fromJson(json['Pix'],'PaymentIntentPaymentMethodOptionsPix',context!); Promptpay = JsonConverters.fromJson(json['Promptpay'],'PaymentIntentPaymentMethodOptionsPromptpay',context!); RevolutPay = JsonConverters.fromJson(json['RevolutPay'],'PaymentIntentPaymentMethodOptionsRevolutPay',context!); SamsungPay = JsonConverters.fromJson(json['SamsungPay'],'PaymentIntentPaymentMethodOptionsSamsungPay',context!); SepaDebit = JsonConverters.fromJson(json['SepaDebit'],'PaymentIntentPaymentMethodOptionsSepaDebit',context!); Sofort = JsonConverters.fromJson(json['Sofort'],'PaymentIntentPaymentMethodOptionsSofort',context!); Swish = JsonConverters.fromJson(json['Swish'],'PaymentIntentPaymentMethodOptionsSwish',context!); Twint = JsonConverters.fromJson(json['Twint'],'PaymentIntentPaymentMethodOptionsTwint',context!); UsBankAccount = JsonConverters.fromJson(json['UsBankAccount'],'PaymentIntentPaymentMethodOptionsUsBankAccount',context!); WechatPay = JsonConverters.fromJson(json['WechatPay'],'PaymentIntentPaymentMethodOptionsWechatPay',context!); Zip = JsonConverters.fromJson(json['Zip'],'PaymentIntentPaymentMethodOptionsZip',context!); return this; } Map toJson() => super.toJson()..addAll({ 'AcssDebit': JsonConverters.toJson(AcssDebit,'PaymentIntentPaymentMethodOptionsAcssDebit',context!), 'Affirm': JsonConverters.toJson(Affirm,'PaymentIntentPaymentMethodOptionsAffirm',context!), 'AfterpayClearpay': JsonConverters.toJson(AfterpayClearpay,'PaymentIntentPaymentMethodOptionsAfterpayClearpay',context!), 'Alipay': JsonConverters.toJson(Alipay,'PaymentIntentPaymentMethodOptionsAlipay',context!), 'Alma': JsonConverters.toJson(Alma,'PaymentIntentPaymentMethodOptionsAlma',context!), 'AmazonPay': JsonConverters.toJson(AmazonPay,'PaymentIntentPaymentMethodOptionsAmazonPay',context!), 'AuBecsDebit': JsonConverters.toJson(AuBecsDebit,'PaymentIntentPaymentMethodOptionsAuBecsDebit',context!), 'BacsDebit': JsonConverters.toJson(BacsDebit,'PaymentIntentPaymentMethodOptionsBacsDebit',context!), 'Bancontact': JsonConverters.toJson(Bancontact,'PaymentIntentPaymentMethodOptionsBancontact',context!), 'Blik': JsonConverters.toJson(Blik,'PaymentIntentPaymentMethodOptionsBlik',context!), 'Boleto': JsonConverters.toJson(Boleto,'PaymentIntentPaymentMethodOptionsBoleto',context!), 'Card': JsonConverters.toJson(Card,'PaymentIntentPaymentMethodOptionsCard',context!), 'CardPresent': JsonConverters.toJson(CardPresent,'PaymentIntentPaymentMethodOptionsCardPresent',context!), 'Cashapp': JsonConverters.toJson(Cashapp,'PaymentIntentPaymentMethodOptionsCashapp',context!), 'CustomerBalance': JsonConverters.toJson(CustomerBalance,'PaymentIntentPaymentMethodOptionsCustomerBalance',context!), 'Eps': JsonConverters.toJson(Eps,'PaymentIntentPaymentMethodOptionsEps',context!), 'Fpx': JsonConverters.toJson(Fpx,'PaymentIntentPaymentMethodOptionsFpx',context!), 'Giropay': JsonConverters.toJson(Giropay,'PaymentIntentPaymentMethodOptionsGiropay',context!), 'Grabpay': JsonConverters.toJson(Grabpay,'PaymentIntentPaymentMethodOptionsGrabpay',context!), 'Ideal': JsonConverters.toJson(Ideal,'PaymentIntentPaymentMethodOptionsIdeal',context!), 'InteracPresent': JsonConverters.toJson(InteracPresent,'PaymentIntentPaymentMethodOptionsInteracPresent',context!), 'KakaoPay': JsonConverters.toJson(KakaoPay,'PaymentIntentPaymentMethodOptionsKakaoPay',context!), 'Klarna': JsonConverters.toJson(Klarna,'PaymentIntentPaymentMethodOptionsKlarna',context!), 'Konbini': JsonConverters.toJson(Konbini,'PaymentIntentPaymentMethodOptionsKonbini',context!), 'KrCard': JsonConverters.toJson(KrCard,'PaymentIntentPaymentMethodOptionsKrCard',context!), 'Link': JsonConverters.toJson(Link,'PaymentIntentPaymentMethodOptionsLink',context!), 'Mobilepay': JsonConverters.toJson(Mobilepay,'PaymentIntentPaymentMethodOptionsMobilepay',context!), 'Multibanco': JsonConverters.toJson(Multibanco,'PaymentIntentPaymentMethodOptionsMultibanco',context!), 'NaverPay': JsonConverters.toJson(NaverPay,'PaymentIntentPaymentMethodOptionsNaverPay',context!), 'NzBankAccount': JsonConverters.toJson(NzBankAccount,'PaymentIntentPaymentMethodOptionsNzBankAccount',context!), 'Oxxo': JsonConverters.toJson(Oxxo,'PaymentIntentPaymentMethodOptionsOxxo',context!), 'P24': JsonConverters.toJson(P24,'PaymentIntentPaymentMethodOptionsP24',context!), 'PayByBank': JsonConverters.toJson(PayByBank,'PaymentIntentPaymentMethodOptionsPayByBank',context!), 'Payco': JsonConverters.toJson(Payco,'PaymentIntentPaymentMethodOptionsPayco',context!), 'Paynow': JsonConverters.toJson(Paynow,'PaymentIntentPaymentMethodOptionsPaynow',context!), 'Paypal': JsonConverters.toJson(Paypal,'PaymentIntentPaymentMethodOptionsPaypal',context!), 'Pix': JsonConverters.toJson(Pix,'PaymentIntentPaymentMethodOptionsPix',context!), 'Promptpay': JsonConverters.toJson(Promptpay,'PaymentIntentPaymentMethodOptionsPromptpay',context!), 'RevolutPay': JsonConverters.toJson(RevolutPay,'PaymentIntentPaymentMethodOptionsRevolutPay',context!), 'SamsungPay': JsonConverters.toJson(SamsungPay,'PaymentIntentPaymentMethodOptionsSamsungPay',context!), 'SepaDebit': JsonConverters.toJson(SepaDebit,'PaymentIntentPaymentMethodOptionsSepaDebit',context!), 'Sofort': JsonConverters.toJson(Sofort,'PaymentIntentPaymentMethodOptionsSofort',context!), 'Swish': JsonConverters.toJson(Swish,'PaymentIntentPaymentMethodOptionsSwish',context!), 'Twint': JsonConverters.toJson(Twint,'PaymentIntentPaymentMethodOptionsTwint',context!), 'UsBankAccount': JsonConverters.toJson(UsBankAccount,'PaymentIntentPaymentMethodOptionsUsBankAccount',context!), 'WechatPay': JsonConverters.toJson(WechatPay,'PaymentIntentPaymentMethodOptionsWechatPay',context!), 'Zip': JsonConverters.toJson(Zip,'PaymentIntentPaymentMethodOptionsZip',context!) }); getTypeName() => "PaymentIntentPaymentMethodOptions"; TypeContext? context = _ctx; } class PaymentIntentPresentmentDetails extends StripeEntity1 implements IConvertible { int PresentmentAmount = 0; String? PresentmentCurrency; PaymentIntentPresentmentDetails({this.PresentmentAmount,this.PresentmentCurrency}); PaymentIntentPresentmentDetails.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); PresentmentAmount = json['PresentmentAmount']; PresentmentCurrency = json['PresentmentCurrency']; return this; } Map toJson() => super.toJson()..addAll({ 'PresentmentAmount': PresentmentAmount, 'PresentmentCurrency': PresentmentCurrency }); getTypeName() => "PaymentIntentPresentmentDetails"; TypeContext? context = _ctx; } class PaymentIntentProcessingCardCustomerNotification extends StripeEntity1 implements IConvertible { bool? ApprovalRequested; DateTime? CompletesAt; PaymentIntentProcessingCardCustomerNotification({this.ApprovalRequested,this.CompletesAt}); PaymentIntentProcessingCardCustomerNotification.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ApprovalRequested = json['ApprovalRequested']; CompletesAt = JsonConverters.fromJson(json['CompletesAt'],'DateTime',context!); return this; } Map toJson() => super.toJson()..addAll({ 'ApprovalRequested': ApprovalRequested, 'CompletesAt': JsonConverters.toJson(CompletesAt,'DateTime',context!) }); getTypeName() => "PaymentIntentProcessingCardCustomerNotification"; TypeContext? context = _ctx; } class PaymentIntentProcessingCard extends StripeEntity1 implements IConvertible { PaymentIntentProcessingCardCustomerNotification? CustomerNotification; PaymentIntentProcessingCard({this.CustomerNotification}); PaymentIntentProcessingCard.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CustomerNotification = JsonConverters.fromJson(json['CustomerNotification'],'PaymentIntentProcessingCardCustomerNotification',context!); return this; } Map toJson() => super.toJson()..addAll({ 'CustomerNotification': JsonConverters.toJson(CustomerNotification,'PaymentIntentProcessingCardCustomerNotification',context!) }); getTypeName() => "PaymentIntentProcessingCard"; TypeContext? context = _ctx; } class PaymentIntentProcessing extends StripeEntity1 implements IConvertible { PaymentIntentProcessingCard? Card; String? Type; PaymentIntentProcessing({this.Card,this.Type}); PaymentIntentProcessing.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Card = JsonConverters.fromJson(json['Card'],'PaymentIntentProcessingCard',context!); Type = json['Type']; return this; } Map toJson() => super.toJson()..addAll({ 'Card': JsonConverters.toJson(Card,'PaymentIntentProcessingCard',context!), 'Type': Type }); getTypeName() => "PaymentIntentProcessing"; TypeContext? context = _ctx; } class PaymentIntentTransferData extends StripeEntity1 implements IConvertible { int Amount = 0; PaymentIntentTransferData({this.Amount}); PaymentIntentTransferData.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Amount = json['Amount']; return this; } Map toJson() => super.toJson()..addAll({ 'Amount': Amount }); getTypeName() => "PaymentIntentTransferData"; TypeContext? context = _ctx; } class PaymentIntent extends StripeEntity1 implements IHasId, IHasMetadata, IHasObject, IConvertible { String? Id; String? Object; int Amount = 0; int AmountCapturable = 0; PaymentIntentAmountDetails? AmountDetails; int AmountReceived = 0; int? ApplicationFeeAmount; PaymentIntentAutomaticPaymentMethods? AutomaticPaymentMethods; DateTime? CanceledAt; String? CancellationReason; String? CaptureMethod; String? ClientSecret; String? ConfirmationMethod; DateTime Created = DateTime(0); String? Currency; String? Description; StripeError? LastPaymentError; bool Livemode; Map? Metadata; PaymentIntentNextAction? NextAction; PaymentIntentPaymentMethodConfigurationDetails? PaymentMethodConfigurationDetails; PaymentIntentPaymentMethodOptions? PaymentMethodOptions; List? PaymentMethodTypes; PaymentIntentPresentmentDetails? PresentmentDetails; PaymentIntentProcessing? Processing; String? ReceiptEmail; String? SetupFutureUsage; Shipping? Shipping; String? StatementDescriptor; String? StatementDescriptorSuffix; String? Status; PaymentIntentTransferData? TransferData; String? TransferGroup; PaymentIntent({this.Id,this.Object,this.Amount,this.AmountCapturable,this.AmountDetails,this.AmountReceived,this.ApplicationFeeAmount,this.AutomaticPaymentMethods,this.CanceledAt,this.CancellationReason,this.CaptureMethod,this.ClientSecret,this.ConfirmationMethod,this.Created,this.Currency,this.Description,this.LastPaymentError,this.Livemode,this.Metadata,this.NextAction,this.PaymentMethodConfigurationDetails,this.PaymentMethodOptions,this.PaymentMethodTypes,this.PresentmentDetails,this.Processing,this.ReceiptEmail,this.SetupFutureUsage,this.Shipping,this.StatementDescriptor,this.StatementDescriptorSuffix,this.Status,this.TransferData,this.TransferGroup}); PaymentIntent.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Id = json['Id']; Object = json['Object']; Amount = json['Amount']; AmountCapturable = json['AmountCapturable']; AmountDetails = JsonConverters.fromJson(json['AmountDetails'],'PaymentIntentAmountDetails',context!); AmountReceived = json['AmountReceived']; ApplicationFeeAmount = json['ApplicationFeeAmount']; AutomaticPaymentMethods = JsonConverters.fromJson(json['AutomaticPaymentMethods'],'PaymentIntentAutomaticPaymentMethods',context!); CanceledAt = JsonConverters.fromJson(json['CanceledAt'],'DateTime',context!); CancellationReason = json['CancellationReason']; CaptureMethod = json['CaptureMethod']; ClientSecret = json['ClientSecret']; ConfirmationMethod = json['ConfirmationMethod']; Created = JsonConverters.fromJson(json['Created'],'DateTime',context!); Currency = json['Currency']; Description = json['Description']; LastPaymentError = JsonConverters.fromJson(json['LastPaymentError'],'StripeError',context!); Livemode = json['Livemode']; Metadata = JsonConverters.toStringMap(json['Metadata']); NextAction = JsonConverters.fromJson(json['NextAction'],'PaymentIntentNextAction',context!); PaymentMethodConfigurationDetails = JsonConverters.fromJson(json['PaymentMethodConfigurationDetails'],'PaymentIntentPaymentMethodConfigurationDetails',context!); PaymentMethodOptions = JsonConverters.fromJson(json['PaymentMethodOptions'],'PaymentIntentPaymentMethodOptions',context!); PaymentMethodTypes = JsonConverters.fromJson(json['PaymentMethodTypes'],'List',context!); PresentmentDetails = JsonConverters.fromJson(json['PresentmentDetails'],'PaymentIntentPresentmentDetails',context!); Processing = JsonConverters.fromJson(json['Processing'],'PaymentIntentProcessing',context!); ReceiptEmail = json['ReceiptEmail']; SetupFutureUsage = json['SetupFutureUsage']; Shipping = JsonConverters.fromJson(json['Shipping'],'Shipping',context!); StatementDescriptor = json['StatementDescriptor']; StatementDescriptorSuffix = json['StatementDescriptorSuffix']; Status = json['Status']; TransferData = JsonConverters.fromJson(json['TransferData'],'PaymentIntentTransferData',context!); TransferGroup = json['TransferGroup']; return this; } Map toJson() => super.toJson()..addAll({ 'Id': Id, 'Object': Object, 'Amount': Amount, 'AmountCapturable': AmountCapturable, 'AmountDetails': JsonConverters.toJson(AmountDetails,'PaymentIntentAmountDetails',context!), 'AmountReceived': AmountReceived, 'ApplicationFeeAmount': ApplicationFeeAmount, 'AutomaticPaymentMethods': JsonConverters.toJson(AutomaticPaymentMethods,'PaymentIntentAutomaticPaymentMethods',context!), 'CanceledAt': JsonConverters.toJson(CanceledAt,'DateTime',context!), 'CancellationReason': CancellationReason, 'CaptureMethod': CaptureMethod, 'ClientSecret': ClientSecret, 'ConfirmationMethod': ConfirmationMethod, 'Created': JsonConverters.toJson(Created,'DateTime',context!), 'Currency': Currency, 'Description': Description, 'LastPaymentError': JsonConverters.toJson(LastPaymentError,'StripeError',context!), 'Livemode': Livemode, 'Metadata': Metadata, 'NextAction': JsonConverters.toJson(NextAction,'PaymentIntentNextAction',context!), 'PaymentMethodConfigurationDetails': JsonConverters.toJson(PaymentMethodConfigurationDetails,'PaymentIntentPaymentMethodConfigurationDetails',context!), 'PaymentMethodOptions': JsonConverters.toJson(PaymentMethodOptions,'PaymentIntentPaymentMethodOptions',context!), 'PaymentMethodTypes': JsonConverters.toJson(PaymentMethodTypes,'List',context!), 'PresentmentDetails': JsonConverters.toJson(PresentmentDetails,'PaymentIntentPresentmentDetails',context!), 'Processing': JsonConverters.toJson(Processing,'PaymentIntentProcessing',context!), 'ReceiptEmail': ReceiptEmail, 'SetupFutureUsage': SetupFutureUsage, 'Shipping': JsonConverters.toJson(Shipping,'Shipping',context!), 'StatementDescriptor': StatementDescriptor, 'StatementDescriptorSuffix': StatementDescriptorSuffix, 'Status': Status, 'TransferData': JsonConverters.toJson(TransferData,'PaymentIntentTransferData',context!), 'TransferGroup': TransferGroup }); getTypeName() => "PaymentIntent"; TypeContext? context = _ctx; } class CustomSessionData implements IConvertible { Session Session; List LineItems = []; PaymentIntent? PaymentIntent; CustomSessionData({this.Session,this.LineItems,this.PaymentIntent}); CustomSessionData.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Session = JsonConverters.fromJson(json['Session'],'Session',context!); LineItems = JsonConverters.fromJson(json['LineItems'],'List',context!); PaymentIntent = JsonConverters.fromJson(json['PaymentIntent'],'PaymentIntent',context!); return this; } Map toJson() => { 'Session': JsonConverters.toJson(Session,'Session',context!), 'LineItems': JsonConverters.toJson(LineItems,'List',context!), 'PaymentIntent': JsonConverters.toJson(PaymentIntent,'PaymentIntent',context!) }; getTypeName() => "CustomSessionData"; TypeContext? context = _ctx; } class CustomPaymentIntentData implements IConvertible { PaymentIntent PaymentIntent; CustomPaymentIntentData({this.PaymentIntent}); CustomPaymentIntentData.fromJson(Map json) { fromMap(json); } fromMap(Map json) { PaymentIntent = JsonConverters.fromJson(json['PaymentIntent'],'PaymentIntent',context!); return this; } Map toJson() => { 'PaymentIntent': JsonConverters.toJson(PaymentIntent,'PaymentIntent',context!) }; getTypeName() => "CustomPaymentIntentData"; TypeContext? context = _ctx; } class StripeCustomCheckoutData implements IConvertible { CustomSessionData CustomSessionData; CustomPaymentIntentData CustomPaymentIntentData; StripeCustomCheckoutData({this.CustomSessionData,this.CustomPaymentIntentData}); StripeCustomCheckoutData.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CustomSessionData = JsonConverters.fromJson(json['CustomSessionData'],'CustomSessionData',context!); CustomPaymentIntentData = JsonConverters.fromJson(json['CustomPaymentIntentData'],'CustomPaymentIntentData',context!); return this; } Map toJson() => { 'CustomSessionData': JsonConverters.toJson(CustomSessionData,'CustomSessionData',context!), 'CustomPaymentIntentData': JsonConverters.toJson(CustomPaymentIntentData,'CustomPaymentIntentData',context!) }; getTypeName() => "StripeCustomCheckoutData"; TypeContext? context = _ctx; } class DataCacheStore implements IConvertible { DataCacheStore(); DataCacheStore.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "DataCacheStore"; TypeContext? context = _ctx; } class CacheDataProvider implements IConvertible { DataCacheStore Dist; DataCacheStore Static; CacheDataProvider({this.Dist,this.Static}); CacheDataProvider.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Dist = JsonConverters.fromJson(json['Dist'],'DataCacheStore',context!); Static = JsonConverters.fromJson(json['Static'],'DataCacheStore',context!); return this; } Map toJson() => { 'Dist': JsonConverters.toJson(Dist,'DataCacheStore',context!), 'Static': JsonConverters.toJson(Static,'DataCacheStore',context!) }; getTypeName() => "CacheDataProvider"; TypeContext? context = _ctx; } class ArticleType extends BaseModel implements IConvertible { int ArticleTypeId = 0; // @Required() String ArticleTypeName = ""; String? ArticleTypeDescription; ArticleType({this.ArticleTypeId,this.ArticleTypeName,this.ArticleTypeDescription}); ArticleType.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ArticleTypeId = json['ArticleTypeId']; ArticleTypeName = json['ArticleTypeName']; ArticleTypeDescription = json['ArticleTypeDescription']; return this; } Map toJson() => super.toJson()..addAll({ 'ArticleTypeId': ArticleTypeId, 'ArticleTypeName': ArticleTypeName, 'ArticleTypeDescription': ArticleTypeDescription }); getTypeName() => "ArticleType"; TypeContext? context = _ctx; } class UserAccessKeys extends BaseModel implements IConvertible { // @Required() String CompanyId = ""; // @Required() int AccessKeyTypeId = 0; // @Required() String Value = ""; // @Required() String CustomerId = ""; String? Description; // @Required() String Id = ""; UserAccessKeys({this.CompanyId,this.AccessKeyTypeId,this.Value,this.CustomerId,this.Description,this.Id}); UserAccessKeys.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CompanyId = json['CompanyId']; AccessKeyTypeId = json['AccessKeyTypeId']; Value = json['Value']; CustomerId = json['CustomerId']; Description = json['Description']; Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'CompanyId': CompanyId, 'AccessKeyTypeId': AccessKeyTypeId, 'Value': Value, 'CustomerId': CustomerId, 'Description': Description, 'Id': Id }); getTypeName() => "UserAccessKeys"; TypeContext? context = _ctx; } class InvoiceAddress extends BaseModel implements IInvoiceAddress, IBaseModelCreated, IBaseModelUpdated, IConvertible { // @Required() String InvoiceAddressId = ""; String? CorporateIdentityNumber; String? InvoiceAddress1; String? InvoiceAddress2; String? InvoiceCity; String? InvoicePostalCode; String? InvoiceCountryCode; bool Main; String? UserId; String? CustomerId; // @Required() DateTime UpdatedDate = DateTime(0); // @Required() DateTime CreatedDate = DateTime(0); InvoiceAddress({this.InvoiceAddressId,this.CorporateIdentityNumber,this.InvoiceAddress1,this.InvoiceAddress2,this.InvoiceCity,this.InvoicePostalCode,this.InvoiceCountryCode,this.Main,this.UserId,this.CustomerId,this.UpdatedDate,this.CreatedDate}); InvoiceAddress.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); InvoiceAddressId = json['InvoiceAddressId']; CorporateIdentityNumber = json['CorporateIdentityNumber']; InvoiceAddress1 = json['InvoiceAddress1']; InvoiceAddress2 = json['InvoiceAddress2']; InvoiceCity = json['InvoiceCity']; InvoicePostalCode = json['InvoicePostalCode']; InvoiceCountryCode = json['InvoiceCountryCode']; Main = json['Main']; UserId = json['UserId']; CustomerId = json['CustomerId']; UpdatedDate = JsonConverters.fromJson(json['UpdatedDate'],'DateTime',context!); CreatedDate = JsonConverters.fromJson(json['CreatedDate'],'DateTime',context!); return this; } Map toJson() => super.toJson()..addAll({ 'InvoiceAddressId': InvoiceAddressId, 'CorporateIdentityNumber': CorporateIdentityNumber, 'InvoiceAddress1': InvoiceAddress1, 'InvoiceAddress2': InvoiceAddress2, 'InvoiceCity': InvoiceCity, 'InvoicePostalCode': InvoicePostalCode, 'InvoiceCountryCode': InvoiceCountryCode, 'Main': Main, 'UserId': UserId, 'CustomerId': CustomerId, 'UpdatedDate': JsonConverters.toJson(UpdatedDate,'DateTime',context!), 'CreatedDate': JsonConverters.toJson(CreatedDate,'DateTime',context!) }); getTypeName() => "InvoiceAddress"; TypeContext? context = _ctx; } class CustomerComment extends BaseModel implements IConvertible { // @Required() String CompanyId = ""; int Id = 0; // @Required() String CustomerId = ""; // @Required() String Comments = ""; // @Required() DateTime Updated = DateTime(0); // @Required() DateTime Created = DateTime(0); String? ImageUrl; DateTime? ModifiedDate; CustomerComment({this.CompanyId,this.Id,this.CustomerId,this.Comments,this.Updated,this.Created,this.ImageUrl,this.ModifiedDate}); CustomerComment.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CompanyId = json['CompanyId']; Id = json['Id']; CustomerId = json['CustomerId']; Comments = json['Comments']; Updated = JsonConverters.fromJson(json['Updated'],'DateTime',context!); Created = JsonConverters.fromJson(json['Created'],'DateTime',context!); ImageUrl = json['ImageUrl']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); return this; } Map toJson() => super.toJson()..addAll({ 'CompanyId': CompanyId, 'Id': Id, 'CustomerId': CustomerId, 'Comments': Comments, 'Updated': JsonConverters.toJson(Updated,'DateTime',context!), 'Created': JsonConverters.toJson(Created,'DateTime',context!), 'ImageUrl': ImageUrl, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!) }); getTypeName() => "CustomerComment"; TypeContext? context = _ctx; } class RebateCodeType extends BaseModel implements IConvertible { // @Required() String Name = ""; String? Description; DateTime? ModifiedDate; int Id = 0; RebateCodeType({this.Name,this.Description,this.ModifiedDate,this.Id}); RebateCodeType.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Name = json['Name']; Description = json['Description']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Name': Name, 'Description': Description, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "RebateCodeType"; TypeContext? context = _ctx; } class RebateCodeStatus extends BaseModel implements IConvertible { // @Required() String Name = ""; String? Description; DateTime? ModifiedDate; int Id = 0; RebateCodeStatus({this.Name,this.Description,this.ModifiedDate,this.Id}); RebateCodeStatus.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Name = json['Name']; Description = json['Description']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Name': Name, 'Description': Description, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "RebateCodeStatus"; TypeContext? context = _ctx; } enum BokaMeraDayOfWeek { Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, } class RebateCodeDayOfWeekRelation extends BaseModel implements IConvertible { // @Ignore() BokaMeraDayOfWeek DayOfWeek; // @Required() int DayOfWeekId = 0; // @Required() int RebateCodeId = 0; // @Required() String CompanyId = ""; int Id = 0; DateTime? ModifiedDate; RebateCodeDayOfWeekRelation({this.DayOfWeek,this.DayOfWeekId,this.RebateCodeId,this.CompanyId,this.Id,this.ModifiedDate}); RebateCodeDayOfWeekRelation.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); DayOfWeek = JsonConverters.fromJson(json['DayOfWeek'],'BokaMeraDayOfWeek',context!); DayOfWeekId = json['DayOfWeekId']; RebateCodeId = json['RebateCodeId']; CompanyId = json['CompanyId']; Id = json['Id']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); return this; } Map toJson() => super.toJson()..addAll({ 'DayOfWeek': JsonConverters.toJson(DayOfWeek,'BokaMeraDayOfWeek',context!), 'DayOfWeekId': DayOfWeekId, 'RebateCodeId': RebateCodeId, 'CompanyId': CompanyId, 'Id': Id, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!) }); getTypeName() => "RebateCodeDayOfWeekRelation"; TypeContext? context = _ctx; } class RebateCodeServiceRelation extends BaseModel implements IConvertible { // @Required() String CompanyId = ""; // @Required() int ServiceId = 0; // @Required() int RebateCodeId = 0; int Id = 0; DateTime? ModifiedDate; RebateCodeServiceRelation({this.CompanyId,this.ServiceId,this.RebateCodeId,this.Id,this.ModifiedDate}); RebateCodeServiceRelation.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CompanyId = json['CompanyId']; ServiceId = json['ServiceId']; RebateCodeId = json['RebateCodeId']; Id = json['Id']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); return this; } Map toJson() => super.toJson()..addAll({ 'CompanyId': CompanyId, 'ServiceId': ServiceId, 'RebateCodeId': RebateCodeId, 'Id': Id, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!) }); getTypeName() => "RebateCodeServiceRelation"; TypeContext? context = _ctx; } class RebateCodeBookingPriceRelation extends BaseModel implements IConvertible { // @Required() String CompanyId = ""; // @Required() int PriceId = 0; // @Required() int RebateCodeId = 0; int Id = 0; DateTime? ModifiedDate; RebateCodeBookingPriceRelation({this.CompanyId,this.PriceId,this.RebateCodeId,this.Id,this.ModifiedDate}); RebateCodeBookingPriceRelation.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CompanyId = json['CompanyId']; PriceId = json['PriceId']; RebateCodeId = json['RebateCodeId']; Id = json['Id']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); return this; } Map toJson() => super.toJson()..addAll({ 'CompanyId': CompanyId, 'PriceId': PriceId, 'RebateCodeId': RebateCodeId, 'Id': Id, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!) }); getTypeName() => "RebateCodeBookingPriceRelation"; TypeContext? context = _ctx; } class RebateCodeCustomerRelation extends BaseModel implements IConvertible { // @Required() String CompanyId = ""; // @Required() String CustomerId = ""; // @Required() int RebateCodeId = 0; int Id = 0; DateTime? ModifiedDate; bool RebateCodeEmailSentToCustomer; String? MessageToReceiver; bool Buyer; RebateCodeCustomerRelation({this.CompanyId,this.CustomerId,this.RebateCodeId,this.Id,this.ModifiedDate,this.RebateCodeEmailSentToCustomer,this.MessageToReceiver,this.Buyer}); RebateCodeCustomerRelation.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CompanyId = json['CompanyId']; CustomerId = json['CustomerId']; RebateCodeId = json['RebateCodeId']; Id = json['Id']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); RebateCodeEmailSentToCustomer = json['RebateCodeEmailSentToCustomer']; MessageToReceiver = json['MessageToReceiver']; Buyer = json['Buyer']; return this; } Map toJson() => super.toJson()..addAll({ 'CompanyId': CompanyId, 'CustomerId': CustomerId, 'RebateCodeId': RebateCodeId, 'Id': Id, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'RebateCodeEmailSentToCustomer': RebateCodeEmailSentToCustomer, 'MessageToReceiver': MessageToReceiver, 'Buyer': Buyer }); getTypeName() => "RebateCodeCustomerRelation"; TypeContext? context = _ctx; } class DaysOfWeek extends BaseModel implements IConvertible { // @Required() String DayOfWeek = ""; // @Required() String DayOfWeekTranslation = ""; bool? DayOfWeekActive; int? DayOfWeekSortOrder; DateTime? ModifiedDate; int Id = 0; DaysOfWeek({this.DayOfWeek,this.DayOfWeekTranslation,this.DayOfWeekActive,this.DayOfWeekSortOrder,this.ModifiedDate,this.Id}); DaysOfWeek.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); DayOfWeek = json['DayOfWeek']; DayOfWeekTranslation = json['DayOfWeekTranslation']; DayOfWeekActive = json['DayOfWeekActive']; DayOfWeekSortOrder = json['DayOfWeekSortOrder']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'DayOfWeek': DayOfWeek, 'DayOfWeekTranslation': DayOfWeekTranslation, 'DayOfWeekActive': DayOfWeekActive, 'DayOfWeekSortOrder': DayOfWeekSortOrder, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "DaysOfWeek"; TypeContext? context = _ctx; } class PaymentDetails extends BaseModel implements IBaseModelCreated, IBaseModelUpdated, IConvertible { // @Ignore() QvicklyCustomCheckoutData? QvicklyCheckoutSerialized; // @Ignore() StripeCustomCheckoutData? StripeCheckoutSerialized; int Id = 0; // @Required() String CompanyId = ""; // @Required() String InternalReferenceId = ""; // @Required() int ArticleTypeId = 0; // @Required() String ExternalResponseData = ""; // @Required() String ExternalResponseReference = ""; // @Required() int PaymentProviderId = 0; int TypeId = 0; // @Required() DateTime CreatedDate = DateTime(0); // @Required() DateTime UpdatedDate = DateTime(0); DateTime? ModifiedDate; PaymentDetails({this.QvicklyCheckoutSerialized,this.StripeCheckoutSerialized,this.Id,this.CompanyId,this.InternalReferenceId,this.ArticleTypeId,this.ExternalResponseData,this.ExternalResponseReference,this.PaymentProviderId,this.TypeId,this.CreatedDate,this.UpdatedDate,this.ModifiedDate}); PaymentDetails.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); QvicklyCheckoutSerialized = JsonConverters.fromJson(json['QvicklyCheckoutSerialized'],'QvicklyCustomCheckoutData',context!); StripeCheckoutSerialized = JsonConverters.fromJson(json['StripeCheckoutSerialized'],'StripeCustomCheckoutData',context!); Id = json['Id']; CompanyId = json['CompanyId']; InternalReferenceId = json['InternalReferenceId']; ArticleTypeId = json['ArticleTypeId']; ExternalResponseData = json['ExternalResponseData']; ExternalResponseReference = json['ExternalResponseReference']; PaymentProviderId = json['PaymentProviderId']; TypeId = json['TypeId']; CreatedDate = JsonConverters.fromJson(json['CreatedDate'],'DateTime',context!); UpdatedDate = JsonConverters.fromJson(json['UpdatedDate'],'DateTime',context!); ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); return this; } Map toJson() => super.toJson()..addAll({ 'QvicklyCheckoutSerialized': JsonConverters.toJson(QvicklyCheckoutSerialized,'QvicklyCustomCheckoutData',context!), 'StripeCheckoutSerialized': JsonConverters.toJson(StripeCheckoutSerialized,'StripeCustomCheckoutData',context!), 'Id': Id, 'CompanyId': CompanyId, 'InternalReferenceId': InternalReferenceId, 'ArticleTypeId': ArticleTypeId, 'ExternalResponseData': ExternalResponseData, 'ExternalResponseReference': ExternalResponseReference, 'PaymentProviderId': PaymentProviderId, 'TypeId': TypeId, 'CreatedDate': JsonConverters.toJson(CreatedDate,'DateTime',context!), 'UpdatedDate': JsonConverters.toJson(UpdatedDate,'DateTime',context!), 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!) }); getTypeName() => "PaymentDetails"; TypeContext? context = _ctx; } class PriceMapping extends BaseModel implements IConvertible { // @Required() String CompanyId = ""; // @Required() String Id = ""; // @Required() int ServicePriceId = 0; String? ReferenceType; String? ExternalReference; // @Required() DateTime UpdatedDate = DateTime(0); // @Required() DateTime CreatedDate = DateTime(0); DateTime? ModifiedDate; PriceMapping({this.CompanyId,this.Id,this.ServicePriceId,this.ReferenceType,this.ExternalReference,this.UpdatedDate,this.CreatedDate,this.ModifiedDate}); PriceMapping.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CompanyId = json['CompanyId']; Id = json['Id']; ServicePriceId = json['ServicePriceId']; ReferenceType = json['ReferenceType']; ExternalReference = json['ExternalReference']; UpdatedDate = JsonConverters.fromJson(json['UpdatedDate'],'DateTime',context!); CreatedDate = JsonConverters.fromJson(json['CreatedDate'],'DateTime',context!); ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); return this; } Map toJson() => super.toJson()..addAll({ 'CompanyId': CompanyId, 'Id': Id, 'ServicePriceId': ServicePriceId, 'ReferenceType': ReferenceType, 'ExternalReference': ExternalReference, 'UpdatedDate': JsonConverters.toJson(UpdatedDate,'DateTime',context!), 'CreatedDate': JsonConverters.toJson(CreatedDate,'DateTime',context!), 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!) }); getTypeName() => "PriceMapping"; TypeContext? context = _ctx; } class ServicePriceDayOfWeekRelation extends BaseModel implements IConvertible { // @Ignore() BokaMeraDayOfWeek DayOfWeek; // @Required() String CompanyId = ""; // @Required() int ServicePriceId = 0; // @Required() int DayOfWeekId = 0; DateTime? ModifiedDate; int Id = 0; ServicePriceDayOfWeekRelation({this.DayOfWeek,this.CompanyId,this.ServicePriceId,this.DayOfWeekId,this.ModifiedDate,this.Id}); ServicePriceDayOfWeekRelation.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); DayOfWeek = JsonConverters.fromJson(json['DayOfWeek'],'BokaMeraDayOfWeek',context!); CompanyId = json['CompanyId']; ServicePriceId = json['ServicePriceId']; DayOfWeekId = json['DayOfWeekId']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'DayOfWeek': JsonConverters.toJson(DayOfWeek,'BokaMeraDayOfWeek',context!), 'CompanyId': CompanyId, 'ServicePriceId': ServicePriceId, 'DayOfWeekId': DayOfWeekId, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Id': Id }); getTypeName() => "ServicePriceDayOfWeekRelation"; TypeContext? context = _ctx; } class ServicePrice extends BaseModel implements IInterval, IConvertible { // @References(typeof(Currency)) String CurrencyId = ""; Currency CurrencyInfo; // @Ignore() Service Service; List PriceMappings = []; // @Ignore() bool isTimeSpecific; // @Ignore() bool isDaysOfWeekSpecific; List DayOfWeeks = []; // @Ignore() double? PriceBeforeRebate; // @Ignore() List RebateCodesApplied = []; // @Ignore() String PriceText = ""; // @Ignore() List OverlappingPrices = []; // @Required() String CompanyId = ""; int Id = 0; // @Required() int ServiceId = 0; double? Price; // @Required() DateTime Updated = DateTime(0); // @Required() DateTime Created = DateTime(0); // @Required() Duration FromTime; // @Required() Duration ToTime; // @Required() double VAT = 0; String? Category; DateTime? ModifiedDate; // @Required() DateTime From = DateTime(0); // @Required() DateTime To = DateTime(0); // @Required() int CalculationTypeId = 0; ServicePrice({this.CurrencyId,this.CurrencyInfo,this.Service,this.PriceMappings,this.isTimeSpecific,this.isDaysOfWeekSpecific,this.DayOfWeeks,this.PriceBeforeRebate,this.RebateCodesApplied,this.PriceText,this.OverlappingPrices,this.CompanyId,this.Id,this.ServiceId,this.Price,this.Updated,this.Created,this.FromTime,this.ToTime,this.VAT,this.Category,this.ModifiedDate,this.From,this.To,this.CalculationTypeId}); ServicePrice.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CurrencyId = json['CurrencyId']; CurrencyInfo = JsonConverters.fromJson(json['CurrencyInfo'],'Currency',context!); Service = JsonConverters.fromJson(json['Service'],'Service',context!); PriceMappings = JsonConverters.fromJson(json['PriceMappings'],'List',context!); isTimeSpecific = json['isTimeSpecific']; isDaysOfWeekSpecific = json['isDaysOfWeekSpecific']; DayOfWeeks = JsonConverters.fromJson(json['DayOfWeeks'],'List',context!); PriceBeforeRebate = JsonConverters.toDouble(json['PriceBeforeRebate']); RebateCodesApplied = JsonConverters.fromJson(json['RebateCodesApplied'],'List',context!); PriceText = json['PriceText']; OverlappingPrices = JsonConverters.fromJson(json['OverlappingPrices'],'List',context!); CompanyId = json['CompanyId']; Id = json['Id']; ServiceId = json['ServiceId']; Price = JsonConverters.toDouble(json['Price']); Updated = JsonConverters.fromJson(json['Updated'],'DateTime',context!); Created = JsonConverters.fromJson(json['Created'],'DateTime',context!); FromTime = JsonConverters.fromJson(json['FromTime'],'Duration',context!); ToTime = JsonConverters.fromJson(json['ToTime'],'Duration',context!); VAT = JsonConverters.toDouble(json['VAT']); Category = json['Category']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); From = JsonConverters.fromJson(json['From'],'DateTime',context!); To = JsonConverters.fromJson(json['To'],'DateTime',context!); CalculationTypeId = json['CalculationTypeId']; return this; } Map toJson() => super.toJson()..addAll({ 'CurrencyId': CurrencyId, 'CurrencyInfo': JsonConverters.toJson(CurrencyInfo,'Currency',context!), 'Service': JsonConverters.toJson(Service,'Service',context!), 'PriceMappings': JsonConverters.toJson(PriceMappings,'List',context!), 'isTimeSpecific': isTimeSpecific, 'isDaysOfWeekSpecific': isDaysOfWeekSpecific, 'DayOfWeeks': JsonConverters.toJson(DayOfWeeks,'List',context!), 'PriceBeforeRebate': PriceBeforeRebate, 'RebateCodesApplied': JsonConverters.toJson(RebateCodesApplied,'List',context!), 'PriceText': PriceText, 'OverlappingPrices': JsonConverters.toJson(OverlappingPrices,'List',context!), 'CompanyId': CompanyId, 'Id': Id, 'ServiceId': ServiceId, 'Price': Price, 'Updated': JsonConverters.toJson(Updated,'DateTime',context!), 'Created': JsonConverters.toJson(Created,'DateTime',context!), 'FromTime': JsonConverters.toJson(FromTime,'Duration',context!), 'ToTime': JsonConverters.toJson(ToTime,'Duration',context!), 'VAT': VAT, 'Category': Category, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'From': JsonConverters.toJson(From,'DateTime',context!), 'To': JsonConverters.toJson(To,'DateTime',context!), 'CalculationTypeId': CalculationTypeId }); getTypeName() => "ServicePrice"; TypeContext? context = _ctx; } class AppliedRebateCodes implements IConvertible { int RebateCodeId = 0; String RebateCodeSign = ""; int RebateCodeValue = 0; double RebateAmount = 0; RebateCodeType RebateCodeType; AppliedRebateCodes({this.RebateCodeId,this.RebateCodeSign,this.RebateCodeValue,this.RebateAmount,this.RebateCodeType}); AppliedRebateCodes.fromJson(Map json) { fromMap(json); } fromMap(Map json) { RebateCodeId = json['RebateCodeId']; RebateCodeSign = json['RebateCodeSign']; RebateCodeValue = json['RebateCodeValue']; RebateAmount = JsonConverters.toDouble(json['RebateAmount']); RebateCodeType = JsonConverters.fromJson(json['RebateCodeType'],'RebateCodeType',context!); return this; } Map toJson() => { 'RebateCodeId': RebateCodeId, 'RebateCodeSign': RebateCodeSign, 'RebateCodeValue': RebateCodeValue, 'RebateAmount': RebateAmount, 'RebateCodeType': JsonConverters.toJson(RebateCodeType,'RebateCodeType',context!) }; getTypeName() => "AppliedRebateCodes"; TypeContext? context = _ctx; } class BookingPrice extends BaseModel implements IConvertible { // @References(typeof(Currency)) String CurrencyId = ""; ServicePrice ServicePrice; Currency CurrencyInfo; // @Ignore() String PriceText = ""; // @Ignore() List AppliedCodes = []; // @Ignore() bool IsRebate; // @Required() String CompanyId = ""; // @Required() int BookingId = 0; // @Required() int Quantity = 0; double? Price; double? VAT; String? Category; // @Required() DateTime Updated = DateTime(0); // @Required() DateTime Created = DateTime(0); // @Required() bool Invoiced; // @Required() bool OccupiesSpot; DateTime? ModifiedDate; int? ServicePriceId; int Id = 0; BookingPrice({this.CurrencyId,this.ServicePrice,this.CurrencyInfo,this.PriceText,this.AppliedCodes,this.IsRebate,this.CompanyId,this.BookingId,this.Quantity,this.Price,this.VAT,this.Category,this.Updated,this.Created,this.Invoiced,this.OccupiesSpot,this.ModifiedDate,this.ServicePriceId,this.Id}); BookingPrice.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CurrencyId = json['CurrencyId']; ServicePrice = JsonConverters.fromJson(json['ServicePrice'],'ServicePrice',context!); CurrencyInfo = JsonConverters.fromJson(json['CurrencyInfo'],'Currency',context!); PriceText = json['PriceText']; AppliedCodes = JsonConverters.fromJson(json['AppliedCodes'],'List',context!); IsRebate = json['IsRebate']; CompanyId = json['CompanyId']; BookingId = json['BookingId']; Quantity = json['Quantity']; Price = JsonConverters.toDouble(json['Price']); VAT = JsonConverters.toDouble(json['VAT']); Category = json['Category']; Updated = JsonConverters.fromJson(json['Updated'],'DateTime',context!); Created = JsonConverters.fromJson(json['Created'],'DateTime',context!); Invoiced = json['Invoiced']; OccupiesSpot = json['OccupiesSpot']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); ServicePriceId = json['ServicePriceId']; Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'CurrencyId': CurrencyId, 'ServicePrice': JsonConverters.toJson(ServicePrice,'ServicePrice',context!), 'CurrencyInfo': JsonConverters.toJson(CurrencyInfo,'Currency',context!), 'PriceText': PriceText, 'AppliedCodes': JsonConverters.toJson(AppliedCodes,'List',context!), 'IsRebate': IsRebate, 'CompanyId': CompanyId, 'BookingId': BookingId, 'Quantity': Quantity, 'Price': Price, 'VAT': VAT, 'Category': Category, 'Updated': JsonConverters.toJson(Updated,'DateTime',context!), 'Created': JsonConverters.toJson(Created,'DateTime',context!), 'Invoiced': Invoiced, 'OccupiesSpot': OccupiesSpot, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'ServicePriceId': ServicePriceId, 'Id': Id }); getTypeName() => "BookingPrice"; TypeContext? context = _ctx; } class BookedResource implements IConvertible { int Id = 0; String Name = ""; String Color = ""; Uri ImageUrl; String Email = ""; String MobilePhone = ""; String AccessGroup = ""; bool EmailNotification; bool SMSNotification; bool EmailReminder; bool SMSReminder; BookedResource({this.Id,this.Name,this.Color,this.ImageUrl,this.Email,this.MobilePhone,this.AccessGroup,this.EmailNotification,this.SMSNotification,this.EmailReminder,this.SMSReminder}); BookedResource.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Name = json['Name']; Color = json['Color']; ImageUrl = JsonConverters.fromJson(json['ImageUrl'],'Uri',context!); Email = json['Email']; MobilePhone = json['MobilePhone']; AccessGroup = json['AccessGroup']; EmailNotification = json['EmailNotification']; SMSNotification = json['SMSNotification']; EmailReminder = json['EmailReminder']; SMSReminder = json['SMSReminder']; return this; } Map toJson() => { 'Id': Id, 'Name': Name, 'Color': Color, 'ImageUrl': JsonConverters.toJson(ImageUrl,'Uri',context!), 'Email': Email, 'MobilePhone': MobilePhone, 'AccessGroup': AccessGroup, 'EmailNotification': EmailNotification, 'SMSNotification': SMSNotification, 'EmailReminder': EmailReminder, 'SMSReminder': SMSReminder }; getTypeName() => "BookedResource"; TypeContext? context = _ctx; } class BookedResourceType implements IConvertible { /** * The resource type id */ // @ApiMember(Description="The resource type id") int Id = 0; /** * The resource type name */ // @ApiMember(Description="The resource type name") String Name = ""; /** * The resources inside resource type */ // @ApiMember(Description="The resources inside resource type") List Resources = []; BookedResourceType({this.Id,this.Name,this.Resources}); BookedResourceType.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Name = json['Name']; Resources = JsonConverters.fromJson(json['Resources'],'List',context!); return this; } Map toJson() => { 'Id': Id, 'Name': Name, 'Resources': JsonConverters.toJson(Resources,'List',context!) }; getTypeName() => "BookedResourceType"; TypeContext? context = _ctx; } class Booking extends PayableEntity implements IInterval, ICustomFieldTable, IBaseModelUpdated, IBaseModelCreated, IConvertible { // @Ignore() Service Service; // @Ignore() List Log = []; // @Ignore() List CheckoutLogs = []; // @Ignore() List Prices = []; // @Ignore() BookingStatusEnum Status; // @Ignore() bool IsReserved; // @Ignore() String StatusName = ""; BookingStatus BookingStatus; // @Ignore() double? TotalPrice; // @Ignore() int? TotalSpots; // @Ignore() List? Resources; // @Ignore() List? ExternalReferences; // @Ignore() List? BookedResources; // @Ignore() List? CustomFieldsConfig; // @Ignore() List? CustomFieldsData; // @Ignore() String DeterministicId = ""; // @Ignore() bool Active; // @Ignore() DateTime? LastTimeToUnBook; // @Ignore() List PriceMappings = []; // @Ignore() String InternalReferenceId = ""; int Id = 0; // @Required() String CustomerId = ""; // @Required() int ServiceId = 0; // @Required() int StatusId = 0; DateTime? UnbookedOn; String? UnbookedComments; String? BookedComments; // @Required() String BookedBy = ""; String? UnBookedBy; // @Required() bool SendSmsReminder; // @Required() bool SendEmailReminder; // @Required() bool SendSmsConfirmation; String? RebateCode; String? Comments; String? IpAddress; // @Required() int NumberOfBookedSpots = 0; String? CommentsToCustomer; DateTime? PaymentExpiration; // @Required() bool SendEmailConfirmation; String? CancellationCode; DateTime? ModifiedDate; String? RatingCode; String? TextField1; String? TextField2; String? TextField3; String? TextField4; String? TextField5; String? TextField6; String? TextField7; String? TextField8; String? TextField9; String? TextField10; String? TextField11; String? TextField12; String? TextField13; String? TextField14; String? TextField15; String? TextField16; String? TextField17; String? TextField18; String? TextField19; String? TextField20; // @Required() DateTime From = DateTime(0); // @Required() DateTime To = DateTime(0); String? ArticleInvoiceAddressId; Booking({this.Service,this.Log,this.CheckoutLogs,this.Prices,this.Status,this.IsReserved,this.StatusName,this.BookingStatus,this.TotalPrice,this.TotalSpots,this.Resources,this.ExternalReferences,this.BookedResources,this.CustomFieldsConfig,this.CustomFieldsData,this.DeterministicId,this.Active,this.LastTimeToUnBook,this.PriceMappings,this.InternalReferenceId,this.Id,this.CustomerId,this.ServiceId,this.StatusId,this.UnbookedOn,this.UnbookedComments,this.BookedComments,this.BookedBy,this.UnBookedBy,this.SendSmsReminder,this.SendEmailReminder,this.SendSmsConfirmation,this.RebateCode,this.Comments,this.IpAddress,this.NumberOfBookedSpots,this.CommentsToCustomer,this.PaymentExpiration,this.SendEmailConfirmation,this.CancellationCode,this.ModifiedDate,this.RatingCode,this.TextField1,this.TextField2,this.TextField3,this.TextField4,this.TextField5,this.TextField6,this.TextField7,this.TextField8,this.TextField9,this.TextField10,this.TextField11,this.TextField12,this.TextField13,this.TextField14,this.TextField15,this.TextField16,this.TextField17,this.TextField18,this.TextField19,this.TextField20,this.From,this.To,this.ArticleInvoiceAddressId}); Booking.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Service = JsonConverters.fromJson(json['Service'],'Service',context!); Log = JsonConverters.fromJson(json['Log'],'List',context!); CheckoutLogs = JsonConverters.fromJson(json['CheckoutLogs'],'List',context!); Prices = JsonConverters.fromJson(json['Prices'],'List',context!); Status = JsonConverters.fromJson(json['Status'],'BookingStatusEnum',context!); IsReserved = json['IsReserved']; StatusName = json['StatusName']; BookingStatus = JsonConverters.fromJson(json['BookingStatus'],'BookingStatus',context!); TotalPrice = JsonConverters.toDouble(json['TotalPrice']); TotalSpots = json['TotalSpots']; Resources = JsonConverters.fromJson(json['Resources'],'List',context!); ExternalReferences = JsonConverters.fromJson(json['ExternalReferences'],'List',context!); BookedResources = JsonConverters.fromJson(json['BookedResources'],'List',context!); CustomFieldsConfig = JsonConverters.fromJson(json['CustomFieldsConfig'],'List',context!); CustomFieldsData = JsonConverters.fromJson(json['CustomFieldsData'],'List',context!); DeterministicId = json['DeterministicId']; Active = json['Active']; LastTimeToUnBook = JsonConverters.fromJson(json['LastTimeToUnBook'],'DateTime',context!); PriceMappings = JsonConverters.fromJson(json['PriceMappings'],'List',context!); InternalReferenceId = json['InternalReferenceId']; Id = json['Id']; CustomerId = json['CustomerId']; ServiceId = json['ServiceId']; StatusId = json['StatusId']; UnbookedOn = JsonConverters.fromJson(json['UnbookedOn'],'DateTime',context!); UnbookedComments = json['UnbookedComments']; BookedComments = json['BookedComments']; BookedBy = json['BookedBy']; UnBookedBy = json['UnBookedBy']; SendSmsReminder = json['SendSmsReminder']; SendEmailReminder = json['SendEmailReminder']; SendSmsConfirmation = json['SendSmsConfirmation']; RebateCode = json['RebateCode']; Comments = json['Comments']; IpAddress = json['IpAddress']; NumberOfBookedSpots = json['NumberOfBookedSpots']; CommentsToCustomer = json['CommentsToCustomer']; PaymentExpiration = JsonConverters.fromJson(json['PaymentExpiration'],'DateTime',context!); SendEmailConfirmation = json['SendEmailConfirmation']; CancellationCode = json['CancellationCode']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); RatingCode = json['RatingCode']; TextField1 = json['TextField1']; TextField2 = json['TextField2']; TextField3 = json['TextField3']; TextField4 = json['TextField4']; TextField5 = json['TextField5']; TextField6 = json['TextField6']; TextField7 = json['TextField7']; TextField8 = json['TextField8']; TextField9 = json['TextField9']; TextField10 = json['TextField10']; TextField11 = json['TextField11']; TextField12 = json['TextField12']; TextField13 = json['TextField13']; TextField14 = json['TextField14']; TextField15 = json['TextField15']; TextField16 = json['TextField16']; TextField17 = json['TextField17']; TextField18 = json['TextField18']; TextField19 = json['TextField19']; TextField20 = json['TextField20']; From = JsonConverters.fromJson(json['From'],'DateTime',context!); To = JsonConverters.fromJson(json['To'],'DateTime',context!); ArticleInvoiceAddressId = json['ArticleInvoiceAddressId']; return this; } Map toJson() => super.toJson()..addAll({ 'Service': JsonConverters.toJson(Service,'Service',context!), 'Log': JsonConverters.toJson(Log,'List',context!), 'CheckoutLogs': JsonConverters.toJson(CheckoutLogs,'List',context!), 'Prices': JsonConverters.toJson(Prices,'List',context!), 'Status': JsonConverters.toJson(Status,'BookingStatusEnum',context!), 'IsReserved': IsReserved, 'StatusName': StatusName, 'BookingStatus': JsonConverters.toJson(BookingStatus,'BookingStatus',context!), 'TotalPrice': TotalPrice, 'TotalSpots': TotalSpots, 'Resources': JsonConverters.toJson(Resources,'List',context!), 'ExternalReferences': JsonConverters.toJson(ExternalReferences,'List',context!), 'BookedResources': JsonConverters.toJson(BookedResources,'List',context!), 'CustomFieldsConfig': JsonConverters.toJson(CustomFieldsConfig,'List',context!), 'CustomFieldsData': JsonConverters.toJson(CustomFieldsData,'List',context!), 'DeterministicId': DeterministicId, 'Active': Active, 'LastTimeToUnBook': JsonConverters.toJson(LastTimeToUnBook,'DateTime',context!), 'PriceMappings': JsonConverters.toJson(PriceMappings,'List',context!), 'InternalReferenceId': InternalReferenceId, 'Id': Id, 'CustomerId': CustomerId, 'ServiceId': ServiceId, 'StatusId': StatusId, 'UnbookedOn': JsonConverters.toJson(UnbookedOn,'DateTime',context!), 'UnbookedComments': UnbookedComments, 'BookedComments': BookedComments, 'BookedBy': BookedBy, 'UnBookedBy': UnBookedBy, 'SendSmsReminder': SendSmsReminder, 'SendEmailReminder': SendEmailReminder, 'SendSmsConfirmation': SendSmsConfirmation, 'RebateCode': RebateCode, 'Comments': Comments, 'IpAddress': IpAddress, 'NumberOfBookedSpots': NumberOfBookedSpots, 'CommentsToCustomer': CommentsToCustomer, 'PaymentExpiration': JsonConverters.toJson(PaymentExpiration,'DateTime',context!), 'SendEmailConfirmation': SendEmailConfirmation, 'CancellationCode': CancellationCode, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'RatingCode': RatingCode, 'TextField1': TextField1, 'TextField2': TextField2, 'TextField3': TextField3, 'TextField4': TextField4, 'TextField5': TextField5, 'TextField6': TextField6, 'TextField7': TextField7, 'TextField8': TextField8, 'TextField9': TextField9, 'TextField10': TextField10, 'TextField11': TextField11, 'TextField12': TextField12, 'TextField13': TextField13, 'TextField14': TextField14, 'TextField15': TextField15, 'TextField16': TextField16, 'TextField17': TextField17, 'TextField18': TextField18, 'TextField19': TextField19, 'TextField20': TextField20, 'From': JsonConverters.toJson(From,'DateTime',context!), 'To': JsonConverters.toJson(To,'DateTime',context!), 'ArticleInvoiceAddressId': ArticleInvoiceAddressId }); getTypeName() => "Booking"; TypeContext? context = _ctx; } class RebateCodeTransaction extends BaseModel implements IBaseModelCreated, IBaseModelUpdated, IConvertible { // @Ignore() Booking Booking; // @Ignore() RebateCode RebateCode; // @Ignore() Customer Customer; int Id = 0; String CompanyId = ""; String? Note; // @Required() int RebateCodeId = 0; // @Required() double Amount = 0; // @Required() int Usage = 0; int? BookingId; // @Required() DateTime UpdatedDate = DateTime(0); // @Required() DateTime CreatedDate = DateTime(0); RebateCodeTransaction({this.Booking,this.RebateCode,this.Customer,this.Id,this.CompanyId,this.Note,this.RebateCodeId,this.Amount,this.Usage,this.BookingId,this.UpdatedDate,this.CreatedDate}); RebateCodeTransaction.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Booking = JsonConverters.fromJson(json['Booking'],'Booking',context!); RebateCode = JsonConverters.fromJson(json['RebateCode'],'RebateCode',context!); Customer = JsonConverters.fromJson(json['Customer'],'Customer',context!); Id = json['Id']; CompanyId = json['CompanyId']; Note = json['Note']; RebateCodeId = json['RebateCodeId']; Amount = JsonConverters.toDouble(json['Amount']); Usage = json['Usage']; BookingId = json['BookingId']; UpdatedDate = JsonConverters.fromJson(json['UpdatedDate'],'DateTime',context!); CreatedDate = JsonConverters.fromJson(json['CreatedDate'],'DateTime',context!); return this; } Map toJson() => super.toJson()..addAll({ 'Booking': JsonConverters.toJson(Booking,'Booking',context!), 'RebateCode': JsonConverters.toJson(RebateCode,'RebateCode',context!), 'Customer': JsonConverters.toJson(Customer,'Customer',context!), 'Id': Id, 'CompanyId': CompanyId, 'Note': Note, 'RebateCodeId': RebateCodeId, 'Amount': Amount, 'Usage': Usage, 'BookingId': BookingId, 'UpdatedDate': JsonConverters.toJson(UpdatedDate,'DateTime',context!), 'CreatedDate': JsonConverters.toJson(CreatedDate,'DateTime',context!) }); getTypeName() => "RebateCodeTransaction"; TypeContext? context = _ctx; } class RebateCode extends PayableEntity implements IConvertible { // @References(typeof(RebateCodeType)) int RebateCodeTypeId = 0; RebateCodeType RebateCodeTypeInfo; // @References(typeof(RebateCodeStatus)) int RebateCodeStatusId = 0; RebateCodeStatus RebateCodeStatusInfo; List RebateCodeDayOfWeekRelation = []; List RebateCodeServiceRelation = []; List RebateCodeBookingPriceRelation = []; List RebateCodeCustomerRelation = []; // @Ignore() List DaysOfWeek = []; // @Ignore() RebateCodeStatus RebateCodeStatus; // @Ignore() RebateCodeType RebateCodeType; // @Ignore() List Transactions = []; // @Ignore() double? RemainingAmount; // @Ignore() int? RemainingUsage; // @Ignore() int CurrentNumberOfUsesPerCustomer = 0; // @Ignore() bool IsSpecificByDayOfWeek; // @Ignore() bool Active; // @Ignore() bool ActiveByStatus; // @Ignore() String RebateCodeCurrencySign = ""; // @Ignore() bool PaymentReceived; // @Ignore() String InternalReferenceId = ""; // @Required() DateTime ValidFrom = DateTime(0); // @Required() DateTime ValidTo = DateTime(0); // @Required() String RebateCodeSign = ""; // @Required() int RebateCodeValue = 0; // @Required() int MaxNumberOfUses = 0; // @Required() int MaxNumberOfUsesPerCustomer = 0; // @Required() int NumberOfUsesUsed = 0; String? PersonalNote; // @Required() String CreatedBy = ""; // @Required() String UpdatedBy = ""; // @Required() Duration FromTime; // @Required() Duration ToTime; DateTime? ModifiedDate; double? Price; double? VAT; int Id = 0; int? ArticleId; RebateCode({this.RebateCodeTypeId,this.RebateCodeTypeInfo,this.RebateCodeStatusId,this.RebateCodeStatusInfo,this.RebateCodeDayOfWeekRelation,this.RebateCodeServiceRelation,this.RebateCodeBookingPriceRelation,this.RebateCodeCustomerRelation,this.DaysOfWeek,this.RebateCodeStatus,this.RebateCodeType,this.Transactions,this.RemainingAmount,this.RemainingUsage,this.CurrentNumberOfUsesPerCustomer,this.IsSpecificByDayOfWeek,this.Active,this.ActiveByStatus,this.RebateCodeCurrencySign,this.PaymentReceived,this.InternalReferenceId,this.ValidFrom,this.ValidTo,this.RebateCodeSign,this.RebateCodeValue,this.MaxNumberOfUses,this.MaxNumberOfUsesPerCustomer,this.NumberOfUsesUsed,this.PersonalNote,this.CreatedBy,this.UpdatedBy,this.FromTime,this.ToTime,this.ModifiedDate,this.Price,this.VAT,this.Id,this.ArticleId}); RebateCode.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); RebateCodeTypeId = json['RebateCodeTypeId']; RebateCodeTypeInfo = JsonConverters.fromJson(json['RebateCodeTypeInfo'],'RebateCodeType',context!); RebateCodeStatusId = json['RebateCodeStatusId']; RebateCodeStatusInfo = JsonConverters.fromJson(json['RebateCodeStatusInfo'],'RebateCodeStatus',context!); RebateCodeDayOfWeekRelation = JsonConverters.fromJson(json['RebateCodeDayOfWeekRelation'],'List',context!); RebateCodeServiceRelation = JsonConverters.fromJson(json['RebateCodeServiceRelation'],'List',context!); RebateCodeBookingPriceRelation = JsonConverters.fromJson(json['RebateCodeBookingPriceRelation'],'List',context!); RebateCodeCustomerRelation = JsonConverters.fromJson(json['RebateCodeCustomerRelation'],'List',context!); DaysOfWeek = JsonConverters.fromJson(json['DaysOfWeek'],'List',context!); RebateCodeStatus = JsonConverters.fromJson(json['RebateCodeStatus'],'RebateCodeStatus',context!); RebateCodeType = JsonConverters.fromJson(json['RebateCodeType'],'RebateCodeType',context!); Transactions = JsonConverters.fromJson(json['Transactions'],'List',context!); RemainingAmount = JsonConverters.toDouble(json['RemainingAmount']); RemainingUsage = json['RemainingUsage']; CurrentNumberOfUsesPerCustomer = json['CurrentNumberOfUsesPerCustomer']; IsSpecificByDayOfWeek = json['IsSpecificByDayOfWeek']; Active = json['Active']; ActiveByStatus = json['ActiveByStatus']; RebateCodeCurrencySign = json['RebateCodeCurrencySign']; PaymentReceived = json['PaymentReceived']; InternalReferenceId = json['InternalReferenceId']; ValidFrom = JsonConverters.fromJson(json['ValidFrom'],'DateTime',context!); ValidTo = JsonConverters.fromJson(json['ValidTo'],'DateTime',context!); RebateCodeSign = json['RebateCodeSign']; RebateCodeValue = json['RebateCodeValue']; MaxNumberOfUses = json['MaxNumberOfUses']; MaxNumberOfUsesPerCustomer = json['MaxNumberOfUsesPerCustomer']; NumberOfUsesUsed = json['NumberOfUsesUsed']; PersonalNote = json['PersonalNote']; CreatedBy = json['CreatedBy']; UpdatedBy = json['UpdatedBy']; FromTime = JsonConverters.fromJson(json['FromTime'],'Duration',context!); ToTime = JsonConverters.fromJson(json['ToTime'],'Duration',context!); ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); Price = JsonConverters.toDouble(json['Price']); VAT = JsonConverters.toDouble(json['VAT']); Id = json['Id']; ArticleId = json['ArticleId']; return this; } Map toJson() => super.toJson()..addAll({ 'RebateCodeTypeId': RebateCodeTypeId, 'RebateCodeTypeInfo': JsonConverters.toJson(RebateCodeTypeInfo,'RebateCodeType',context!), 'RebateCodeStatusId': RebateCodeStatusId, 'RebateCodeStatusInfo': JsonConverters.toJson(RebateCodeStatusInfo,'RebateCodeStatus',context!), 'RebateCodeDayOfWeekRelation': JsonConverters.toJson(RebateCodeDayOfWeekRelation,'List',context!), 'RebateCodeServiceRelation': JsonConverters.toJson(RebateCodeServiceRelation,'List',context!), 'RebateCodeBookingPriceRelation': JsonConverters.toJson(RebateCodeBookingPriceRelation,'List',context!), 'RebateCodeCustomerRelation': JsonConverters.toJson(RebateCodeCustomerRelation,'List',context!), 'DaysOfWeek': JsonConverters.toJson(DaysOfWeek,'List',context!), 'RebateCodeStatus': JsonConverters.toJson(RebateCodeStatus,'RebateCodeStatus',context!), 'RebateCodeType': JsonConverters.toJson(RebateCodeType,'RebateCodeType',context!), 'Transactions': JsonConverters.toJson(Transactions,'List',context!), 'RemainingAmount': RemainingAmount, 'RemainingUsage': RemainingUsage, 'CurrentNumberOfUsesPerCustomer': CurrentNumberOfUsesPerCustomer, 'IsSpecificByDayOfWeek': IsSpecificByDayOfWeek, 'Active': Active, 'ActiveByStatus': ActiveByStatus, 'RebateCodeCurrencySign': RebateCodeCurrencySign, 'PaymentReceived': PaymentReceived, 'InternalReferenceId': InternalReferenceId, 'ValidFrom': JsonConverters.toJson(ValidFrom,'DateTime',context!), 'ValidTo': JsonConverters.toJson(ValidTo,'DateTime',context!), 'RebateCodeSign': RebateCodeSign, 'RebateCodeValue': RebateCodeValue, 'MaxNumberOfUses': MaxNumberOfUses, 'MaxNumberOfUsesPerCustomer': MaxNumberOfUsesPerCustomer, 'NumberOfUsesUsed': NumberOfUsesUsed, 'PersonalNote': PersonalNote, 'CreatedBy': CreatedBy, 'UpdatedBy': UpdatedBy, 'FromTime': JsonConverters.toJson(FromTime,'Duration',context!), 'ToTime': JsonConverters.toJson(ToTime,'Duration',context!), 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'Price': Price, 'VAT': VAT, 'Id': Id, 'ArticleId': ArticleId }); getTypeName() => "RebateCode"; TypeContext? context = _ctx; } class Customer extends BaseModel implements IUser, ICustomFieldTable, IConvertible { int IdentityId = 0; // @Ignore() String DeterministicId = ""; String Id = ""; // @Ignore() String CustomerId = ""; // @Ignore() List? AccessKeys; String Email = ""; // @Ignore() List? ExternalReferences; // @Ignore() List? InvoiceAddress; // @Ignore() InvoiceAddress MainInvoiceAddress; // @Ignore() Company Company; // @Ignore() List? CustomFieldsConfig; // @Ignore() List? CustomFieldsData; // @Ignore() List? Comments; // @Ignore() List? RebateCodes; String Firstname = ""; // @Ignore() String FullName = ""; // @Ignore() String ImageUrl = ""; // @Required() bool Active; String? FacebookUsername; // @Required() DateTime Updated = DateTime(0); // @Required() DateTime Created = DateTime(0); String? IpAddress; DateTime? ModifiedDate; String? TextField1; String? TextField2; String? TextField3; String? TextField4; String? TextField5; String? TextField6; String? TextField7; String? TextField8; String? TextField9; String? TextField10; String? TextField11; String? TextField12; String? TextField13; String? TextField14; String? TextField15; String? TextField16; String? TextField17; String? TextField18; String? TextField19; String? TextField20; String UserId = ""; String? Lastname; String? Phone; String? PersonalIdentityNumber; // @Required() String CompanyId = ""; bool SubscribedToNewsletter; Customer({this.IdentityId,this.DeterministicId,this.Id,this.CustomerId,this.AccessKeys,this.Email,this.ExternalReferences,this.InvoiceAddress,this.MainInvoiceAddress,this.Company,this.CustomFieldsConfig,this.CustomFieldsData,this.Comments,this.RebateCodes,this.Firstname,this.FullName,this.ImageUrl,this.Active,this.FacebookUsername,this.Updated,this.Created,this.IpAddress,this.ModifiedDate,this.TextField1,this.TextField2,this.TextField3,this.TextField4,this.TextField5,this.TextField6,this.TextField7,this.TextField8,this.TextField9,this.TextField10,this.TextField11,this.TextField12,this.TextField13,this.TextField14,this.TextField15,this.TextField16,this.TextField17,this.TextField18,this.TextField19,this.TextField20,this.UserId,this.Lastname,this.Phone,this.PersonalIdentityNumber,this.CompanyId,this.SubscribedToNewsletter}); Customer.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); IdentityId = json['IdentityId']; DeterministicId = json['DeterministicId']; Id = json['Id']; CustomerId = json['CustomerId']; AccessKeys = JsonConverters.fromJson(json['AccessKeys'],'List',context!); Email = json['Email']; ExternalReferences = JsonConverters.fromJson(json['ExternalReferences'],'List',context!); InvoiceAddress = JsonConverters.fromJson(json['InvoiceAddress'],'List',context!); MainInvoiceAddress = JsonConverters.fromJson(json['MainInvoiceAddress'],'InvoiceAddress',context!); Company = JsonConverters.fromJson(json['Company'],'Company',context!); CustomFieldsConfig = JsonConverters.fromJson(json['CustomFieldsConfig'],'List',context!); CustomFieldsData = JsonConverters.fromJson(json['CustomFieldsData'],'List',context!); Comments = JsonConverters.fromJson(json['Comments'],'List',context!); RebateCodes = JsonConverters.fromJson(json['RebateCodes'],'List',context!); Firstname = json['Firstname']; FullName = json['FullName']; ImageUrl = json['ImageUrl']; Active = json['Active']; FacebookUsername = json['FacebookUsername']; Updated = JsonConverters.fromJson(json['Updated'],'DateTime',context!); Created = JsonConverters.fromJson(json['Created'],'DateTime',context!); IpAddress = json['IpAddress']; ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); TextField1 = json['TextField1']; TextField2 = json['TextField2']; TextField3 = json['TextField3']; TextField4 = json['TextField4']; TextField5 = json['TextField5']; TextField6 = json['TextField6']; TextField7 = json['TextField7']; TextField8 = json['TextField8']; TextField9 = json['TextField9']; TextField10 = json['TextField10']; TextField11 = json['TextField11']; TextField12 = json['TextField12']; TextField13 = json['TextField13']; TextField14 = json['TextField14']; TextField15 = json['TextField15']; TextField16 = json['TextField16']; TextField17 = json['TextField17']; TextField18 = json['TextField18']; TextField19 = json['TextField19']; TextField20 = json['TextField20']; UserId = json['UserId']; Lastname = json['Lastname']; Phone = json['Phone']; PersonalIdentityNumber = json['PersonalIdentityNumber']; CompanyId = json['CompanyId']; SubscribedToNewsletter = json['SubscribedToNewsletter']; return this; } Map toJson() => super.toJson()..addAll({ 'IdentityId': IdentityId, 'DeterministicId': DeterministicId, 'Id': Id, 'CustomerId': CustomerId, 'AccessKeys': JsonConverters.toJson(AccessKeys,'List',context!), 'Email': Email, 'ExternalReferences': JsonConverters.toJson(ExternalReferences,'List',context!), 'InvoiceAddress': JsonConverters.toJson(InvoiceAddress,'List',context!), 'MainInvoiceAddress': JsonConverters.toJson(MainInvoiceAddress,'InvoiceAddress',context!), 'Company': JsonConverters.toJson(Company,'Company',context!), 'CustomFieldsConfig': JsonConverters.toJson(CustomFieldsConfig,'List',context!), 'CustomFieldsData': JsonConverters.toJson(CustomFieldsData,'List',context!), 'Comments': JsonConverters.toJson(Comments,'List',context!), 'RebateCodes': JsonConverters.toJson(RebateCodes,'List',context!), 'Firstname': Firstname, 'FullName': FullName, 'ImageUrl': ImageUrl, 'Active': Active, 'FacebookUsername': FacebookUsername, 'Updated': JsonConverters.toJson(Updated,'DateTime',context!), 'Created': JsonConverters.toJson(Created,'DateTime',context!), 'IpAddress': IpAddress, 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'TextField1': TextField1, 'TextField2': TextField2, 'TextField3': TextField3, 'TextField4': TextField4, 'TextField5': TextField5, 'TextField6': TextField6, 'TextField7': TextField7, 'TextField8': TextField8, 'TextField9': TextField9, 'TextField10': TextField10, 'TextField11': TextField11, 'TextField12': TextField12, 'TextField13': TextField13, 'TextField14': TextField14, 'TextField15': TextField15, 'TextField16': TextField16, 'TextField17': TextField17, 'TextField18': TextField18, 'TextField19': TextField19, 'TextField20': TextField20, 'UserId': UserId, 'Lastname': Lastname, 'Phone': Phone, 'PersonalIdentityNumber': PersonalIdentityNumber, 'CompanyId': CompanyId, 'SubscribedToNewsletter': SubscribedToNewsletter }); getTypeName() => "Customer"; TypeContext? context = _ctx; } class ArticleInvoiceAddress extends BaseModel implements IBaseModelCreated, IBaseModelUpdated, IConvertible { // @Required() String ArticleInvoiceAddressId = ""; // @Required() String CompanyId = ""; // @Required() String InternalReferenceId = ""; // @Required() int ArticleTypeId = 0; String? CorporateIdentityNumber; String? InvoiceAddress1; String? InvoiceAddress2; String? InvoiceCity; String? InvoicePostalCode; String? InvoiceCountryCode; // @Required() DateTime UpdatedDate = DateTime(0); // @Required() DateTime CreatedDate = DateTime(0); ArticleInvoiceAddress({this.ArticleInvoiceAddressId,this.CompanyId,this.InternalReferenceId,this.ArticleTypeId,this.CorporateIdentityNumber,this.InvoiceAddress1,this.InvoiceAddress2,this.InvoiceCity,this.InvoicePostalCode,this.InvoiceCountryCode,this.UpdatedDate,this.CreatedDate}); ArticleInvoiceAddress.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ArticleInvoiceAddressId = json['ArticleInvoiceAddressId']; CompanyId = json['CompanyId']; InternalReferenceId = json['InternalReferenceId']; ArticleTypeId = json['ArticleTypeId']; CorporateIdentityNumber = json['CorporateIdentityNumber']; InvoiceAddress1 = json['InvoiceAddress1']; InvoiceAddress2 = json['InvoiceAddress2']; InvoiceCity = json['InvoiceCity']; InvoicePostalCode = json['InvoicePostalCode']; InvoiceCountryCode = json['InvoiceCountryCode']; UpdatedDate = JsonConverters.fromJson(json['UpdatedDate'],'DateTime',context!); CreatedDate = JsonConverters.fromJson(json['CreatedDate'],'DateTime',context!); return this; } Map toJson() => super.toJson()..addAll({ 'ArticleInvoiceAddressId': ArticleInvoiceAddressId, 'CompanyId': CompanyId, 'InternalReferenceId': InternalReferenceId, 'ArticleTypeId': ArticleTypeId, 'CorporateIdentityNumber': CorporateIdentityNumber, 'InvoiceAddress1': InvoiceAddress1, 'InvoiceAddress2': InvoiceAddress2, 'InvoiceCity': InvoiceCity, 'InvoicePostalCode': InvoicePostalCode, 'InvoiceCountryCode': InvoiceCountryCode, 'UpdatedDate': JsonConverters.toJson(UpdatedDate,'DateTime',context!), 'CreatedDate': JsonConverters.toJson(CreatedDate,'DateTime',context!) }); getTypeName() => "ArticleInvoiceAddress"; TypeContext? context = _ctx; } abstract class PayableEntity extends BaseModel { // @Ignore() IDbConnectionFactory? DbFactory; // @Ignore() ArticlePaymentSettings ArticlePaymentSettings; // @Ignore() IBokameraPaymentManager? QvicklyPaymentManager; // @Ignore() IBokameraPaymentManager? StripePaymentManager; // @Ignore() ILogger1? Logger; // @Ignore() CacheDataProvider CacheProvider; // @Ignore() String ServicesNames = ""; // @Ignore() String InternalReferenceId = ""; // @Ignore() List PaymentLog = []; // @Ignore() ArticleType ArticleType; String CompanyId = ""; // @Required() DateTime UpdatedDate = DateTime(0); // @Required() DateTime CreatedDate = DateTime(0); // @References(typeof(Currency)) String CurrencyId = ""; Currency CurrencyInfo; // @Ignore() Customer? Customer; // @Ignore() List? Customers; // @Ignore() Company Company; // @Ignore() List Services = []; // @Ignore() Article Article; // @Ignore() ArticleInvoiceAddress InvoiceAddress; PayableEntity({this.DbFactory,this.ArticlePaymentSettings,this.QvicklyPaymentManager,this.StripePaymentManager,this.Logger,this.CacheProvider,this.ServicesNames,this.InternalReferenceId,this.PaymentLog,this.ArticleType,this.CompanyId,this.UpdatedDate,this.CreatedDate,this.CurrencyId,this.CurrencyInfo,this.Customer,this.Customers,this.Company,this.Services,this.Article,this.InvoiceAddress}); PayableEntity.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); DbFactory = JsonConverters.fromJson(json['DbFactory'],'IDbConnectionFactory',context!); ArticlePaymentSettings = JsonConverters.fromJson(json['ArticlePaymentSettings'],'ArticlePaymentSettings',context!); QvicklyPaymentManager = JsonConverters.fromJson(json['QvicklyPaymentManager'],'IBokameraPaymentManager',context!); StripePaymentManager = JsonConverters.fromJson(json['StripePaymentManager'],'IBokameraPaymentManager',context!); Logger = JsonConverters.fromJson(json['Logger'],'ILogger1',context!); CacheProvider = JsonConverters.fromJson(json['CacheProvider'],'CacheDataProvider',context!); ServicesNames = json['ServicesNames']; InternalReferenceId = json['InternalReferenceId']; PaymentLog = JsonConverters.fromJson(json['PaymentLog'],'List',context!); ArticleType = JsonConverters.fromJson(json['ArticleType'],'ArticleType',context!); CompanyId = json['CompanyId']; UpdatedDate = JsonConverters.fromJson(json['UpdatedDate'],'DateTime',context!); CreatedDate = JsonConverters.fromJson(json['CreatedDate'],'DateTime',context!); CurrencyId = json['CurrencyId']; CurrencyInfo = JsonConverters.fromJson(json['CurrencyInfo'],'Currency',context!); Customer = JsonConverters.fromJson(json['Customer'],'Customer',context!); Customers = JsonConverters.fromJson(json['Customers'],'List',context!); Company = JsonConverters.fromJson(json['Company'],'Company',context!); Services = JsonConverters.fromJson(json['Services'],'List',context!); Article = JsonConverters.fromJson(json['Article'],'Article',context!); InvoiceAddress = JsonConverters.fromJson(json['InvoiceAddress'],'ArticleInvoiceAddress',context!); return this; } Map toJson() => super.toJson()..addAll({ 'DbFactory': JsonConverters.toJson(DbFactory,'IDbConnectionFactory',context!), 'ArticlePaymentSettings': JsonConverters.toJson(ArticlePaymentSettings,'ArticlePaymentSettings',context!), 'QvicklyPaymentManager': JsonConverters.toJson(QvicklyPaymentManager,'IBokameraPaymentManager',context!), 'StripePaymentManager': JsonConverters.toJson(StripePaymentManager,'IBokameraPaymentManager',context!), 'Logger': JsonConverters.toJson(Logger,'ILogger1',context!), 'CacheProvider': JsonConverters.toJson(CacheProvider,'CacheDataProvider',context!), 'ServicesNames': ServicesNames, 'InternalReferenceId': InternalReferenceId, 'PaymentLog': JsonConverters.toJson(PaymentLog,'List',context!), 'ArticleType': JsonConverters.toJson(ArticleType,'ArticleType',context!), 'CompanyId': CompanyId, 'UpdatedDate': JsonConverters.toJson(UpdatedDate,'DateTime',context!), 'CreatedDate': JsonConverters.toJson(CreatedDate,'DateTime',context!), 'CurrencyId': CurrencyId, 'CurrencyInfo': JsonConverters.toJson(CurrencyInfo,'Currency',context!), 'Customer': JsonConverters.toJson(Customer,'Customer',context!), 'Customers': JsonConverters.toJson(Customers,'List',context!), 'Company': JsonConverters.toJson(Company,'Company',context!), 'Services': JsonConverters.toJson(Services,'List',context!), 'Article': JsonConverters.toJson(Article,'Article',context!), 'InvoiceAddress': JsonConverters.toJson(InvoiceAddress,'ArticleInvoiceAddress',context!) }); getTypeName() => "PayableEntity"; TypeContext? context = _ctx; } abstract class IInterval { DateTime From = DateTime(0); DateTime To = DateTime(0); } class InvoiceAddressResponse implements IConvertible { String InvoiceAddressId = ""; String? UserId; String CorporateIdentityNumber = ""; String InvoiceAddress1 = ""; String InvoiceAddress2 = ""; String InvoiceCity = ""; String InvoicePostalCode = ""; String InvoiceCountryCode = ""; InvoiceAddressResponse({this.InvoiceAddressId,this.UserId,this.CorporateIdentityNumber,this.InvoiceAddress1,this.InvoiceAddress2,this.InvoiceCity,this.InvoicePostalCode,this.InvoiceCountryCode}); InvoiceAddressResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { InvoiceAddressId = json['InvoiceAddressId']; UserId = json['UserId']; CorporateIdentityNumber = json['CorporateIdentityNumber']; InvoiceAddress1 = json['InvoiceAddress1']; InvoiceAddress2 = json['InvoiceAddress2']; InvoiceCity = json['InvoiceCity']; InvoicePostalCode = json['InvoicePostalCode']; InvoiceCountryCode = json['InvoiceCountryCode']; return this; } Map toJson() => { 'InvoiceAddressId': InvoiceAddressId, 'UserId': UserId, 'CorporateIdentityNumber': CorporateIdentityNumber, 'InvoiceAddress1': InvoiceAddress1, 'InvoiceAddress2': InvoiceAddress2, 'InvoiceCity': InvoiceCity, 'InvoicePostalCode': InvoicePostalCode, 'InvoiceCountryCode': InvoiceCountryCode }; getTypeName() => "InvoiceAddressResponse"; TypeContext? context = _ctx; } class GroupBookingSettings implements IConvertible { bool Active; int Min = 0; int Max = 0; GroupBookingSettings({this.Active,this.Min,this.Max}); GroupBookingSettings.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Active = json['Active']; Min = json['Min']; Max = json['Max']; return this; } Map toJson() => { 'Active': Active, 'Min': Min, 'Max': Max }; getTypeName() => "GroupBookingSettings"; TypeContext? context = _ctx; } class MultipleResourceSettings implements IConvertible { bool Active; int Min = 0; int Max = 0; MultipleResourceSettings({this.Active,this.Min,this.Max}); MultipleResourceSettings.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Active = json['Active']; Min = json['Min']; Max = json['Max']; return this; } Map toJson() => { 'Active': Active, 'Min': Min, 'Max': Max }; getTypeName() => "MultipleResourceSettings"; TypeContext? context = _ctx; } class CustomFieldValueResponse implements IConvertible { String Value = ""; CustomFieldValueResponse({this.Value}); CustomFieldValueResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Value = json['Value']; return this; } Map toJson() => { 'Value': Value }; getTypeName() => "CustomFieldValueResponse"; TypeContext? context = _ctx; } class CustomFieldConfigData implements IConvertible { /** * Custom field id */ // @ApiMember(Description="Custom field id") int Id = 0; /** * Configuration name. Example: 'Number of persons'. */ // @ApiMember(Description="Configuration name. Example: 'Number of persons'.") String Name = ""; /** * Custom field description. Example: 'For how many persons is this booking?' */ // @ApiMember(Description="Custom field description. Example: 'For how many persons is this booking?'") String Description = ""; /** * Field width. Example: 20 for 20px */ // @ApiMember(Description="Field width. Example: 20 for 20px") int? Width; /** * Data field of custom field. Valid values are: TextBox, ... Example: 'TextBox' */ // @ApiMember(Description="Data field of custom field. Valid values are: TextBox, ... Example: 'TextBox'") String DataType = ""; /** * Default value of the field. Example: '3' */ // @ApiMember(Description="Default value of the field. Example: '3'") String DefaultValue = ""; /** * Determines if the field is required to have a value or not */ // @ApiMember(Description="Determines if the field is required to have a value or not") bool IsMandatory; /** * Error message shown to the user if the field data is required but not entered */ // @ApiMember(Description="Error message shown to the user if the field data is required but not entered") String MandatoryErrorMessage = ""; /** * Max lenght of the field */ // @ApiMember(Description="Max lenght of the field") int MaxLength = 0; /** * If the field should have multiple lines */ // @ApiMember(Description="If the field should have multiple lines") bool MultipleLineText; /** * Regular expression used for validation of the field */ // @ApiMember(Description="Regular expression used for validation of the field") String RegEx = ""; /** * Error message shown if the regular expression validation failed */ // @ApiMember(Description="Error message shown if the regular expression validation failed") String RegExErrorMessage = ""; /** * The values to select from if Datatype is DropDown for this custom field */ // @ApiMember(Description="The values to select from if Datatype is DropDown for this custom field") List Values = []; CustomFieldConfigData({this.Id,this.Name,this.Description,this.Width,this.DataType,this.DefaultValue,this.IsMandatory,this.MandatoryErrorMessage,this.MaxLength,this.MultipleLineText,this.RegEx,this.RegExErrorMessage,this.Values}); CustomFieldConfigData.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Name = json['Name']; Description = json['Description']; Width = json['Width']; DataType = json['DataType']; DefaultValue = json['DefaultValue']; IsMandatory = json['IsMandatory']; MandatoryErrorMessage = json['MandatoryErrorMessage']; MaxLength = json['MaxLength']; MultipleLineText = json['MultipleLineText']; RegEx = json['RegEx']; RegExErrorMessage = json['RegExErrorMessage']; Values = JsonConverters.fromJson(json['Values'],'List',context!); return this; } Map toJson() => { 'Id': Id, 'Name': Name, 'Description': Description, 'Width': Width, 'DataType': DataType, 'DefaultValue': DefaultValue, 'IsMandatory': IsMandatory, 'MandatoryErrorMessage': MandatoryErrorMessage, 'MaxLength': MaxLength, 'MultipleLineText': MultipleLineText, 'RegEx': RegEx, 'RegExErrorMessage': RegExErrorMessage, 'Values': JsonConverters.toJson(Values,'List',context!) }; getTypeName() => "CustomFieldConfigData"; TypeContext? context = _ctx; } class BookedCompany implements IConvertible { String Id = ""; String Name = ""; Uri LogoType; String Category = ""; String Street1 = ""; String Street2 = ""; String ZipCode = ""; String City = ""; String CountryId = ""; String Longitude = ""; String Latitude = ""; String Phone = ""; String Email = ""; String HomePage = ""; String SitePath = ""; bool IsFavorite; int? PaymentProviderId; BookedCompany({this.Id,this.Name,this.LogoType,this.Category,this.Street1,this.Street2,this.ZipCode,this.City,this.CountryId,this.Longitude,this.Latitude,this.Phone,this.Email,this.HomePage,this.SitePath,this.IsFavorite,this.PaymentProviderId}); BookedCompany.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Name = json['Name']; LogoType = JsonConverters.fromJson(json['LogoType'],'Uri',context!); Category = json['Category']; Street1 = json['Street1']; Street2 = json['Street2']; ZipCode = json['ZipCode']; City = json['City']; CountryId = json['CountryId']; Longitude = json['Longitude']; Latitude = json['Latitude']; Phone = json['Phone']; Email = json['Email']; HomePage = json['HomePage']; SitePath = json['SitePath']; IsFavorite = json['IsFavorite']; PaymentProviderId = json['PaymentProviderId']; return this; } Map toJson() => { 'Id': Id, 'Name': Name, 'LogoType': JsonConverters.toJson(LogoType,'Uri',context!), 'Category': Category, 'Street1': Street1, 'Street2': Street2, 'ZipCode': ZipCode, 'City': City, 'CountryId': CountryId, 'Longitude': Longitude, 'Latitude': Latitude, 'Phone': Phone, 'Email': Email, 'HomePage': HomePage, 'SitePath': SitePath, 'IsFavorite': IsFavorite, 'PaymentProviderId': PaymentProviderId }; getTypeName() => "BookedCompany"; TypeContext? context = _ctx; } class ServiceInfoResponse implements IConvertible { int Id = 0; String Name = ""; String Description = ""; Uri ImageUrl; int? LengthInMinutes; int MaxNumberOfSpotsPerBooking = 0; int MinNumberOfSpotsPerBooking = 0; GroupBookingSettings GroupBooking; MultipleResourceSettings MultipleResource; bool IsGroupBooking; bool IsPaymentEnabled; ServiceInfoResponse({this.Id,this.Name,this.Description,this.ImageUrl,this.LengthInMinutes,this.MaxNumberOfSpotsPerBooking,this.MinNumberOfSpotsPerBooking,this.GroupBooking,this.MultipleResource,this.IsGroupBooking,this.IsPaymentEnabled}); ServiceInfoResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Name = json['Name']; Description = json['Description']; ImageUrl = JsonConverters.fromJson(json['ImageUrl'],'Uri',context!); LengthInMinutes = json['LengthInMinutes']; MaxNumberOfSpotsPerBooking = json['MaxNumberOfSpotsPerBooking']; MinNumberOfSpotsPerBooking = json['MinNumberOfSpotsPerBooking']; GroupBooking = JsonConverters.fromJson(json['GroupBooking'],'GroupBookingSettings',context!); MultipleResource = JsonConverters.fromJson(json['MultipleResource'],'MultipleResourceSettings',context!); IsGroupBooking = json['IsGroupBooking']; IsPaymentEnabled = json['IsPaymentEnabled']; return this; } Map toJson() => { 'Id': Id, 'Name': Name, 'Description': Description, 'ImageUrl': JsonConverters.toJson(ImageUrl,'Uri',context!), 'LengthInMinutes': LengthInMinutes, 'MaxNumberOfSpotsPerBooking': MaxNumberOfSpotsPerBooking, 'MinNumberOfSpotsPerBooking': MinNumberOfSpotsPerBooking, 'GroupBooking': JsonConverters.toJson(GroupBooking,'GroupBookingSettings',context!), 'MultipleResource': JsonConverters.toJson(MultipleResource,'MultipleResourceSettings',context!), 'IsGroupBooking': IsGroupBooking, 'IsPaymentEnabled': IsPaymentEnabled }; getTypeName() => "ServiceInfoResponse"; TypeContext? context = _ctx; } class CurrencyInfoResponse implements IConvertible { /** * The currency id */ // @ApiMember(Description="The currency id") String Id = ""; /** * The currency id */ // @ApiMember(Description="The currency id") String Name = ""; /** * The currency id */ // @ApiMember(Description="The currency id") String CurrencySign = ""; CurrencyInfoResponse({this.Id,this.Name,this.CurrencySign}); CurrencyInfoResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Name = json['Name']; CurrencySign = json['CurrencySign']; return this; } Map toJson() => { 'Id': Id, 'Name': Name, 'CurrencySign': CurrencySign }; getTypeName() => "CurrencyInfoResponse"; TypeContext? context = _ctx; } class BookingPaymentLogQueryResponse implements IConvertible { /** * The booking payment log id */ // @ApiMember(Description="The booking payment log id") int Id = 0; /** * The booking id */ // @ApiMember(Description="The booking id") int BookingId = 0; /** * The payment reference id */ // @ApiMember(Description="The payment reference id") String PaymentReferenceId = ""; /** * The payment order item reference id */ // @ApiMember(Description="The payment order item reference id") String OrderItemReferenceId = ""; /** * The payment reference id */ // @ApiMember(Description="The payment reference id") int? PaymentProviderId; /** * The payment amount */ // @ApiMember(Description="The payment amount") double Amount = 0; /** * The payment VAT in percent */ // @ApiMember(Description="The payment VAT in percent") double VAT = 0; /** * The payment amount that is credited */ // @ApiMember(Description="The payment amount that is credited") double AmountCredited = 0; /** * The payment currency id */ // @ApiMember(Description="The payment currency id") String CurrencyId = ""; /** * The payment currency info */ // @ApiMember(Description="The payment currency info") CurrencyInfoResponse CurrencyInfo; /** * Comments that could be added to the event log item */ // @ApiMember(Description="Comments that could be added to the event log item") String Comments = ""; /** * The date when the payment items was created */ // @ApiMember(Description="The date when the payment items was created") DateTime Created = DateTime(0); /** * The date when the payment items were updated. */ // @ApiMember(Description="The date when the payment items were updated.") DateTime Updated = DateTime(0); BookingPaymentLogQueryResponse({this.Id,this.BookingId,this.PaymentReferenceId,this.OrderItemReferenceId,this.PaymentProviderId,this.Amount,this.VAT,this.AmountCredited,this.CurrencyId,this.CurrencyInfo,this.Comments,this.Created,this.Updated}); BookingPaymentLogQueryResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; BookingId = json['BookingId']; PaymentReferenceId = json['PaymentReferenceId']; OrderItemReferenceId = json['OrderItemReferenceId']; PaymentProviderId = json['PaymentProviderId']; Amount = JsonConverters.toDouble(json['Amount']); VAT = JsonConverters.toDouble(json['VAT']); AmountCredited = JsonConverters.toDouble(json['AmountCredited']); CurrencyId = json['CurrencyId']; CurrencyInfo = JsonConverters.fromJson(json['CurrencyInfo'],'CurrencyInfoResponse',context!); Comments = json['Comments']; Created = JsonConverters.fromJson(json['Created'],'DateTime',context!); Updated = JsonConverters.fromJson(json['Updated'],'DateTime',context!); return this; } Map toJson() => { 'Id': Id, 'BookingId': BookingId, 'PaymentReferenceId': PaymentReferenceId, 'OrderItemReferenceId': OrderItemReferenceId, 'PaymentProviderId': PaymentProviderId, 'Amount': Amount, 'VAT': VAT, 'AmountCredited': AmountCredited, 'CurrencyId': CurrencyId, 'CurrencyInfo': JsonConverters.toJson(CurrencyInfo,'CurrencyInfoResponse',context!), 'Comments': Comments, 'Created': JsonConverters.toJson(Created,'DateTime',context!), 'Updated': JsonConverters.toJson(Updated,'DateTime',context!) }; getTypeName() => "BookingPaymentLogQueryResponse"; TypeContext? context = _ctx; } class BookingCheckoutQueryResponse implements IConvertible { /** * The checkout id */ // @ApiMember(Description="The checkout id") String Id = ""; /** * The booking id */ // @ApiMember(Description="The booking id") int BookingId = 0; /** * The purchase id */ // @ApiMember(Description="The purchase id") int? PurchaseId; /** * The payment checkout expiration datetime */ // @ApiMember(Description="The payment checkout expiration datetime") DateTime? ExpirationTime; /** * The payment snippet code */ // @ApiMember(Description="The payment snippet code") String Snippet = ""; /** * The payment status */ // @ApiMember(Description="The payment status") String Status = ""; /** * Log message */ // @ApiMember(Description="Log message") String Message = ""; /** * When the checkout log item was created */ // @ApiMember(Description="When the checkout log item was created") DateTime Created = DateTime(0); /** * When the checkout log item was updated */ // @ApiMember(Description="When the checkout log item was updated") DateTime Updated = DateTime(0); BookingCheckoutQueryResponse({this.Id,this.BookingId,this.PurchaseId,this.ExpirationTime,this.Snippet,this.Status,this.Message,this.Created,this.Updated}); BookingCheckoutQueryResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; BookingId = json['BookingId']; PurchaseId = json['PurchaseId']; ExpirationTime = JsonConverters.fromJson(json['ExpirationTime'],'DateTime',context!); Snippet = json['Snippet']; Status = json['Status']; Message = json['Message']; Created = JsonConverters.fromJson(json['Created'],'DateTime',context!); Updated = JsonConverters.fromJson(json['Updated'],'DateTime',context!); return this; } Map toJson() => { 'Id': Id, 'BookingId': BookingId, 'PurchaseId': PurchaseId, 'ExpirationTime': JsonConverters.toJson(ExpirationTime,'DateTime',context!), 'Snippet': Snippet, 'Status': Status, 'Message': Message, 'Created': JsonConverters.toJson(Created,'DateTime',context!), 'Updated': JsonConverters.toJson(Updated,'DateTime',context!) }; getTypeName() => "BookingCheckoutQueryResponse"; TypeContext? context = _ctx; } class ExternalReferenceResponse implements IConvertible { String CompanyId = ""; String Id = ""; String OwnerId = ""; String ReferenceType = ""; int ReferenceTypeId = 0; String ExternalData = ""; String CreatedBy = ""; DateTime Updated = DateTime(0); DateTime Created = DateTime(0); ExternalReferenceResponse({this.CompanyId,this.Id,this.OwnerId,this.ReferenceType,this.ReferenceTypeId,this.ExternalData,this.CreatedBy,this.Updated,this.Created}); ExternalReferenceResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CompanyId = json['CompanyId']; Id = json['Id']; OwnerId = json['OwnerId']; ReferenceType = json['ReferenceType']; ReferenceTypeId = json['ReferenceTypeId']; ExternalData = json['ExternalData']; CreatedBy = json['CreatedBy']; Updated = JsonConverters.fromJson(json['Updated'],'DateTime',context!); Created = JsonConverters.fromJson(json['Created'],'DateTime',context!); return this; } Map toJson() => { 'CompanyId': CompanyId, 'Id': Id, 'OwnerId': OwnerId, 'ReferenceType': ReferenceType, 'ReferenceTypeId': ReferenceTypeId, 'ExternalData': ExternalData, 'CreatedBy': CreatedBy, 'Updated': JsonConverters.toJson(Updated,'DateTime',context!), 'Created': JsonConverters.toJson(Created,'DateTime',context!) }; getTypeName() => "ExternalReferenceResponse"; TypeContext? context = _ctx; } abstract class IBaseModelCreated { DateTime CreatedDate = DateTime(0); } abstract class IBaseModelUpdated { DateTime UpdatedDate = DateTime(0); } abstract class IBokameraPaymentManager { } abstract class ILogger1 extends ILogger { } abstract class ICustomFieldTable { List? CustomFieldsConfig; List? CustomFieldsData; String TextField1 = ""; String TextField2 = ""; String TextField3 = ""; String TextField4 = ""; String TextField5 = ""; String TextField6 = ""; String TextField7 = ""; String TextField8 = ""; String TextField9 = ""; String TextField10 = ""; String TextField11 = ""; String TextField12 = ""; String TextField13 = ""; String TextField14 = ""; String TextField15 = ""; String TextField16 = ""; String TextField17 = ""; String TextField18 = ""; String TextField19 = ""; String TextField20 = ""; } abstract class IInvoiceAddress { String CorporateIdentityNumber = ""; String InvoiceAddress1 = ""; String InvoiceAddress2 = ""; String InvoiceCity = ""; String InvoicePostalCode = ""; String InvoiceCountryCode = ""; } class CustomApiResult implements IConvertible { TResult? Data; bool Success; String? ErrorMessage; HttpStatusCode? StatusCode; String? RawResponse; CustomApiResult({this.Data,this.Success,this.ErrorMessage,this.StatusCode,this.RawResponse}); CustomApiResult.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Data = JsonConverters.fromJson(json['Data'],'TResult',context!); Success = json['Success']; ErrorMessage = json['ErrorMessage']; StatusCode = JsonConverters.fromJson(json['StatusCode'],'HttpStatusCode',context!); RawResponse = json['RawResponse']; return this; } Map toJson() => { 'Data': JsonConverters.toJson(Data,'TResult',context!), 'Success': Success, 'ErrorMessage': ErrorMessage, 'StatusCode': JsonConverters.toJson(StatusCode,'HttpStatusCode',context!), 'RawResponse': RawResponse }; getTypeName() => "CustomApiResult<$TResult>"; TypeContext? context = _ctx; } abstract class IUser { String Id = ""; String UserId = ""; String Email = ""; String Firstname = ""; String Lastname = ""; String Phone = ""; } class Credentials implements IConvertible { String hash = ""; String id = ""; String version = ""; String client = ""; ServerData serverdata; String time = ""; String test = ""; String language = ""; Credentials({this.hash,this.id,this.version,this.client,this.serverdata,this.time,this.test,this.language}); Credentials.fromJson(Map json) { fromMap(json); } fromMap(Map json) { hash = json['hash']; id = json['id']; version = json['version']; client = json['client']; serverdata = JsonConverters.fromJson(json['serverdata'],'ServerData',context!); time = json['time']; test = json['test']; language = json['language']; return this; } Map toJson() => { 'hash': hash, 'id': id, 'version': version, 'client': client, 'serverdata': JsonConverters.toJson(serverdata,'ServerData',context!), 'time': time, 'test': test, 'language': language }; getTypeName() => "Credentials"; TypeContext? context = _ctx; } abstract class ILogger { } class Shipping implements IConvertible { String firstname = ""; String lastname = ""; String company = ""; String street = ""; String street2 = ""; String zip = ""; String city = ""; String country = ""; String phone = ""; String withouttax = ""; String taxrate = ""; Shipping({this.firstname,this.lastname,this.company,this.street,this.street2,this.zip,this.city,this.country,this.phone,this.withouttax,this.taxrate}); Shipping.fromJson(Map json) { fromMap(json); } fromMap(Map json) { firstname = json['firstname']; lastname = json['lastname']; company = json['company']; street = json['street']; street2 = json['street2']; zip = json['zip']; city = json['city']; country = json['country']; phone = json['phone']; withouttax = json['withouttax']; taxrate = json['taxrate']; return this; } Map toJson() => { 'firstname': firstname, 'lastname': lastname, 'company': company, 'street': street, 'street2': street2, 'zip': zip, 'city': city, 'country': country, 'phone': phone, 'withouttax': withouttax, 'taxrate': taxrate }; getTypeName() => "Shipping"; TypeContext? context = _ctx; } abstract class INestedOptions { } abstract class IHasMetadata { Map? Metadata; } abstract class AnyOf implements IAnyOf { dynamic? Value; String? Type; AnyOf({this.Value,this.Type}); AnyOf.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Value = JsonConverters.fromJson(json['Value'],'dynamic',context!); Type = JsonConverters.fromJson(json['Type'],'String',context!); return this; } Map toJson() => { 'Value': JsonConverters.toJson(Value,'dynamic',context!), 'Type': JsonConverters.toJson(Type,'String',context!) }; getTypeName() => "AnyOf"; TypeContext? context = _ctx; } class AnyOf2 extends AnyOf implements IConvertible { dynamic? Value; String? Type; AnyOf2({this.Value,this.Type}); AnyOf2.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Value = JsonConverters.fromJson(json['Value'],'dynamic',context!); Type = JsonConverters.fromJson(json['Type'],'String',context!); return this; } Map toJson() => super.toJson()..addAll({ 'Value': JsonConverters.toJson(Value,'dynamic',context!), 'Type': JsonConverters.toJson(Type,'String',context!) }); getTypeName() => "AnyOf<$T1,$T2>"; TypeContext? context = _ctx; } class StripeList extends StripeEntity1> implements IHasObject, IConvertible { StripeList(); StripeList.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "StripeList<$T>"; TypeContext? context = _ctx; } abstract class StripeResponseBase { HttpStatusCode StatusCode; HttpResponseHeaders? Headers; DateTime? Date; String? IdempotencyKey; String? RequestId; StripeResponseBase({this.StatusCode,this.Headers,this.Date,this.IdempotencyKey,this.RequestId}); StripeResponseBase.fromJson(Map json) { fromMap(json); } fromMap(Map json) { StatusCode = JsonConverters.fromJson(json['StatusCode'],'HttpStatusCode',context!); Headers = JsonConverters.fromJson(json['Headers'],'HttpResponseHeaders',context!); Date = JsonConverters.fromJson(json['Date'],'DateTime',context!); IdempotencyKey = json['IdempotencyKey']; RequestId = json['RequestId']; return this; } Map toJson() => { 'StatusCode': JsonConverters.toJson(StatusCode,'HttpStatusCode',context!), 'Headers': JsonConverters.toJson(Headers,'HttpResponseHeaders',context!), 'Date': JsonConverters.toJson(Date,'DateTime',context!), 'IdempotencyKey': IdempotencyKey, 'RequestId': RequestId }; getTypeName() => "StripeResponseBase"; TypeContext? context = _ctx; } class StripeResponse extends StripeResponseBase implements IConvertible { String? Content; StripeResponse({this.Content}); StripeResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Content = json['Content']; return this; } Map toJson() => super.toJson()..addAll({ 'Content': Content }); getTypeName() => "StripeResponse"; TypeContext? context = _ctx; } abstract class IStripeEntity { StripeResponse? StripeResponse; } abstract class IHasId { String? Id; } abstract class IHasObject { String? Object; } abstract class IAnyOf { dynamic? Value; String? Type; } class BookingLogQueryResponse implements IConvertible { /** * The booking log id */ // @ApiMember(Description="The booking log id") int Id = 0; /** * The booking id */ // @ApiMember(Description="The booking id") int BookingId = 0; /** * The type of event */ // @ApiMember(Description="The type of event") int EventTypeId = 0; /** * The type of event */ // @ApiMember(Description="The type of event") BookingLogEventTypeResponse EventType; /** * Comments that could be added to the event log item */ // @ApiMember(Description="Comments that could be added to the event log item") String Comments = ""; /** * The user created the event */ // @ApiMember(Description="The user created the event") String UserName = ""; /** * The date when the event occurred */ // @ApiMember(Description="The date when the event occurred") DateTime Created = DateTime(0); BookingLogQueryResponse({this.Id,this.BookingId,this.EventTypeId,this.EventType,this.Comments,this.UserName,this.Created}); BookingLogQueryResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; BookingId = json['BookingId']; EventTypeId = json['EventTypeId']; EventType = JsonConverters.fromJson(json['EventType'],'BookingLogEventTypeResponse',context!); Comments = json['Comments']; UserName = json['UserName']; Created = JsonConverters.fromJson(json['Created'],'DateTime',context!); return this; } Map toJson() => { 'Id': Id, 'BookingId': BookingId, 'EventTypeId': EventTypeId, 'EventType': JsonConverters.toJson(EventType,'BookingLogEventTypeResponse',context!), 'Comments': Comments, 'UserName': UserName, 'Created': JsonConverters.toJson(Created,'DateTime',context!) }; getTypeName() => "BookingLogQueryResponse"; TypeContext? context = _ctx; } class BookedQuantity implements IConvertible { /** * The quantity Id */ // @ApiMember(Description="The quantity Id") int Id = 0; /** * The quantity for booked on this price category */ // @ApiMember(Description="The quantity for booked on this price category") int Quantity = 0; /** * The price */ // @ApiMember(Description="The price") double? Price; /** * The price bofore rebate codes */ // @ApiMember(Description="The price bofore rebate codes") double? PriceBeforeRebate; /** * The price currency */ // @ApiMember(Description="The price currency") String CurrencyId = ""; /** * The price sign */ // @ApiMember(Description="The price sign") String PriceSign = ""; /** * The price category */ // @ApiMember(Description="The price category") String Category = ""; /** * The price VAT in percent */ // @ApiMember(Description="The price VAT in percent") double? VAT; /** * The price text to display */ // @ApiMember(Description="The price text to display") String PriceText = ""; /** * If the quantity you add should occupy a spot. Default is true. If no it will only be a row that includes price information. */ // @ApiMember(Description="If the quantity you add should occupy a spot. Default is true. If no it will only be a row that includes price information.") bool OccupiesSpot; BookedQuantity({this.Id,this.Quantity,this.Price,this.PriceBeforeRebate,this.CurrencyId,this.PriceSign,this.Category,this.VAT,this.PriceText,this.OccupiesSpot}); BookedQuantity.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Quantity = json['Quantity']; Price = JsonConverters.toDouble(json['Price']); PriceBeforeRebate = JsonConverters.toDouble(json['PriceBeforeRebate']); CurrencyId = json['CurrencyId']; PriceSign = json['PriceSign']; Category = json['Category']; VAT = JsonConverters.toDouble(json['VAT']); PriceText = json['PriceText']; OccupiesSpot = json['OccupiesSpot']; return this; } Map toJson() => { 'Id': Id, 'Quantity': Quantity, 'Price': Price, 'PriceBeforeRebate': PriceBeforeRebate, 'CurrencyId': CurrencyId, 'PriceSign': PriceSign, 'Category': Category, 'VAT': VAT, 'PriceText': PriceText, 'OccupiesSpot': OccupiesSpot }; getTypeName() => "BookedQuantity"; TypeContext? context = _ctx; } class BookingQueryResponse implements IConvertible { int Id = 0; String CompanyId = ""; DateTime From = DateTime(0); DateTime To = DateTime(0); BookingStatusEnum Status; int StatusId = 0; String StatusName = ""; BookingStatusQueryResponse StatusInfo; bool SendEmailReminder; bool SendSmsReminder; bool SendSmsConfirmation; bool SendEmailConfirmation; DateTime? LastTimeToUnBook; List CustomFields = []; List CustomFieldValues = []; List BookedResourceTypes = []; BookedCompany Company; BookedCustomer Customer; List Quantities = []; ServiceInfoResponse Service; InvoiceAddressResponse InvoiceAddress; DateTime? PaymentExpiration; List Log = []; List PaymentLog = []; List CheckoutLog = []; List ExternalReference = []; ResponseStatus ResponseStatus; int? LengthInMinutes; String BookedBy = ""; String BookedComments = ""; String UnbookedComments = ""; String CommentsToCustomer = ""; DateTime CreatedDate = DateTime(0); DateTime UpdatedDate = DateTime(0); DateTime? UnbookedOn; String CancellationCode = ""; String RatingCode = ""; BookingQueryResponse({this.Id,this.CompanyId,this.From,this.To,this.Status,this.StatusId,this.StatusName,this.StatusInfo,this.SendEmailReminder,this.SendSmsReminder,this.SendSmsConfirmation,this.SendEmailConfirmation,this.LastTimeToUnBook,this.CustomFields,this.CustomFieldValues,this.BookedResourceTypes,this.Company,this.Customer,this.Quantities,this.Service,this.InvoiceAddress,this.PaymentExpiration,this.Log,this.PaymentLog,this.CheckoutLog,this.ExternalReference,this.ResponseStatus,this.LengthInMinutes,this.BookedBy,this.BookedComments,this.UnbookedComments,this.CommentsToCustomer,this.CreatedDate,this.UpdatedDate,this.UnbookedOn,this.CancellationCode,this.RatingCode}); BookingQueryResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; CompanyId = json['CompanyId']; From = JsonConverters.fromJson(json['From'],'DateTime',context!); To = JsonConverters.fromJson(json['To'],'DateTime',context!); Status = JsonConverters.fromJson(json['Status'],'BookingStatusEnum',context!); StatusId = json['StatusId']; StatusName = json['StatusName']; StatusInfo = JsonConverters.fromJson(json['StatusInfo'],'BookingStatusQueryResponse',context!); SendEmailReminder = json['SendEmailReminder']; SendSmsReminder = json['SendSmsReminder']; SendSmsConfirmation = json['SendSmsConfirmation']; SendEmailConfirmation = json['SendEmailConfirmation']; LastTimeToUnBook = JsonConverters.fromJson(json['LastTimeToUnBook'],'DateTime',context!); CustomFields = JsonConverters.fromJson(json['CustomFields'],'List',context!); CustomFieldValues = JsonConverters.fromJson(json['CustomFieldValues'],'List',context!); BookedResourceTypes = JsonConverters.fromJson(json['BookedResourceTypes'],'List',context!); Company = JsonConverters.fromJson(json['Company'],'BookedCompany',context!); Customer = JsonConverters.fromJson(json['Customer'],'BookedCustomer',context!); Quantities = JsonConverters.fromJson(json['Quantities'],'List',context!); Service = JsonConverters.fromJson(json['Service'],'ServiceInfoResponse',context!); InvoiceAddress = JsonConverters.fromJson(json['InvoiceAddress'],'InvoiceAddressResponse',context!); PaymentExpiration = JsonConverters.fromJson(json['PaymentExpiration'],'DateTime',context!); Log = JsonConverters.fromJson(json['Log'],'List',context!); PaymentLog = JsonConverters.fromJson(json['PaymentLog'],'List',context!); CheckoutLog = JsonConverters.fromJson(json['CheckoutLog'],'List',context!); ExternalReference = JsonConverters.fromJson(json['ExternalReference'],'List',context!); ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); LengthInMinutes = json['LengthInMinutes']; BookedBy = json['BookedBy']; BookedComments = json['BookedComments']; UnbookedComments = json['UnbookedComments']; CommentsToCustomer = json['CommentsToCustomer']; CreatedDate = JsonConverters.fromJson(json['CreatedDate'],'DateTime',context!); UpdatedDate = JsonConverters.fromJson(json['UpdatedDate'],'DateTime',context!); UnbookedOn = JsonConverters.fromJson(json['UnbookedOn'],'DateTime',context!); CancellationCode = json['CancellationCode']; RatingCode = json['RatingCode']; return this; } Map toJson() => { 'Id': Id, 'CompanyId': CompanyId, 'From': JsonConverters.toJson(From,'DateTime',context!), 'To': JsonConverters.toJson(To,'DateTime',context!), 'Status': JsonConverters.toJson(Status,'BookingStatusEnum',context!), 'StatusId': StatusId, 'StatusName': StatusName, 'StatusInfo': JsonConverters.toJson(StatusInfo,'BookingStatusQueryResponse',context!), 'SendEmailReminder': SendEmailReminder, 'SendSmsReminder': SendSmsReminder, 'SendSmsConfirmation': SendSmsConfirmation, 'SendEmailConfirmation': SendEmailConfirmation, 'LastTimeToUnBook': JsonConverters.toJson(LastTimeToUnBook,'DateTime',context!), 'CustomFields': JsonConverters.toJson(CustomFields,'List',context!), 'CustomFieldValues': JsonConverters.toJson(CustomFieldValues,'List',context!), 'BookedResourceTypes': JsonConverters.toJson(BookedResourceTypes,'List',context!), 'Company': JsonConverters.toJson(Company,'BookedCompany',context!), 'Customer': JsonConverters.toJson(Customer,'BookedCustomer',context!), 'Quantities': JsonConverters.toJson(Quantities,'List',context!), 'Service': JsonConverters.toJson(Service,'ServiceInfoResponse',context!), 'InvoiceAddress': JsonConverters.toJson(InvoiceAddress,'InvoiceAddressResponse',context!), 'PaymentExpiration': JsonConverters.toJson(PaymentExpiration,'DateTime',context!), 'Log': JsonConverters.toJson(Log,'List',context!), 'PaymentLog': JsonConverters.toJson(PaymentLog,'List',context!), 'CheckoutLog': JsonConverters.toJson(CheckoutLog,'List',context!), 'ExternalReference': JsonConverters.toJson(ExternalReference,'List',context!), 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'LengthInMinutes': LengthInMinutes, 'BookedBy': BookedBy, 'BookedComments': BookedComments, 'UnbookedComments': UnbookedComments, 'CommentsToCustomer': CommentsToCustomer, 'CreatedDate': JsonConverters.toJson(CreatedDate,'DateTime',context!), 'UpdatedDate': JsonConverters.toJson(UpdatedDate,'DateTime',context!), 'UnbookedOn': JsonConverters.toJson(UnbookedOn,'DateTime',context!), 'CancellationCode': CancellationCode, 'RatingCode': RatingCode }; getTypeName() => "BookingQueryResponse"; TypeContext? context = _ctx; } // @Route("/bookings", "GET") // @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) class BookingQuery extends QueryDb2 implements IReturn>, IConvertible, IGet { /** * Query for specific Booked Resources, default is all resources */ // @DataMember(Name="BookedResourceIds") // @ApiMember(Description="Query for specific Booked Resources, default is all resources", ParameterType="query") List BookedResourceIds; /** * Query for specific Booked Resource types, default is all resource types */ // @DataMember(Name="BookedResourceTypeIds") // @ApiMember(Description="Query for specific Booked Resource types, default is all resource types", ParameterType="query") List BookedResourceTypeIds; /** * The company id, if empty will use the company id for the user you are logged in with. */ // @ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.") String? CompanyId; /** * Id of the booking */ // @ApiMember(Description="Id of the booking", ParameterType="path") int? Id; /** * The cancellation code of the booking, can be used if you want to get a booking without being authenticated */ // @ApiMember(DataType="string", Description="The cancellation code of the booking, can be used if you want to get a booking without being authenticated", ParameterType="query") String CancellationCode = ""; /** * Start of interval to query for bookings. UTC+0 and parameter as defined by date-time - RFC3339 */ // @ApiMember(DataType="dateTime", Description="Start of interval to query for bookings. UTC+0 and parameter as defined by date-time - RFC3339", ParameterType="query") DateTime? BookingStart; /** * End of interval to query for bookings. UTC+0 and parameter as defined by date-time - RFC3339 */ // @ApiMember(DataType="dateTime", Description="End of interval to query for bookings. UTC+0 and parameter as defined by date-time - RFC3339", ParameterType="query") DateTime? BookingEnd; /** * Start of interval to query for bookings when they where created. UTC+0 and parameter as defined by date-time - RFC3339 */ // @ApiMember(DataType="dateTime", Description="Start of interval to query for bookings when they where created. UTC+0 and parameter as defined by date-time - RFC3339", ParameterType="query") DateTime? CreatedFrom; /** * End of interval to query for bookings when they where created. UTC+0 and parameter as defined by date-time - RFC3339 */ // @ApiMember(DataType="dateTime", Description="End of interval to query for bookings when they where created. UTC+0 and parameter as defined by date-time - RFC3339", ParameterType="query") DateTime? CreatedTo; /** * Set to true if you want to include the bookings for the company you are logged in as administrator on, if false only bookings for the logged in user will be retrieved. Only administrators are allowed to do this. */ // @ApiMember(DataType="boolean", Description="Set to true if you want to include the bookings for the company you are logged in as administrator on, if false only bookings for the logged in user will be retrieved. Only administrators are allowed to do this.", ParameterType="query") bool CompanyBookings; /** * Query for specific services. */ // @ApiMember(Description="Query for specific services.", ParameterType="query") List ServiceIds; /** * Query for specific booking statuses. Valid statuses are TimeBooked = 1, TimeUnbooked = 2, TimeReserved = 3, TimeCanceled = 4, AwaitingPayment = 5, AwaitingPaymentNoTimeLimit = 6, BookedAndPayed = 7, 8 = AwaitingPaymentRequestFromAdmin, 9 = AwaitingPaymentFromProvider. Default is all. */ // @ApiMember(Description="Query for specific booking statuses. Valid statuses are TimeBooked = 1, TimeUnbooked = 2, TimeReserved = 3, TimeCanceled = 4, AwaitingPayment = 5, AwaitingPaymentNoTimeLimit = 6, BookedAndPayed = 7, 8 = AwaitingPaymentRequestFromAdmin, 9 = AwaitingPaymentFromProvider. Default is all.", ParameterType="query") List StatusIds; /** * Query for specific customer */ // @ApiMember(Description="Query for specific customer", ParameterType="query") String? CustomerId; /** * If you want to include the external references for the booking */ // @ApiMember(DataType="boolean", Description="If you want to include the external references for the booking", ParameterType="query") bool IncludeExternalReferences; /** * If you want to include the connected resource types and resources */ // @ApiMember(DataType="boolean", Description="If you want to include the connected resource types and resources", ParameterType="query") bool IncludeCustomFields; /** * If you want to include the connected custom fields */ // @ApiMember(DataType="boolean", Description="If you want to include the connected custom fields", ParameterType="query") bool IncludeCustomFieldValues; /** * If you want to include the booked resources */ // @ApiMember(DataType="boolean", Description="If you want to include the booked resources", ParameterType="query") bool IncludeBookedResourceTypes; /** * If you want to include the company information for the booking */ // @ApiMember(DataType="boolean", Description="If you want to include the company information for the booking", ParameterType="query") bool IncludeCompanyInformation; /** * If you want to include the service information for the booking */ // @ApiMember(DataType="boolean", Description="If you want to include the service information for the booking", ParameterType="query") bool IncludeServiceInformation; /** * If you want to include the customer information for the booking */ // @ApiMember(DataType="boolean", Description="If you want to include the customer information for the booking", ParameterType="query") bool IncludeCustomerInformation; /** * If you want to include invoice address specific to this booking */ // @ApiMember(DataType="boolean", Description="If you want to include invoice address specific to this booking", ParameterType="query") bool IncludeInvoiceAddress; /** * If you want to include the log of all events on the booking */ // @ApiMember(DataType="boolean", Description="If you want to include the log of all events on the booking", ParameterType="query") bool IncludeLog; /** * If you want to include the payment log on the booking */ // @ApiMember(DataType="boolean", Description="If you want to include the payment log on the booking", ParameterType="query") bool IncludePaymentLog; /** * If you want to include the checkouts */ // @ApiMember(DataType="boolean", Description="If you want to include the checkouts", ParameterType="query") bool IncludeCheckoutLog; /** * If you want to include the quantity and price information on the booking */ // @ApiMember(DataType="boolean", Description="If you want to include the quantity and price information on the booking", ParameterType="query") bool IncludeQuantityInformation; /** * If you want to include google calendar sync status */ // @ApiMember(DataType="boolean", Description="If you want to include google calendar sync status", ParameterType="query") bool IncludeCalendarExportStatus; /** * If you want to include booking status information */ // @ApiMember(DataType="boolean", Description="If you want to include booking status information", ParameterType="query") bool IncludeStatusInformation; /** * The max limit of records you want to retrieve, default is 100 */ // @ApiMember(DataType="int", Description="The max limit of records you want to retrieve, default is 100", ParameterType="query") int? MaxLimit; ResponseStatus ResponseStatus; BookingQuery({this.BookedResourceIds,this.BookedResourceTypeIds,this.CompanyId,this.Id,this.CancellationCode,this.BookingStart,this.BookingEnd,this.CreatedFrom,this.CreatedTo,this.CompanyBookings,this.ServiceIds,this.StatusIds,this.CustomerId,this.IncludeExternalReferences,this.IncludeCustomFields,this.IncludeCustomFieldValues,this.IncludeBookedResourceTypes,this.IncludeCompanyInformation,this.IncludeServiceInformation,this.IncludeCustomerInformation,this.IncludeInvoiceAddress,this.IncludeLog,this.IncludePaymentLog,this.IncludeCheckoutLog,this.IncludeQuantityInformation,this.IncludeCalendarExportStatus,this.IncludeStatusInformation,this.MaxLimit,this.ResponseStatus}); BookingQuery.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); BookedResourceIds = JsonConverters.fromJson(json['BookingResourceRelationResourceIds'],'List',context!); BookedResourceTypeIds = JsonConverters.fromJson(json['BookingResourceRelationResourceTypeIds'],'List',context!); CompanyId = json['CompanyId']; Id = json['Id']; CancellationCode = json['CancellationCode']; BookingStart = JsonConverters.fromJson(json['BookingStart'],'DateTime',context!); BookingEnd = JsonConverters.fromJson(json['BookingEnd'],'DateTime',context!); CreatedFrom = JsonConverters.fromJson(json['CreatedFrom'],'DateTime',context!); CreatedTo = JsonConverters.fromJson(json['CreatedTo'],'DateTime',context!); CompanyBookings = json['CompanyBookings']; ServiceIds = JsonConverters.fromJson(json['ServiceIds'],'List',context!); StatusIds = JsonConverters.fromJson(json['StatusIds'],'List',context!); CustomerId = json['CustomerId']; IncludeExternalReferences = json['IncludeExternalReferences']; IncludeCustomFields = json['IncludeCustomFields']; IncludeCustomFieldValues = json['IncludeCustomFieldValues']; IncludeBookedResourceTypes = json['IncludeBookedResourceTypes']; IncludeCompanyInformation = json['IncludeCompanyInformation']; IncludeServiceInformation = json['IncludeServiceInformation']; IncludeCustomerInformation = json['IncludeCustomerInformation']; IncludeInvoiceAddress = json['IncludeInvoiceAddress']; IncludeLog = json['IncludeLog']; IncludePaymentLog = json['IncludePaymentLog']; IncludeCheckoutLog = json['IncludeCheckoutLog']; IncludeQuantityInformation = json['IncludeQuantityInformation']; IncludeCalendarExportStatus = json['IncludeCalendarExportStatus']; IncludeStatusInformation = json['IncludeStatusInformation']; MaxLimit = json['MaxLimit']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => super.toJson()..addAll({ 'BookedResourceIds': JsonConverters.toJson(BookedResourceIds,'List',context!), 'BookedResourceTypeIds': JsonConverters.toJson(BookedResourceTypeIds,'List',context!), 'CompanyId': CompanyId, 'Id': Id, 'CancellationCode': CancellationCode, 'BookingStart': JsonConverters.toJson(BookingStart,'DateTime',context!), 'BookingEnd': JsonConverters.toJson(BookingEnd,'DateTime',context!), 'CreatedFrom': JsonConverters.toJson(CreatedFrom,'DateTime',context!), 'CreatedTo': JsonConverters.toJson(CreatedTo,'DateTime',context!), 'CompanyBookings': CompanyBookings, 'ServiceIds': JsonConverters.toJson(ServiceIds,'List',context!), 'StatusIds': JsonConverters.toJson(StatusIds,'List',context!), 'CustomerId': CustomerId, 'IncludeExternalReferences': IncludeExternalReferences, 'IncludeCustomFields': IncludeCustomFields, 'IncludeCustomFieldValues': IncludeCustomFieldValues, 'IncludeBookedResourceTypes': IncludeBookedResourceTypes, 'IncludeCompanyInformation': IncludeCompanyInformation, 'IncludeServiceInformation': IncludeServiceInformation, 'IncludeCustomerInformation': IncludeCustomerInformation, 'IncludeInvoiceAddress': IncludeInvoiceAddress, 'IncludeLog': IncludeLog, 'IncludePaymentLog': IncludePaymentLog, 'IncludeCheckoutLog': IncludeCheckoutLog, 'IncludeQuantityInformation': IncludeQuantityInformation, 'IncludeCalendarExportStatus': IncludeCalendarExportStatus, 'IncludeStatusInformation': IncludeStatusInformation, 'MaxLimit': MaxLimit, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }); createResponse() => QueryResponse(); getResponseTypeName() => "QueryResponse"; getTypeName() => "BookingQuery"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api_staging.bookmore.com', types: { 'ICompany': TypeInfo(TypeOf.Interface), 'BaseModel': TypeInfo(TypeOf.Class, create:() => BaseModel()), 'Currency': TypeInfo(TypeOf.Class, create:() => Currency()), 'PaymentLog': TypeInfo(TypeOf.Class, create:() => PaymentLog()), 'CompanyStatus': TypeInfo(TypeOf.Enum, enumValues:CompanyStatus.values), 'CustomFieldValue': TypeInfo(TypeOf.Class, create:() => CustomFieldValue()), 'CustomField': TypeInfo(TypeOf.Class, create:() => CustomField()), 'RegEx': TypeInfo(TypeOf.Class, create:() => RegEx()), 'CustomFieldServiceRelation': TypeInfo(TypeOf.Class, create:() => CustomFieldServiceRelation()), 'CustomFieldConfig': TypeInfo(TypeOf.Class, create:() => CustomFieldConfig()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'Service': TypeInfo(TypeOf.Class, create:() => Service()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'ScheduleView': TypeInfo(TypeOf.Class, create:() => ScheduleView()), 'WeekNumberSetting': TypeInfo(TypeOf.Class, create:() => WeekNumberSetting()), 'BookingTemplate': TypeInfo(TypeOf.Class, create:() => BookingTemplate()), 'CalendarType': TypeInfo(TypeOf.Class, create:() => CalendarType()), 'FreeSpotTexts': TypeInfo(TypeOf.Class, create:() => FreeSpotTexts()), 'BookingStatusOptions': TypeInfo(TypeOf.Class, create:() => BookingStatusOptions()), 'BookingSettings': TypeInfo(TypeOf.Class, create:() => BookingSettings()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'CompanyType': TypeInfo(TypeOf.Class, create:() => CompanyType()), 'CodeLockSystem': TypeInfo(TypeOf.Class, create:() => CodeLockSystem()), 'CodeLockSetting': TypeInfo(TypeOf.Class, create:() => CodeLockSetting()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'AdminPaymentOptions': TypeInfo(TypeOf.Class, create:() => AdminPaymentOptions()), 'PaymentProviders': TypeInfo(TypeOf.Class, create:() => PaymentProviders()), 'PaymentSettings': TypeInfo(TypeOf.Class, create:() => PaymentSettings()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'LanguageResponse': TypeInfo(TypeOf.Class, create:() => LanguageResponse()), 'CompanySetting': TypeInfo(TypeOf.Class, create:() => CompanySetting()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'WidgetServiceLayouts': TypeInfo(TypeOf.Class, create:() => WidgetServiceLayouts()), 'WidgetTimeLayouts': TypeInfo(TypeOf.Class, create:() => WidgetTimeLayouts()), 'WidgetBookingLayouts': TypeInfo(TypeOf.Class, create:() => WidgetBookingLayouts()), 'WidgetBookingMethods': TypeInfo(TypeOf.Class, create:() => WidgetBookingMethods()), 'HomepageWidgetSetting': TypeInfo(TypeOf.Class, create:() => HomepageWidgetSetting()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'HomepageTemplate': TypeInfo(TypeOf.Class, create:() => HomepageTemplate()), 'Uri': TypeInfo(TypeOf.Class, create:() => Uri()), 'HeroSectionStyle': TypeInfo(TypeOf.Class, create:() => HeroSectionStyle()), 'HomepageSetting': TypeInfo(TypeOf.Class, create:() => HomepageSetting()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'AverageRatingScore': TypeInfo(TypeOf.Class, create:() => AverageRatingScore()), 'Review': TypeInfo(TypeOf.Class, create:() => Review()), 'Rating': TypeInfo(TypeOf.Class, create:() => Rating()), 'ProductGroupResponse': TypeInfo(TypeOf.Class, create:() => ProductGroupResponse()), 'TierResponse': TypeInfo(TypeOf.Class, create:() => TierResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'VossSubscriptionResponse': TypeInfo(TypeOf.Class, create:() => VossSubscriptionResponse()), 'LicenseTypeItem': TypeInfo(TypeOf.Class, create:() => LicenseTypeItem()), 'LicenseTypes': TypeInfo(TypeOf.Class, create:() => LicenseTypes()), 'Country': TypeInfo(TypeOf.Class, create:() => Country()), 'LicensePrice': TypeInfo(TypeOf.Class, create:() => LicensePrice()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'License': TypeInfo(TypeOf.Class, create:() => License()), 'Company': TypeInfo(TypeOf.Class, create:() => Company()), 'CountryCodeEnum': TypeInfo(TypeOf.Enum, enumValues:CountryCodeEnum.values), 'CustomerContactPersonDto': TypeInfo(TypeOf.Class, create:() => CustomerContactPersonDto()), 'CustomerTargetGroupDto': TypeInfo(TypeOf.Class, create:() => CustomerTargetGroupDto()), 'CustomerResult': TypeInfo(TypeOf.Class, create:() => CustomerResult()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'BillingMethodCountriesRelation': TypeInfo(TypeOf.Class, create:() => BillingMethodCountriesRelation()), 'BillingMethod': TypeInfo(TypeOf.Class, create:() => BillingMethod()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'BillingInformation': TypeInfo(TypeOf.Class, create:() => BillingInformation()), 'ScheduleType': TypeInfo(TypeOf.Enum, enumValues:ScheduleType.values), 'ISchedule': TypeInfo(TypeOf.Interface), 'ITimeException': TypeInfo(TypeOf.Interface), 'BookingStatusEnum': TypeInfo(TypeOf.Enum, enumValues:BookingStatusEnum.values), 'BookedCustomer': TypeInfo(TypeOf.Class, create:() => BookedCustomer()), 'IBookedTime': TypeInfo(TypeOf.Interface), 'CustomFieldDataResponse': TypeInfo(TypeOf.Class, create:() => CustomFieldDataResponse()), 'Resource': TypeInfo(TypeOf.Class, create:() => Resource()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'KeyCloakRole': TypeInfo(TypeOf.Class, create:() => KeyCloakRole()), 'CompanyUser': TypeInfo(TypeOf.Class, create:() => CompanyUser()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'CompanyOwner': TypeInfo(TypeOf.Class, create:() => CompanyOwner()), 'CompanyCategory': TypeInfo(TypeOf.Class, create:() => CompanyCategory()), 'ExternalReference': TypeInfo(TypeOf.Class, create:() => ExternalReference()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'CustomApiResult': TypeInfo(TypeOf.Class, create:() => CustomApiResult()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'CultureInfo': TypeInfo(TypeOf.Class, create:() => CultureInfo()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'ArticleServiceRelation': TypeInfo(TypeOf.Class, create:() => ArticleServiceRelation()), 'ArticleTypeEnum': TypeInfo(TypeOf.Enum, enumValues:ArticleTypeEnum.values), 'Article': TypeInfo(TypeOf.Class, create:() => Article()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'BookingLogEventType': TypeInfo(TypeOf.Class, create:() => BookingLogEventType()), 'BookingLog': TypeInfo(TypeOf.Class, create:() => BookingLog()), 'BookingStatus': TypeInfo(TypeOf.Class, create:() => BookingStatus()), 'BookingStatusQueryResponse': TypeInfo(TypeOf.Class, create:() => BookingStatusQueryResponse()), 'IDbConnectionFactory': TypeInfo(TypeOf.Interface), 'ArticlePaymentSettings': TypeInfo(TypeOf.Class, create:() => ArticlePaymentSettings()), 'Credentials': TypeInfo(TypeOf.Class, create:() => Credentials()), 'CheckoutData': TypeInfo(TypeOf.Class, create:() => CheckoutData()), 'CheckoutInvoice': TypeInfo(TypeOf.Class, create:() => CheckoutInvoice()), 'CheckoutPaymentData': TypeInfo(TypeOf.Class, create:() => CheckoutPaymentData()), 'PaymentInfo': TypeInfo(TypeOf.Class, create:() => PaymentInfo()), 'QvicklyArticle': TypeInfo(TypeOf.Class, create:() => QvicklyArticle()), 'CartHandling': TypeInfo(TypeOf.Class, create:() => CartHandling()), 'CartTotal': TypeInfo(TypeOf.Class, create:() => CartTotal()), 'StripeEntity': TypeInfo(TypeOf.AbstractClass), 'StripeEntity1': TypeInfo(TypeOf.GenericDef,create:() => StripeEntity1()), 'Address': TypeInfo(TypeOf.Class, create:() => Address()), 'Shipping': TypeInfo(TypeOf.Class, create:() => Shipping()), 'Cart': TypeInfo(TypeOf.Class, create:() => Cart()), 'CustomerBilling': TypeInfo(TypeOf.Class, create:() => CustomerBilling()), 'QvicklyCustomer': TypeInfo(TypeOf.Class, create:() => QvicklyCustomer()), 'InitCheckoutData': TypeInfo(TypeOf.Class, create:() => InitCheckoutData()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'InitCheckoutRequestBody': TypeInfo(TypeOf.Class, create:() => InitCheckoutRequestBody()), 'GetCheckoutData': TypeInfo(TypeOf.Class, create:() => GetCheckoutData()), 'GetCheckoutResponse': TypeInfo(TypeOf.Class, create:() => GetCheckoutResponse()), 'InitCheckoutResponse': TypeInfo(TypeOf.Class, create:() => InitCheckoutResponse()), 'QvikclyPaymentData': TypeInfo(TypeOf.Class, create:() => QvikclyPaymentData()), 'Card': TypeInfo(TypeOf.Class, create:() => Card()), 'Settlement': TypeInfo(TypeOf.Class, create:() => Settlement()), 'QvicklyPaymentResponse': TypeInfo(TypeOf.Class, create:() => QvicklyPaymentResponse()), 'QvicklyCustomCheckoutData': TypeInfo(TypeOf.Class, create:() => QvicklyCustomCheckoutData()), 'BaseOptions': TypeInfo(TypeOf.Class, create:() => BaseOptions()), 'Map': TypeInfo(TypeOf.Class, create:() => Map()), 'SessionAdaptivePricingOptions': TypeInfo(TypeOf.Class, create:() => SessionAdaptivePricingOptions()), 'SessionAfterExpirationRecoveryOptions': TypeInfo(TypeOf.Class, create:() => SessionAfterExpirationRecoveryOptions()), 'SessionAfterExpirationOptions': TypeInfo(TypeOf.Class, create:() => SessionAfterExpirationOptions()), 'SessionAutomaticTaxLiabilityOptions': TypeInfo(TypeOf.Class, create:() => SessionAutomaticTaxLiabilityOptions()), 'SessionAutomaticTaxOptions': TypeInfo(TypeOf.Class, create:() => SessionAutomaticTaxOptions()), 'SessionConsentCollectionPaymentMethodReuseAgreementOptions': TypeInfo(TypeOf.Class, create:() => SessionConsentCollectionPaymentMethodReuseAgreementOptions()), 'SessionConsentCollectionOptions': TypeInfo(TypeOf.Class, create:() => SessionConsentCollectionOptions()), 'SessionCustomFieldDropdownOptionOptions': TypeInfo(TypeOf.Class, create:() => SessionCustomFieldDropdownOptionOptions()), 'SessionCustomFieldDropdownOptions': TypeInfo(TypeOf.Class, create:() => SessionCustomFieldDropdownOptions()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'SessionCustomFieldLabelOptions': TypeInfo(TypeOf.Class, create:() => SessionCustomFieldLabelOptions()), 'SessionCustomFieldNumericOptions': TypeInfo(TypeOf.Class, create:() => SessionCustomFieldNumericOptions()), 'SessionCustomFieldTextOptions': TypeInfo(TypeOf.Class, create:() => SessionCustomFieldTextOptions()), 'SessionCustomFieldOptions': TypeInfo(TypeOf.Class, create:() => SessionCustomFieldOptions()), 'SessionCustomTextAfterSubmitOptions': TypeInfo(TypeOf.Class, create:() => SessionCustomTextAfterSubmitOptions()), 'SessionCustomTextShippingAddressOptions': TypeInfo(TypeOf.Class, create:() => SessionCustomTextShippingAddressOptions()), 'SessionCustomTextSubmitOptions': TypeInfo(TypeOf.Class, create:() => SessionCustomTextSubmitOptions()), 'SessionCustomTextTermsOfServiceAcceptanceOptions': TypeInfo(TypeOf.Class, create:() => SessionCustomTextTermsOfServiceAcceptanceOptions()), 'SessionCustomTextOptions': TypeInfo(TypeOf.Class, create:() => SessionCustomTextOptions()), 'SessionCustomerUpdateOptions': TypeInfo(TypeOf.Class, create:() => SessionCustomerUpdateOptions()), 'SessionDiscountOptions': TypeInfo(TypeOf.Class, create:() => SessionDiscountOptions()), 'SessionInvoiceCreationInvoiceDataCustomFieldOptions': TypeInfo(TypeOf.Class, create:() => SessionInvoiceCreationInvoiceDataCustomFieldOptions()), 'SessionInvoiceCreationInvoiceDataIssuerOptions': TypeInfo(TypeOf.Class, create:() => SessionInvoiceCreationInvoiceDataIssuerOptions()), 'SessionInvoiceCreationInvoiceDataRenderingOptionsOptions': TypeInfo(TypeOf.Class, create:() => SessionInvoiceCreationInvoiceDataRenderingOptionsOptions()), 'SessionInvoiceCreationInvoiceDataOptions': TypeInfo(TypeOf.Class, create:() => SessionInvoiceCreationInvoiceDataOptions()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'SessionInvoiceCreationOptions': TypeInfo(TypeOf.Class, create:() => SessionInvoiceCreationOptions()), 'SessionLineItemAdjustableQuantityOptions': TypeInfo(TypeOf.Class, create:() => SessionLineItemAdjustableQuantityOptions()), 'SessionLineItemPriceDataProductDataOptions': TypeInfo(TypeOf.Class, create:() => SessionLineItemPriceDataProductDataOptions()), 'SessionLineItemPriceDataRecurringOptions': TypeInfo(TypeOf.Class, create:() => SessionLineItemPriceDataRecurringOptions()), 'SessionLineItemPriceDataOptions': TypeInfo(TypeOf.Class, create:() => SessionLineItemPriceDataOptions()), 'SessionLineItemOptions': TypeInfo(TypeOf.Class, create:() => SessionLineItemOptions()), 'SessionOptionalItemAdjustableQuantityOptions': TypeInfo(TypeOf.Class, create:() => SessionOptionalItemAdjustableQuantityOptions()), 'SessionOptionalItemOptions': TypeInfo(TypeOf.Class, create:() => SessionOptionalItemOptions()), 'AddressOptions': TypeInfo(TypeOf.Class, create:() => AddressOptions()), 'ChargeShippingOptions': TypeInfo(TypeOf.Class, create:() => ChargeShippingOptions()), 'SessionPaymentIntentDataTransferDataOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentIntentDataTransferDataOptions()), 'SessionPaymentIntentDataOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentIntentDataOptions()), 'SessionPaymentMethodDataOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodDataOptions()), 'SessionPaymentMethodOptionsAcssDebitMandateOptionsOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsAcssDebitMandateOptionsOptions()), 'SessionPaymentMethodOptionsAcssDebitOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsAcssDebitOptions()), 'SessionPaymentMethodOptionsAffirmOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsAffirmOptions()), 'SessionPaymentMethodOptionsAfterpayClearpayOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsAfterpayClearpayOptions()), 'SessionPaymentMethodOptionsAlipayOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsAlipayOptions()), 'SessionPaymentMethodOptionsAmazonPayOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsAmazonPayOptions()), 'SessionPaymentMethodOptionsAuBecsDebitOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsAuBecsDebitOptions()), 'SessionPaymentMethodOptionsBacsDebitMandateOptionsOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsBacsDebitMandateOptionsOptions()), 'SessionPaymentMethodOptionsBacsDebitOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsBacsDebitOptions()), 'SessionPaymentMethodOptionsBancontactOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsBancontactOptions()), 'SessionPaymentMethodOptionsBoletoOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsBoletoOptions()), 'SessionPaymentMethodOptionsCardInstallmentsOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsCardInstallmentsOptions()), 'SessionPaymentMethodOptionsCardRestrictionsOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsCardRestrictionsOptions()), 'SessionPaymentMethodOptionsCardOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsCardOptions()), 'SessionPaymentMethodOptionsCashappOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsCashappOptions()), 'SessionPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferOptions()), 'SessionPaymentMethodOptionsCustomerBalanceBankTransferOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsCustomerBalanceBankTransferOptions()), 'SessionPaymentMethodOptionsCustomerBalanceOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsCustomerBalanceOptions()), 'SessionPaymentMethodOptionsEpsOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsEpsOptions()), 'SessionPaymentMethodOptionsFpxOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsFpxOptions()), 'SessionPaymentMethodOptionsGiropayOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsGiropayOptions()), 'SessionPaymentMethodOptionsGrabpayOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsGrabpayOptions()), 'SessionPaymentMethodOptionsIdealOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsIdealOptions()), 'SessionPaymentMethodOptionsKakaoPayOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsKakaoPayOptions()), 'SessionPaymentMethodOptionsKlarnaOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsKlarnaOptions()), 'SessionPaymentMethodOptionsKonbiniOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsKonbiniOptions()), 'SessionPaymentMethodOptionsKrCardOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsKrCardOptions()), 'SessionPaymentMethodOptionsLinkOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsLinkOptions()), 'SessionPaymentMethodOptionsMobilepayOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsMobilepayOptions()), 'SessionPaymentMethodOptionsMultibancoOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsMultibancoOptions()), 'SessionPaymentMethodOptionsNaverPayOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsNaverPayOptions()), 'SessionPaymentMethodOptionsOxxoOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsOxxoOptions()), 'SessionPaymentMethodOptionsP24Options': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsP24Options()), 'SessionPaymentMethodOptionsPayByBankOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsPayByBankOptions()), 'SessionPaymentMethodOptionsPaycoOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsPaycoOptions()), 'SessionPaymentMethodOptionsPaynowOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsPaynowOptions()), 'SessionPaymentMethodOptionsPaypalOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsPaypalOptions()), 'SessionPaymentMethodOptionsPixOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsPixOptions()), 'SessionPaymentMethodOptionsRevolutPayOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsRevolutPayOptions()), 'SessionPaymentMethodOptionsSamsungPayOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsSamsungPayOptions()), 'SessionPaymentMethodOptionsSepaDebitMandateOptionsOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsSepaDebitMandateOptionsOptions()), 'SessionPaymentMethodOptionsSepaDebitOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsSepaDebitOptions()), 'SessionPaymentMethodOptionsSofortOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsSofortOptions()), 'SessionPaymentMethodOptionsSwishOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsSwishOptions()), 'SessionPaymentMethodOptionsUsBankAccountFinancialConnectionsOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsUsBankAccountFinancialConnectionsOptions()), 'SessionPaymentMethodOptionsUsBankAccountOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsUsBankAccountOptions()), 'SessionPaymentMethodOptionsWechatPayOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsWechatPayOptions()), 'SessionPaymentMethodOptionsOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsOptions()), 'SessionPermissionsOptions': TypeInfo(TypeOf.Class, create:() => SessionPermissionsOptions()), 'SessionPhoneNumberCollectionOptions': TypeInfo(TypeOf.Class, create:() => SessionPhoneNumberCollectionOptions()), 'SessionSavedPaymentMethodOptionsOptions': TypeInfo(TypeOf.Class, create:() => SessionSavedPaymentMethodOptionsOptions()), 'SessionSetupIntentDataOptions': TypeInfo(TypeOf.Class, create:() => SessionSetupIntentDataOptions()), 'SessionShippingAddressCollectionOptions': TypeInfo(TypeOf.Class, create:() => SessionShippingAddressCollectionOptions()), 'SessionShippingOptionShippingRateDataDeliveryEstimateMaximumOptions': TypeInfo(TypeOf.Class, create:() => SessionShippingOptionShippingRateDataDeliveryEstimateMaximumOptions()), 'SessionShippingOptionShippingRateDataDeliveryEstimateMinimumOptions': TypeInfo(TypeOf.Class, create:() => SessionShippingOptionShippingRateDataDeliveryEstimateMinimumOptions()), 'SessionShippingOptionShippingRateDataDeliveryEstimateOptions': TypeInfo(TypeOf.Class, create:() => SessionShippingOptionShippingRateDataDeliveryEstimateOptions()), 'SessionShippingOptionShippingRateDataFixedAmountCurrencyOptionsOptions': TypeInfo(TypeOf.Class, create:() => SessionShippingOptionShippingRateDataFixedAmountCurrencyOptionsOptions()), 'SessionShippingOptionShippingRateDataFixedAmountOptions': TypeInfo(TypeOf.Class, create:() => SessionShippingOptionShippingRateDataFixedAmountOptions()), 'Map': TypeInfo(TypeOf.Class, create:() => Map()), 'SessionShippingOptionShippingRateDataOptions': TypeInfo(TypeOf.Class, create:() => SessionShippingOptionShippingRateDataOptions()), 'SessionShippingOptionOptions': TypeInfo(TypeOf.Class, create:() => SessionShippingOptionOptions()), 'SessionSubscriptionDataInvoiceSettingsIssuerOptions': TypeInfo(TypeOf.Class, create:() => SessionSubscriptionDataInvoiceSettingsIssuerOptions()), 'SessionSubscriptionDataInvoiceSettingsOptions': TypeInfo(TypeOf.Class, create:() => SessionSubscriptionDataInvoiceSettingsOptions()), 'SessionSubscriptionDataTransferDataOptions': TypeInfo(TypeOf.Class, create:() => SessionSubscriptionDataTransferDataOptions()), 'SessionSubscriptionDataTrialSettingsEndBehaviorOptions': TypeInfo(TypeOf.Class, create:() => SessionSubscriptionDataTrialSettingsEndBehaviorOptions()), 'SessionSubscriptionDataTrialSettingsOptions': TypeInfo(TypeOf.Class, create:() => SessionSubscriptionDataTrialSettingsOptions()), 'SessionSubscriptionDataOptions': TypeInfo(TypeOf.Class, create:() => SessionSubscriptionDataOptions()), 'SessionTaxIdCollectionOptions': TypeInfo(TypeOf.Class, create:() => SessionTaxIdCollectionOptions()), 'SessionCreateOptions': TypeInfo(TypeOf.Class, create:() => SessionCreateOptions()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'PaymentIntentAutomaticPaymentMethodsOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentAutomaticPaymentMethodsOptions()), 'PaymentIntentMandateDataCustomerAcceptanceOfflineOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentMandateDataCustomerAcceptanceOfflineOptions()), 'PaymentIntentMandateDataCustomerAcceptanceOnlineOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentMandateDataCustomerAcceptanceOnlineOptions()), 'PaymentIntentMandateDataCustomerAcceptanceOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentMandateDataCustomerAcceptanceOptions()), 'PaymentIntentMandateDataOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentMandateDataOptions()), 'PaymentIntentPaymentMethodDataAcssDebitOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataAcssDebitOptions()), 'PaymentIntentPaymentMethodDataAffirmOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataAffirmOptions()), 'PaymentIntentPaymentMethodDataAfterpayClearpayOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataAfterpayClearpayOptions()), 'PaymentIntentPaymentMethodDataAlipayOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataAlipayOptions()), 'PaymentIntentPaymentMethodDataAlmaOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataAlmaOptions()), 'PaymentIntentPaymentMethodDataAmazonPayOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataAmazonPayOptions()), 'PaymentIntentPaymentMethodDataAuBecsDebitOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataAuBecsDebitOptions()), 'PaymentIntentPaymentMethodDataBacsDebitOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataBacsDebitOptions()), 'PaymentIntentPaymentMethodDataBancontactOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataBancontactOptions()), 'PaymentIntentPaymentMethodDataBillieOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataBillieOptions()), 'PaymentIntentPaymentMethodDataBillingDetailsOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataBillingDetailsOptions()), 'PaymentIntentPaymentMethodDataBlikOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataBlikOptions()), 'PaymentIntentPaymentMethodDataBoletoOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataBoletoOptions()), 'PaymentIntentPaymentMethodDataCashappOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataCashappOptions()), 'PaymentIntentPaymentMethodDataCustomerBalanceOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataCustomerBalanceOptions()), 'PaymentIntentPaymentMethodDataEpsOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataEpsOptions()), 'PaymentIntentPaymentMethodDataFpxOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataFpxOptions()), 'PaymentIntentPaymentMethodDataGiropayOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataGiropayOptions()), 'PaymentIntentPaymentMethodDataGrabpayOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataGrabpayOptions()), 'PaymentIntentPaymentMethodDataIdealOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataIdealOptions()), 'PaymentIntentPaymentMethodDataInteracPresentOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataInteracPresentOptions()), 'PaymentIntentPaymentMethodDataKakaoPayOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataKakaoPayOptions()), 'DobOptions': TypeInfo(TypeOf.Class, create:() => DobOptions()), 'PaymentIntentPaymentMethodDataKlarnaOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataKlarnaOptions()), 'PaymentIntentPaymentMethodDataKonbiniOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataKonbiniOptions()), 'PaymentIntentPaymentMethodDataKrCardOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataKrCardOptions()), 'PaymentIntentPaymentMethodDataLinkOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataLinkOptions()), 'PaymentIntentPaymentMethodDataMobilepayOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataMobilepayOptions()), 'PaymentIntentPaymentMethodDataMultibancoOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataMultibancoOptions()), 'PaymentIntentPaymentMethodDataNaverPayOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataNaverPayOptions()), 'PaymentIntentPaymentMethodDataNzBankAccountOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataNzBankAccountOptions()), 'PaymentIntentPaymentMethodDataOxxoOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataOxxoOptions()), 'PaymentIntentPaymentMethodDataP24Options': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataP24Options()), 'PaymentIntentPaymentMethodDataPayByBankOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataPayByBankOptions()), 'PaymentIntentPaymentMethodDataPaycoOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataPaycoOptions()), 'PaymentIntentPaymentMethodDataPaynowOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataPaynowOptions()), 'PaymentIntentPaymentMethodDataPaypalOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataPaypalOptions()), 'PaymentIntentPaymentMethodDataPixOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataPixOptions()), 'PaymentIntentPaymentMethodDataPromptpayOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataPromptpayOptions()), 'PaymentIntentPaymentMethodDataRadarOptionsOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataRadarOptionsOptions()), 'PaymentIntentPaymentMethodDataRevolutPayOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataRevolutPayOptions()), 'PaymentIntentPaymentMethodDataSamsungPayOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataSamsungPayOptions()), 'PaymentIntentPaymentMethodDataSatispayOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataSatispayOptions()), 'PaymentIntentPaymentMethodDataSepaDebitOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataSepaDebitOptions()), 'PaymentIntentPaymentMethodDataSofortOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataSofortOptions()), 'PaymentIntentPaymentMethodDataSwishOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataSwishOptions()), 'PaymentIntentPaymentMethodDataTwintOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataTwintOptions()), 'PaymentIntentPaymentMethodDataUsBankAccountOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataUsBankAccountOptions()), 'PaymentIntentPaymentMethodDataWechatPayOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataWechatPayOptions()), 'PaymentIntentPaymentMethodDataZipOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataZipOptions()), 'PaymentIntentPaymentMethodDataOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodDataOptions()), 'PaymentIntentPaymentMethodOptionsAcssDebitMandateOptionsOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsAcssDebitMandateOptionsOptions()), 'PaymentIntentPaymentMethodOptionsAcssDebitOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsAcssDebitOptions()), 'PaymentIntentPaymentMethodOptionsAffirmOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsAffirmOptions()), 'PaymentIntentPaymentMethodOptionsAfterpayClearpayOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsAfterpayClearpayOptions()), 'PaymentIntentPaymentMethodOptionsAlipayOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsAlipayOptions()), 'PaymentIntentPaymentMethodOptionsAlmaOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsAlmaOptions()), 'PaymentIntentPaymentMethodOptionsAmazonPayOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsAmazonPayOptions()), 'PaymentIntentPaymentMethodOptionsAuBecsDebitOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsAuBecsDebitOptions()), 'PaymentIntentPaymentMethodOptionsBacsDebitMandateOptionsOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsBacsDebitMandateOptionsOptions()), 'PaymentIntentPaymentMethodOptionsBacsDebitOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsBacsDebitOptions()), 'PaymentIntentPaymentMethodOptionsBancontactOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsBancontactOptions()), 'PaymentIntentPaymentMethodOptionsBlikOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsBlikOptions()), 'PaymentIntentPaymentMethodOptionsBoletoOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsBoletoOptions()), 'PaymentIntentPaymentMethodOptionsCardInstallmentsPlanOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsCardInstallmentsPlanOptions()), 'PaymentIntentPaymentMethodOptionsCardInstallmentsOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsCardInstallmentsOptions()), 'PaymentIntentPaymentMethodOptionsCardMandateOptionsOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsCardMandateOptionsOptions()), 'PaymentIntentPaymentMethodOptionsCardThreeDSecureNetworkOptionsCartesBancairesOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsCardThreeDSecureNetworkOptionsCartesBancairesOptions()), 'PaymentIntentPaymentMethodOptionsCardThreeDSecureNetworkOptionsOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsCardThreeDSecureNetworkOptionsOptions()), 'PaymentIntentPaymentMethodOptionsCardThreeDSecureOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsCardThreeDSecureOptions()), 'PaymentIntentPaymentMethodOptionsCardOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsCardOptions()), 'PaymentIntentPaymentMethodOptionsCardPresentRoutingOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsCardPresentRoutingOptions()), 'PaymentIntentPaymentMethodOptionsCardPresentOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsCardPresentOptions()), 'PaymentIntentPaymentMethodOptionsCashappOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsCashappOptions()), 'PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferOptions()), 'PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferOptions()), 'PaymentIntentPaymentMethodOptionsCustomerBalanceOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsCustomerBalanceOptions()), 'PaymentIntentPaymentMethodOptionsEpsOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsEpsOptions()), 'PaymentIntentPaymentMethodOptionsFpxOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsFpxOptions()), 'PaymentIntentPaymentMethodOptionsGiropayOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsGiropayOptions()), 'PaymentIntentPaymentMethodOptionsGrabpayOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsGrabpayOptions()), 'PaymentIntentPaymentMethodOptionsIdealOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsIdealOptions()), 'PaymentIntentPaymentMethodOptionsInteracPresentOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsInteracPresentOptions()), 'PaymentIntentPaymentMethodOptionsKakaoPayOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsKakaoPayOptions()), 'PaymentIntentPaymentMethodOptionsKlarnaOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsKlarnaOptions()), 'PaymentIntentPaymentMethodOptionsKonbiniOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsKonbiniOptions()), 'PaymentIntentPaymentMethodOptionsKrCardOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsKrCardOptions()), 'PaymentIntentPaymentMethodOptionsLinkOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsLinkOptions()), 'PaymentIntentPaymentMethodOptionsMobilepayOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsMobilepayOptions()), 'PaymentIntentPaymentMethodOptionsMultibancoOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsMultibancoOptions()), 'PaymentIntentPaymentMethodOptionsNaverPayOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsNaverPayOptions()), 'PaymentIntentPaymentMethodOptionsNzBankAccountOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsNzBankAccountOptions()), 'PaymentIntentPaymentMethodOptionsOxxoOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsOxxoOptions()), 'PaymentIntentPaymentMethodOptionsP24Options': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsP24Options()), 'PaymentIntentPaymentMethodOptionsPayByBankOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsPayByBankOptions()), 'PaymentIntentPaymentMethodOptionsPaycoOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsPaycoOptions()), 'PaymentIntentPaymentMethodOptionsPaynowOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsPaynowOptions()), 'PaymentIntentPaymentMethodOptionsPaypalOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsPaypalOptions()), 'PaymentIntentPaymentMethodOptionsPixOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsPixOptions()), 'PaymentIntentPaymentMethodOptionsPromptpayOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsPromptpayOptions()), 'PaymentIntentPaymentMethodOptionsRevolutPayOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsRevolutPayOptions()), 'PaymentIntentPaymentMethodOptionsSamsungPayOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsSamsungPayOptions()), 'PaymentIntentPaymentMethodOptionsSepaDebitMandateOptionsOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsSepaDebitMandateOptionsOptions()), 'PaymentIntentPaymentMethodOptionsSepaDebitOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsSepaDebitOptions()), 'PaymentIntentPaymentMethodOptionsSofortOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsSofortOptions()), 'PaymentIntentPaymentMethodOptionsSwishOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsSwishOptions()), 'PaymentIntentPaymentMethodOptionsTwintOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsTwintOptions()), 'PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersOptions()), 'PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsOptions()), 'PaymentIntentPaymentMethodOptionsUsBankAccountMandateOptionsOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsUsBankAccountMandateOptionsOptions()), 'PaymentIntentPaymentMethodOptionsUsBankAccountNetworksOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsUsBankAccountNetworksOptions()), 'PaymentIntentPaymentMethodOptionsUsBankAccountOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsUsBankAccountOptions()), 'PaymentIntentPaymentMethodOptionsWechatPayOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsWechatPayOptions()), 'PaymentIntentPaymentMethodOptionsZipOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsZipOptions()), 'PaymentIntentPaymentMethodOptionsOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsOptions()), 'PaymentIntentRadarOptionsOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentRadarOptionsOptions()), 'PaymentIntentTransferDataOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentTransferDataOptions()), 'PaymentIntentCreateOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentCreateOptions()), 'CustomerCashBalanceSettingsOptions': TypeInfo(TypeOf.Class, create:() => CustomerCashBalanceSettingsOptions()), 'CustomerCashBalanceOptions': TypeInfo(TypeOf.Class, create:() => CustomerCashBalanceOptions()), 'CustomerInvoiceSettingsCustomFieldOptions': TypeInfo(TypeOf.Class, create:() => CustomerInvoiceSettingsCustomFieldOptions()), 'CustomerInvoiceSettingsRenderingOptionsOptions': TypeInfo(TypeOf.Class, create:() => CustomerInvoiceSettingsRenderingOptionsOptions()), 'CustomerInvoiceSettingsOptions': TypeInfo(TypeOf.Class, create:() => CustomerInvoiceSettingsOptions()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'ShippingOptions': TypeInfo(TypeOf.Class, create:() => ShippingOptions()), 'CardCreateNestedOptions': TypeInfo(TypeOf.Class, create:() => CardCreateNestedOptions()), 'CustomerTaxOptions': TypeInfo(TypeOf.Class, create:() => CustomerTaxOptions()), 'CustomerTaxIdDataOptions': TypeInfo(TypeOf.Class, create:() => CustomerTaxIdDataOptions()), 'CustomerCreateOptions': TypeInfo(TypeOf.Class, create:() => CustomerCreateOptions()), 'AnyOf2': TypeInfo(TypeOf.Class, create:() => AnyOf2()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'StripeCreatePaymentOptions': TypeInfo(TypeOf.Class, create:() => StripeCreatePaymentOptions()), 'RequestOptions': TypeInfo(TypeOf.Class, create:() => RequestOptions()), 'StripeCreateCheckoutQuery': TypeInfo(TypeOf.Class, create:() => StripeCreateCheckoutQuery()), 'SessionAdaptivePricing': TypeInfo(TypeOf.Class, create:() => SessionAdaptivePricing()), 'SessionAfterExpirationRecovery': TypeInfo(TypeOf.Class, create:() => SessionAfterExpirationRecovery()), 'SessionAfterExpiration': TypeInfo(TypeOf.Class, create:() => SessionAfterExpiration()), 'SessionAutomaticTaxLiability': TypeInfo(TypeOf.Class, create:() => SessionAutomaticTaxLiability()), 'SessionAutomaticTax': TypeInfo(TypeOf.Class, create:() => SessionAutomaticTax()), 'SessionCollectedInformationShippingDetails': TypeInfo(TypeOf.Class, create:() => SessionCollectedInformationShippingDetails()), 'SessionCollectedInformation': TypeInfo(TypeOf.Class, create:() => SessionCollectedInformation()), 'SessionConsent': TypeInfo(TypeOf.Class, create:() => SessionConsent()), 'SessionConsentCollectionPaymentMethodReuseAgreement': TypeInfo(TypeOf.Class, create:() => SessionConsentCollectionPaymentMethodReuseAgreement()), 'SessionConsentCollection': TypeInfo(TypeOf.Class, create:() => SessionConsentCollection()), 'SessionCurrencyConversion': TypeInfo(TypeOf.Class, create:() => SessionCurrencyConversion()), 'SessionCustomFieldDropdownOption': TypeInfo(TypeOf.Class, create:() => SessionCustomFieldDropdownOption()), 'SessionCustomFieldDropdown': TypeInfo(TypeOf.Class, create:() => SessionCustomFieldDropdown()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'SessionCustomFieldLabel': TypeInfo(TypeOf.Class, create:() => SessionCustomFieldLabel()), 'SessionCustomFieldNumeric': TypeInfo(TypeOf.Class, create:() => SessionCustomFieldNumeric()), 'SessionCustomFieldText': TypeInfo(TypeOf.Class, create:() => SessionCustomFieldText()), 'SessionCustomField': TypeInfo(TypeOf.Class, create:() => SessionCustomField()), 'SessionCustomTextAfterSubmit': TypeInfo(TypeOf.Class, create:() => SessionCustomTextAfterSubmit()), 'SessionCustomTextShippingAddress': TypeInfo(TypeOf.Class, create:() => SessionCustomTextShippingAddress()), 'SessionCustomTextSubmit': TypeInfo(TypeOf.Class, create:() => SessionCustomTextSubmit()), 'SessionCustomTextTermsOfServiceAcceptance': TypeInfo(TypeOf.Class, create:() => SessionCustomTextTermsOfServiceAcceptance()), 'SessionCustomText': TypeInfo(TypeOf.Class, create:() => SessionCustomText()), 'SessionCustomerDetailsTaxId': TypeInfo(TypeOf.Class, create:() => SessionCustomerDetailsTaxId()), 'SessionCustomerDetails': TypeInfo(TypeOf.Class, create:() => SessionCustomerDetails()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'SessionDiscount': TypeInfo(TypeOf.Class, create:() => SessionDiscount()), 'SessionInvoiceCreationInvoiceDataCustomField': TypeInfo(TypeOf.Class, create:() => SessionInvoiceCreationInvoiceDataCustomField()), 'SessionInvoiceCreationInvoiceDataIssuer': TypeInfo(TypeOf.Class, create:() => SessionInvoiceCreationInvoiceDataIssuer()), 'SessionInvoiceCreationInvoiceDataRenderingOptions': TypeInfo(TypeOf.Class, create:() => SessionInvoiceCreationInvoiceDataRenderingOptions()), 'SessionInvoiceCreationInvoiceData': TypeInfo(TypeOf.Class, create:() => SessionInvoiceCreationInvoiceData()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'SessionInvoiceCreation': TypeInfo(TypeOf.Class, create:() => SessionInvoiceCreation()), 'CouponAppliesTo': TypeInfo(TypeOf.Class, create:() => CouponAppliesTo()), 'CouponCurrencyOptions': TypeInfo(TypeOf.Class, create:() => CouponCurrencyOptions()), 'Coupon': TypeInfo(TypeOf.Class, create:() => Coupon()), 'Map': TypeInfo(TypeOf.Class, create:() => Map()), 'Discount': TypeInfo(TypeOf.Class, create:() => Discount()), 'LineItemDiscount': TypeInfo(TypeOf.Class, create:() => LineItemDiscount()), 'PriceCurrencyOptionsCustomUnitAmount': TypeInfo(TypeOf.Class, create:() => PriceCurrencyOptionsCustomUnitAmount()), 'PriceCurrencyOptionsTier': TypeInfo(TypeOf.Class, create:() => PriceCurrencyOptionsTier()), 'PriceCurrencyOptions': TypeInfo(TypeOf.Class, create:() => PriceCurrencyOptions()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'PriceCustomUnitAmount': TypeInfo(TypeOf.Class, create:() => PriceCustomUnitAmount()), 'PriceRecurring': TypeInfo(TypeOf.Class, create:() => PriceRecurring()), 'PriceTier': TypeInfo(TypeOf.Class, create:() => PriceTier()), 'PriceTransformQuantity': TypeInfo(TypeOf.Class, create:() => PriceTransformQuantity()), 'Price': TypeInfo(TypeOf.Class, create:() => Price()), 'Map': TypeInfo(TypeOf.Class, create:() => Map()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'TaxRateFlatAmount': TypeInfo(TypeOf.Class, create:() => TaxRateFlatAmount()), 'TaxRate': TypeInfo(TypeOf.Class, create:() => TaxRate()), 'LineItemTax': TypeInfo(TypeOf.Class, create:() => LineItemTax()), 'LineItem': TypeInfo(TypeOf.Class, create:() => LineItem()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'SessionOptionalItemAdjustableQuantity': TypeInfo(TypeOf.Class, create:() => SessionOptionalItemAdjustableQuantity()), 'SessionOptionalItem': TypeInfo(TypeOf.Class, create:() => SessionOptionalItem()), 'SessionPaymentMethodConfigurationDetails': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodConfigurationDetails()), 'SessionPaymentMethodOptionsAcssDebitMandateOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsAcssDebitMandateOptions()), 'SessionPaymentMethodOptionsAcssDebit': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsAcssDebit()), 'SessionPaymentMethodOptionsAffirm': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsAffirm()), 'SessionPaymentMethodOptionsAfterpayClearpay': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsAfterpayClearpay()), 'SessionPaymentMethodOptionsAlipay': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsAlipay()), 'SessionPaymentMethodOptionsAmazonPay': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsAmazonPay()), 'SessionPaymentMethodOptionsAuBecsDebit': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsAuBecsDebit()), 'SessionPaymentMethodOptionsBacsDebitMandateOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsBacsDebitMandateOptions()), 'SessionPaymentMethodOptionsBacsDebit': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsBacsDebit()), 'SessionPaymentMethodOptionsBancontact': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsBancontact()), 'SessionPaymentMethodOptionsBoleto': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsBoleto()), 'SessionPaymentMethodOptionsCardInstallments': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsCardInstallments()), 'SessionPaymentMethodOptionsCardRestrictions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsCardRestrictions()), 'SessionPaymentMethodOptionsCard': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsCard()), 'SessionPaymentMethodOptionsCashapp': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsCashapp()), 'SessionPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer()), 'SessionPaymentMethodOptionsCustomerBalanceBankTransfer': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsCustomerBalanceBankTransfer()), 'SessionPaymentMethodOptionsCustomerBalance': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsCustomerBalance()), 'SessionPaymentMethodOptionsEps': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsEps()), 'SessionPaymentMethodOptionsFpx': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsFpx()), 'SessionPaymentMethodOptionsGiropay': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsGiropay()), 'SessionPaymentMethodOptionsGrabpay': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsGrabpay()), 'SessionPaymentMethodOptionsIdeal': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsIdeal()), 'SessionPaymentMethodOptionsKakaoPay': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsKakaoPay()), 'SessionPaymentMethodOptionsKlarna': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsKlarna()), 'SessionPaymentMethodOptionsKonbini': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsKonbini()), 'SessionPaymentMethodOptionsKrCard': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsKrCard()), 'SessionPaymentMethodOptionsLink': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsLink()), 'SessionPaymentMethodOptionsMobilepay': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsMobilepay()), 'SessionPaymentMethodOptionsMultibanco': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsMultibanco()), 'SessionPaymentMethodOptionsNaverPay': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsNaverPay()), 'SessionPaymentMethodOptionsOxxo': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsOxxo()), 'SessionPaymentMethodOptionsP24': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsP24()), 'SessionPaymentMethodOptionsPayco': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsPayco()), 'SessionPaymentMethodOptionsPaynow': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsPaynow()), 'SessionPaymentMethodOptionsPaypal': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsPaypal()), 'SessionPaymentMethodOptionsPix': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsPix()), 'SessionPaymentMethodOptionsRevolutPay': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsRevolutPay()), 'SessionPaymentMethodOptionsSamsungPay': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsSamsungPay()), 'SessionPaymentMethodOptionsSepaDebitMandateOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsSepaDebitMandateOptions()), 'SessionPaymentMethodOptionsSepaDebit': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsSepaDebit()), 'SessionPaymentMethodOptionsSofort': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsSofort()), 'SessionPaymentMethodOptionsSwish': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsSwish()), 'SessionPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters()), 'SessionPaymentMethodOptionsUsBankAccountFinancialConnections': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsUsBankAccountFinancialConnections()), 'SessionPaymentMethodOptionsUsBankAccount': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptionsUsBankAccount()), 'SessionPaymentMethodOptions': TypeInfo(TypeOf.Class, create:() => SessionPaymentMethodOptions()), 'SessionPermissions': TypeInfo(TypeOf.Class, create:() => SessionPermissions()), 'SessionPhoneNumberCollection': TypeInfo(TypeOf.Class, create:() => SessionPhoneNumberCollection()), 'SessionPresentmentDetails': TypeInfo(TypeOf.Class, create:() => SessionPresentmentDetails()), 'SessionSavedPaymentMethodOptions': TypeInfo(TypeOf.Class, create:() => SessionSavedPaymentMethodOptions()), 'SessionShippingAddressCollection': TypeInfo(TypeOf.Class, create:() => SessionShippingAddressCollection()), 'SessionShippingCostTax': TypeInfo(TypeOf.Class, create:() => SessionShippingCostTax()), 'SessionShippingCost': TypeInfo(TypeOf.Class, create:() => SessionShippingCost()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'SessionShippingOption': TypeInfo(TypeOf.Class, create:() => SessionShippingOption()), 'SessionTaxIdCollection': TypeInfo(TypeOf.Class, create:() => SessionTaxIdCollection()), 'SessionTotalDetailsBreakdownDiscount': TypeInfo(TypeOf.Class, create:() => SessionTotalDetailsBreakdownDiscount()), 'SessionTotalDetailsBreakdownTax': TypeInfo(TypeOf.Class, create:() => SessionTotalDetailsBreakdownTax()), 'SessionTotalDetailsBreakdown': TypeInfo(TypeOf.Class, create:() => SessionTotalDetailsBreakdown()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'SessionTotalDetails': TypeInfo(TypeOf.Class, create:() => SessionTotalDetails()), 'Session': TypeInfo(TypeOf.Class, create:() => Session()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'StripeList': TypeInfo(TypeOf.Class, create:() => StripeList()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'PaymentIntentAmountDetailsTip': TypeInfo(TypeOf.Class, create:() => PaymentIntentAmountDetailsTip()), 'PaymentIntentAmountDetails': TypeInfo(TypeOf.Class, create:() => PaymentIntentAmountDetails()), 'PaymentIntentAutomaticPaymentMethods': TypeInfo(TypeOf.Class, create:() => PaymentIntentAutomaticPaymentMethods()), 'PaymentMethodAcssDebit': TypeInfo(TypeOf.Class, create:() => PaymentMethodAcssDebit()), 'PaymentMethodAffirm': TypeInfo(TypeOf.Class, create:() => PaymentMethodAffirm()), 'PaymentMethodAfterpayClearpay': TypeInfo(TypeOf.Class, create:() => PaymentMethodAfterpayClearpay()), 'PaymentMethodAlipay': TypeInfo(TypeOf.Class, create:() => PaymentMethodAlipay()), 'PaymentMethodAlma': TypeInfo(TypeOf.Class, create:() => PaymentMethodAlma()), 'PaymentMethodAmazonPay': TypeInfo(TypeOf.Class, create:() => PaymentMethodAmazonPay()), 'PaymentMethodAuBecsDebit': TypeInfo(TypeOf.Class, create:() => PaymentMethodAuBecsDebit()), 'PaymentMethodBacsDebit': TypeInfo(TypeOf.Class, create:() => PaymentMethodBacsDebit()), 'PaymentMethodBancontact': TypeInfo(TypeOf.Class, create:() => PaymentMethodBancontact()), 'PaymentMethodBillie': TypeInfo(TypeOf.Class, create:() => PaymentMethodBillie()), 'PaymentMethodBillingDetails': TypeInfo(TypeOf.Class, create:() => PaymentMethodBillingDetails()), 'PaymentMethodBlik': TypeInfo(TypeOf.Class, create:() => PaymentMethodBlik()), 'PaymentMethodBoleto': TypeInfo(TypeOf.Class, create:() => PaymentMethodBoleto()), 'PaymentMethodCardChecks': TypeInfo(TypeOf.Class, create:() => PaymentMethodCardChecks()), 'PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentOffline': TypeInfo(TypeOf.Class, create:() => PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentOffline()), 'PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentReceipt': TypeInfo(TypeOf.Class, create:() => PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentReceipt()), 'PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentWallet': TypeInfo(TypeOf.Class, create:() => PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentWallet()), 'PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresent': TypeInfo(TypeOf.Class, create:() => PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresent()), 'PaymentMethodCardGeneratedFromPaymentMethodDetails': TypeInfo(TypeOf.Class, create:() => PaymentMethodCardGeneratedFromPaymentMethodDetails()), 'PaymentMethodCardGeneratedFrom': TypeInfo(TypeOf.Class, create:() => PaymentMethodCardGeneratedFrom()), 'PaymentMethodCardNetworks': TypeInfo(TypeOf.Class, create:() => PaymentMethodCardNetworks()), 'PaymentMethodCardThreeDSecureUsage': TypeInfo(TypeOf.Class, create:() => PaymentMethodCardThreeDSecureUsage()), 'PaymentMethodCardWalletAmexExpressCheckout': TypeInfo(TypeOf.Class, create:() => PaymentMethodCardWalletAmexExpressCheckout()), 'PaymentMethodCardWalletApplePay': TypeInfo(TypeOf.Class, create:() => PaymentMethodCardWalletApplePay()), 'PaymentMethodCardWalletGooglePay': TypeInfo(TypeOf.Class, create:() => PaymentMethodCardWalletGooglePay()), 'PaymentMethodCardWalletLink': TypeInfo(TypeOf.Class, create:() => PaymentMethodCardWalletLink()), 'PaymentMethodCardWalletMasterpass': TypeInfo(TypeOf.Class, create:() => PaymentMethodCardWalletMasterpass()), 'PaymentMethodCardWalletSamsungPay': TypeInfo(TypeOf.Class, create:() => PaymentMethodCardWalletSamsungPay()), 'PaymentMethodCardWalletVisaCheckout': TypeInfo(TypeOf.Class, create:() => PaymentMethodCardWalletVisaCheckout()), 'PaymentMethodCardWallet': TypeInfo(TypeOf.Class, create:() => PaymentMethodCardWallet()), 'PaymentMethodCard': TypeInfo(TypeOf.Class, create:() => PaymentMethodCard()), 'PaymentMethodCardPresentNetworks': TypeInfo(TypeOf.Class, create:() => PaymentMethodCardPresentNetworks()), 'PaymentMethodCardPresentOffline': TypeInfo(TypeOf.Class, create:() => PaymentMethodCardPresentOffline()), 'PaymentMethodCardPresentWallet': TypeInfo(TypeOf.Class, create:() => PaymentMethodCardPresentWallet()), 'PaymentMethodCardPresent': TypeInfo(TypeOf.Class, create:() => PaymentMethodCardPresent()), 'PaymentMethodCashapp': TypeInfo(TypeOf.Class, create:() => PaymentMethodCashapp()), 'PaymentMethodCustomerBalance': TypeInfo(TypeOf.Class, create:() => PaymentMethodCustomerBalance()), 'PaymentMethodEps': TypeInfo(TypeOf.Class, create:() => PaymentMethodEps()), 'PaymentMethodFpx': TypeInfo(TypeOf.Class, create:() => PaymentMethodFpx()), 'PaymentMethodGiropay': TypeInfo(TypeOf.Class, create:() => PaymentMethodGiropay()), 'PaymentMethodGrabpay': TypeInfo(TypeOf.Class, create:() => PaymentMethodGrabpay()), 'PaymentMethodIdeal': TypeInfo(TypeOf.Class, create:() => PaymentMethodIdeal()), 'PaymentMethodInteracPresentNetworks': TypeInfo(TypeOf.Class, create:() => PaymentMethodInteracPresentNetworks()), 'PaymentMethodInteracPresent': TypeInfo(TypeOf.Class, create:() => PaymentMethodInteracPresent()), 'PaymentMethodKakaoPay': TypeInfo(TypeOf.Class, create:() => PaymentMethodKakaoPay()), 'PaymentMethodKlarnaDob': TypeInfo(TypeOf.Class, create:() => PaymentMethodKlarnaDob()), 'PaymentMethodKlarna': TypeInfo(TypeOf.Class, create:() => PaymentMethodKlarna()), 'PaymentMethodKonbini': TypeInfo(TypeOf.Class, create:() => PaymentMethodKonbini()), 'PaymentMethodKrCard': TypeInfo(TypeOf.Class, create:() => PaymentMethodKrCard()), 'PaymentMethodLink': TypeInfo(TypeOf.Class, create:() => PaymentMethodLink()), 'PaymentMethodMobilepay': TypeInfo(TypeOf.Class, create:() => PaymentMethodMobilepay()), 'PaymentMethodMultibanco': TypeInfo(TypeOf.Class, create:() => PaymentMethodMultibanco()), 'PaymentMethodNaverPay': TypeInfo(TypeOf.Class, create:() => PaymentMethodNaverPay()), 'PaymentMethodNzBankAccount': TypeInfo(TypeOf.Class, create:() => PaymentMethodNzBankAccount()), 'PaymentMethodOxxo': TypeInfo(TypeOf.Class, create:() => PaymentMethodOxxo()), 'PaymentMethodP24': TypeInfo(TypeOf.Class, create:() => PaymentMethodP24()), 'PaymentMethodPayByBank': TypeInfo(TypeOf.Class, create:() => PaymentMethodPayByBank()), 'PaymentMethodPayco': TypeInfo(TypeOf.Class, create:() => PaymentMethodPayco()), 'PaymentMethodPaynow': TypeInfo(TypeOf.Class, create:() => PaymentMethodPaynow()), 'PaymentMethodPaypal': TypeInfo(TypeOf.Class, create:() => PaymentMethodPaypal()), 'PaymentMethodPix': TypeInfo(TypeOf.Class, create:() => PaymentMethodPix()), 'PaymentMethodPromptpay': TypeInfo(TypeOf.Class, create:() => PaymentMethodPromptpay()), 'PaymentMethodRadarOptions': TypeInfo(TypeOf.Class, create:() => PaymentMethodRadarOptions()), 'PaymentMethodRevolutPay': TypeInfo(TypeOf.Class, create:() => PaymentMethodRevolutPay()), 'PaymentMethodSamsungPay': TypeInfo(TypeOf.Class, create:() => PaymentMethodSamsungPay()), 'PaymentMethodSatispay': TypeInfo(TypeOf.Class, create:() => PaymentMethodSatispay()), 'PaymentMethodSepaDebitGeneratedFrom': TypeInfo(TypeOf.Class, create:() => PaymentMethodSepaDebitGeneratedFrom()), 'PaymentMethodSepaDebit': TypeInfo(TypeOf.Class, create:() => PaymentMethodSepaDebit()), 'PaymentMethodSofort': TypeInfo(TypeOf.Class, create:() => PaymentMethodSofort()), 'PaymentMethodSwish': TypeInfo(TypeOf.Class, create:() => PaymentMethodSwish()), 'PaymentMethodTwint': TypeInfo(TypeOf.Class, create:() => PaymentMethodTwint()), 'PaymentMethodUsBankAccountNetworks': TypeInfo(TypeOf.Class, create:() => PaymentMethodUsBankAccountNetworks()), 'PaymentMethodUsBankAccountStatusDetailsBlocked': TypeInfo(TypeOf.Class, create:() => PaymentMethodUsBankAccountStatusDetailsBlocked()), 'PaymentMethodUsBankAccountStatusDetails': TypeInfo(TypeOf.Class, create:() => PaymentMethodUsBankAccountStatusDetails()), 'PaymentMethodUsBankAccount': TypeInfo(TypeOf.Class, create:() => PaymentMethodUsBankAccount()), 'PaymentMethodWechatPay': TypeInfo(TypeOf.Class, create:() => PaymentMethodWechatPay()), 'PaymentMethodZip': TypeInfo(TypeOf.Class, create:() => PaymentMethodZip()), 'PaymentMethod': TypeInfo(TypeOf.Class, create:() => PaymentMethod()), 'SetupIntentAutomaticPaymentMethods': TypeInfo(TypeOf.Class, create:() => SetupIntentAutomaticPaymentMethods()), 'SetupIntentNextActionCashappHandleRedirectOrDisplayQrCodeQrCode': TypeInfo(TypeOf.Class, create:() => SetupIntentNextActionCashappHandleRedirectOrDisplayQrCodeQrCode()), 'SetupIntentNextActionCashappHandleRedirectOrDisplayQrCode': TypeInfo(TypeOf.Class, create:() => SetupIntentNextActionCashappHandleRedirectOrDisplayQrCode()), 'SetupIntentNextActionRedirectToUrl': TypeInfo(TypeOf.Class, create:() => SetupIntentNextActionRedirectToUrl()), 'SetupIntentNextActionUseStripeSdk': TypeInfo(TypeOf.Class, create:() => SetupIntentNextActionUseStripeSdk()), 'SetupIntentNextActionVerifyWithMicrodeposits': TypeInfo(TypeOf.Class, create:() => SetupIntentNextActionVerifyWithMicrodeposits()), 'SetupIntentNextAction': TypeInfo(TypeOf.Class, create:() => SetupIntentNextAction()), 'SetupIntentPaymentMethodConfigurationDetails': TypeInfo(TypeOf.Class, create:() => SetupIntentPaymentMethodConfigurationDetails()), 'SetupIntentPaymentMethodOptionsAcssDebitMandateOptions': TypeInfo(TypeOf.Class, create:() => SetupIntentPaymentMethodOptionsAcssDebitMandateOptions()), 'SetupIntentPaymentMethodOptionsAcssDebit': TypeInfo(TypeOf.Class, create:() => SetupIntentPaymentMethodOptionsAcssDebit()), 'SetupIntentPaymentMethodOptionsAmazonPay': TypeInfo(TypeOf.Class, create:() => SetupIntentPaymentMethodOptionsAmazonPay()), 'SetupIntentPaymentMethodOptionsBacsDebitMandateOptions': TypeInfo(TypeOf.Class, create:() => SetupIntentPaymentMethodOptionsBacsDebitMandateOptions()), 'SetupIntentPaymentMethodOptionsBacsDebit': TypeInfo(TypeOf.Class, create:() => SetupIntentPaymentMethodOptionsBacsDebit()), 'SetupIntentPaymentMethodOptionsCardMandateOptions': TypeInfo(TypeOf.Class, create:() => SetupIntentPaymentMethodOptionsCardMandateOptions()), 'SetupIntentPaymentMethodOptionsCard': TypeInfo(TypeOf.Class, create:() => SetupIntentPaymentMethodOptionsCard()), 'SetupIntentPaymentMethodOptionsCardPresent': TypeInfo(TypeOf.Class, create:() => SetupIntentPaymentMethodOptionsCardPresent()), 'SetupIntentPaymentMethodOptionsLink': TypeInfo(TypeOf.Class, create:() => SetupIntentPaymentMethodOptionsLink()), 'SetupIntentPaymentMethodOptionsPaypal': TypeInfo(TypeOf.Class, create:() => SetupIntentPaymentMethodOptionsPaypal()), 'SetupIntentPaymentMethodOptionsSepaDebitMandateOptions': TypeInfo(TypeOf.Class, create:() => SetupIntentPaymentMethodOptionsSepaDebitMandateOptions()), 'SetupIntentPaymentMethodOptionsSepaDebit': TypeInfo(TypeOf.Class, create:() => SetupIntentPaymentMethodOptionsSepaDebit()), 'SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters': TypeInfo(TypeOf.Class, create:() => SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters()), 'SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnections': TypeInfo(TypeOf.Class, create:() => SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnections()), 'SetupIntentPaymentMethodOptionsUsBankAccountMandateOptions': TypeInfo(TypeOf.Class, create:() => SetupIntentPaymentMethodOptionsUsBankAccountMandateOptions()), 'SetupIntentPaymentMethodOptionsUsBankAccount': TypeInfo(TypeOf.Class, create:() => SetupIntentPaymentMethodOptionsUsBankAccount()), 'SetupIntentPaymentMethodOptions': TypeInfo(TypeOf.Class, create:() => SetupIntentPaymentMethodOptions()), 'SetupIntent': TypeInfo(TypeOf.Class, create:() => SetupIntent()), 'StripeError': TypeInfo(TypeOf.Class, create:() => StripeError()), 'IPaymentSource': TypeInfo(TypeOf.Interface), 'PaymentIntent': TypeInfo(TypeOf.Class, create:() => PaymentIntent()), 'PaymentIntentNextActionAlipayHandleRedirect': TypeInfo(TypeOf.Class, create:() => PaymentIntentNextActionAlipayHandleRedirect()), 'PaymentIntentNextActionBoletoDisplayDetails': TypeInfo(TypeOf.Class, create:() => PaymentIntentNextActionBoletoDisplayDetails()), 'PaymentIntentNextActionCardAwaitNotification': TypeInfo(TypeOf.Class, create:() => PaymentIntentNextActionCardAwaitNotification()), 'PaymentIntentNextActionCashappHandleRedirectOrDisplayQrCodeQrCode': TypeInfo(TypeOf.Class, create:() => PaymentIntentNextActionCashappHandleRedirectOrDisplayQrCodeQrCode()), 'PaymentIntentNextActionCashappHandleRedirectOrDisplayQrCode': TypeInfo(TypeOf.Class, create:() => PaymentIntentNextActionCashappHandleRedirectOrDisplayQrCode()), 'PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressAba': TypeInfo(TypeOf.Class, create:() => PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressAba()), 'PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressIban': TypeInfo(TypeOf.Class, create:() => PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressIban()), 'PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSortCode': TypeInfo(TypeOf.Class, create:() => PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSortCode()), 'PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSpei': TypeInfo(TypeOf.Class, create:() => PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSpei()), 'PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSwift': TypeInfo(TypeOf.Class, create:() => PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSwift()), 'PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressZengin': TypeInfo(TypeOf.Class, create:() => PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressZengin()), 'PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddress': TypeInfo(TypeOf.Class, create:() => PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddress()), 'PaymentIntentNextActionDisplayBankTransferInstructions': TypeInfo(TypeOf.Class, create:() => PaymentIntentNextActionDisplayBankTransferInstructions()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'PaymentIntentNextActionKonbiniDisplayDetailsStoresFamilymart': TypeInfo(TypeOf.Class, create:() => PaymentIntentNextActionKonbiniDisplayDetailsStoresFamilymart()), 'PaymentIntentNextActionKonbiniDisplayDetailsStoresLawson': TypeInfo(TypeOf.Class, create:() => PaymentIntentNextActionKonbiniDisplayDetailsStoresLawson()), 'PaymentIntentNextActionKonbiniDisplayDetailsStoresMinistop': TypeInfo(TypeOf.Class, create:() => PaymentIntentNextActionKonbiniDisplayDetailsStoresMinistop()), 'PaymentIntentNextActionKonbiniDisplayDetailsStoresSeicomart': TypeInfo(TypeOf.Class, create:() => PaymentIntentNextActionKonbiniDisplayDetailsStoresSeicomart()), 'PaymentIntentNextActionKonbiniDisplayDetailsStores': TypeInfo(TypeOf.Class, create:() => PaymentIntentNextActionKonbiniDisplayDetailsStores()), 'PaymentIntentNextActionKonbiniDisplayDetails': TypeInfo(TypeOf.Class, create:() => PaymentIntentNextActionKonbiniDisplayDetails()), 'PaymentIntentNextActionMultibancoDisplayDetails': TypeInfo(TypeOf.Class, create:() => PaymentIntentNextActionMultibancoDisplayDetails()), 'PaymentIntentNextActionOxxoDisplayDetails': TypeInfo(TypeOf.Class, create:() => PaymentIntentNextActionOxxoDisplayDetails()), 'PaymentIntentNextActionPaynowDisplayQrCode': TypeInfo(TypeOf.Class, create:() => PaymentIntentNextActionPaynowDisplayQrCode()), 'PaymentIntentNextActionPixDisplayQrCode': TypeInfo(TypeOf.Class, create:() => PaymentIntentNextActionPixDisplayQrCode()), 'PaymentIntentNextActionPromptpayDisplayQrCode': TypeInfo(TypeOf.Class, create:() => PaymentIntentNextActionPromptpayDisplayQrCode()), 'PaymentIntentNextActionRedirectToUrl': TypeInfo(TypeOf.Class, create:() => PaymentIntentNextActionRedirectToUrl()), 'PaymentIntentNextActionSwishHandleRedirectOrDisplayQrCodeQrCode': TypeInfo(TypeOf.Class, create:() => PaymentIntentNextActionSwishHandleRedirectOrDisplayQrCodeQrCode()), 'PaymentIntentNextActionSwishHandleRedirectOrDisplayQrCode': TypeInfo(TypeOf.Class, create:() => PaymentIntentNextActionSwishHandleRedirectOrDisplayQrCode()), 'PaymentIntentNextActionUseStripeSdk': TypeInfo(TypeOf.Class, create:() => PaymentIntentNextActionUseStripeSdk()), 'PaymentIntentNextActionVerifyWithMicrodeposits': TypeInfo(TypeOf.Class, create:() => PaymentIntentNextActionVerifyWithMicrodeposits()), 'PaymentIntentNextActionWechatPayDisplayQrCode': TypeInfo(TypeOf.Class, create:() => PaymentIntentNextActionWechatPayDisplayQrCode()), 'PaymentIntentNextActionWechatPayRedirectToAndroidApp': TypeInfo(TypeOf.Class, create:() => PaymentIntentNextActionWechatPayRedirectToAndroidApp()), 'PaymentIntentNextActionWechatPayRedirectToIosApp': TypeInfo(TypeOf.Class, create:() => PaymentIntentNextActionWechatPayRedirectToIosApp()), 'PaymentIntentNextAction': TypeInfo(TypeOf.Class, create:() => PaymentIntentNextAction()), 'PaymentIntentPaymentMethodConfigurationDetails': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodConfigurationDetails()), 'PaymentIntentPaymentMethodOptionsAcssDebitMandateOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsAcssDebitMandateOptions()), 'PaymentIntentPaymentMethodOptionsAcssDebit': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsAcssDebit()), 'PaymentIntentPaymentMethodOptionsAffirm': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsAffirm()), 'PaymentIntentPaymentMethodOptionsAfterpayClearpay': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsAfterpayClearpay()), 'PaymentIntentPaymentMethodOptionsAlipay': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsAlipay()), 'PaymentIntentPaymentMethodOptionsAlma': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsAlma()), 'PaymentIntentPaymentMethodOptionsAmazonPay': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsAmazonPay()), 'PaymentIntentPaymentMethodOptionsAuBecsDebit': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsAuBecsDebit()), 'PaymentIntentPaymentMethodOptionsBacsDebitMandateOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsBacsDebitMandateOptions()), 'PaymentIntentPaymentMethodOptionsBacsDebit': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsBacsDebit()), 'PaymentIntentPaymentMethodOptionsBancontact': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsBancontact()), 'PaymentIntentPaymentMethodOptionsBlik': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsBlik()), 'PaymentIntentPaymentMethodOptionsBoleto': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsBoleto()), 'PaymentIntentPaymentMethodOptionsCardInstallmentsPlan': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsCardInstallmentsPlan()), 'PaymentIntentPaymentMethodOptionsCardInstallments': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsCardInstallments()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'PaymentIntentPaymentMethodOptionsCardMandateOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsCardMandateOptions()), 'PaymentIntentPaymentMethodOptionsCard': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsCard()), 'PaymentIntentPaymentMethodOptionsCardPresentRouting': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsCardPresentRouting()), 'PaymentIntentPaymentMethodOptionsCardPresent': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsCardPresent()), 'PaymentIntentPaymentMethodOptionsCashapp': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsCashapp()), 'PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer()), 'PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransfer': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransfer()), 'PaymentIntentPaymentMethodOptionsCustomerBalance': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsCustomerBalance()), 'PaymentIntentPaymentMethodOptionsEps': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsEps()), 'PaymentIntentPaymentMethodOptionsFpx': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsFpx()), 'PaymentIntentPaymentMethodOptionsGiropay': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsGiropay()), 'PaymentIntentPaymentMethodOptionsGrabpay': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsGrabpay()), 'PaymentIntentPaymentMethodOptionsIdeal': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsIdeal()), 'PaymentIntentPaymentMethodOptionsInteracPresent': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsInteracPresent()), 'PaymentIntentPaymentMethodOptionsKakaoPay': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsKakaoPay()), 'PaymentIntentPaymentMethodOptionsKlarna': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsKlarna()), 'PaymentIntentPaymentMethodOptionsKonbini': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsKonbini()), 'PaymentIntentPaymentMethodOptionsKrCard': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsKrCard()), 'PaymentIntentPaymentMethodOptionsLink': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsLink()), 'PaymentIntentPaymentMethodOptionsMobilepay': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsMobilepay()), 'PaymentIntentPaymentMethodOptionsMultibanco': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsMultibanco()), 'PaymentIntentPaymentMethodOptionsNaverPay': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsNaverPay()), 'PaymentIntentPaymentMethodOptionsNzBankAccount': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsNzBankAccount()), 'PaymentIntentPaymentMethodOptionsOxxo': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsOxxo()), 'PaymentIntentPaymentMethodOptionsP24': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsP24()), 'PaymentIntentPaymentMethodOptionsPayByBank': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsPayByBank()), 'PaymentIntentPaymentMethodOptionsPayco': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsPayco()), 'PaymentIntentPaymentMethodOptionsPaynow': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsPaynow()), 'PaymentIntentPaymentMethodOptionsPaypal': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsPaypal()), 'PaymentIntentPaymentMethodOptionsPix': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsPix()), 'PaymentIntentPaymentMethodOptionsPromptpay': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsPromptpay()), 'PaymentIntentPaymentMethodOptionsRevolutPay': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsRevolutPay()), 'PaymentIntentPaymentMethodOptionsSamsungPay': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsSamsungPay()), 'PaymentIntentPaymentMethodOptionsSepaDebitMandateOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsSepaDebitMandateOptions()), 'PaymentIntentPaymentMethodOptionsSepaDebit': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsSepaDebit()), 'PaymentIntentPaymentMethodOptionsSofort': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsSofort()), 'PaymentIntentPaymentMethodOptionsSwish': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsSwish()), 'PaymentIntentPaymentMethodOptionsTwint': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsTwint()), 'PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters()), 'PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnections': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnections()), 'PaymentIntentPaymentMethodOptionsUsBankAccountMandateOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsUsBankAccountMandateOptions()), 'PaymentIntentPaymentMethodOptionsUsBankAccount': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsUsBankAccount()), 'PaymentIntentPaymentMethodOptionsWechatPay': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsWechatPay()), 'PaymentIntentPaymentMethodOptionsZip': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptionsZip()), 'PaymentIntentPaymentMethodOptions': TypeInfo(TypeOf.Class, create:() => PaymentIntentPaymentMethodOptions()), 'PaymentIntentPresentmentDetails': TypeInfo(TypeOf.Class, create:() => PaymentIntentPresentmentDetails()), 'PaymentIntentProcessingCardCustomerNotification': TypeInfo(TypeOf.Class, create:() => PaymentIntentProcessingCardCustomerNotification()), 'PaymentIntentProcessingCard': TypeInfo(TypeOf.Class, create:() => PaymentIntentProcessingCard()), 'PaymentIntentProcessing': TypeInfo(TypeOf.Class, create:() => PaymentIntentProcessing()), 'PaymentIntentTransferData': TypeInfo(TypeOf.Class, create:() => PaymentIntentTransferData()), 'CustomSessionData': TypeInfo(TypeOf.Class, create:() => CustomSessionData()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'CustomPaymentIntentData': TypeInfo(TypeOf.Class, create:() => CustomPaymentIntentData()), 'StripeCustomCheckoutData': TypeInfo(TypeOf.Class, create:() => StripeCustomCheckoutData()), 'DataCacheStore': TypeInfo(TypeOf.Class, create:() => DataCacheStore()), 'CacheDataProvider': TypeInfo(TypeOf.Class, create:() => CacheDataProvider()), 'ArticleType': TypeInfo(TypeOf.Class, create:() => ArticleType()), 'UserAccessKeys': TypeInfo(TypeOf.Class, create:() => UserAccessKeys()), 'InvoiceAddress': TypeInfo(TypeOf.Class, create:() => InvoiceAddress()), 'CustomerComment': TypeInfo(TypeOf.Class, create:() => CustomerComment()), 'RebateCodeType': TypeInfo(TypeOf.Class, create:() => RebateCodeType()), 'RebateCodeStatus': TypeInfo(TypeOf.Class, create:() => RebateCodeStatus()), 'BokaMeraDayOfWeek': TypeInfo(TypeOf.Enum, enumValues:BokaMeraDayOfWeek.values), 'RebateCodeDayOfWeekRelation': TypeInfo(TypeOf.Class, create:() => RebateCodeDayOfWeekRelation()), 'RebateCodeServiceRelation': TypeInfo(TypeOf.Class, create:() => RebateCodeServiceRelation()), 'RebateCodeBookingPriceRelation': TypeInfo(TypeOf.Class, create:() => RebateCodeBookingPriceRelation()), 'RebateCodeCustomerRelation': TypeInfo(TypeOf.Class, create:() => RebateCodeCustomerRelation()), 'DaysOfWeek': TypeInfo(TypeOf.Class, create:() => DaysOfWeek()), 'PaymentDetails': TypeInfo(TypeOf.Class, create:() => PaymentDetails()), 'PriceMapping': TypeInfo(TypeOf.Class, create:() => PriceMapping()), 'ServicePriceDayOfWeekRelation': TypeInfo(TypeOf.Class, create:() => ServicePriceDayOfWeekRelation()), 'ServicePrice': TypeInfo(TypeOf.Class, create:() => ServicePrice()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'RebateCode': TypeInfo(TypeOf.Class, create:() => RebateCode()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'AppliedRebateCodes': TypeInfo(TypeOf.Class, create:() => AppliedRebateCodes()), 'BookingPrice': TypeInfo(TypeOf.Class, create:() => BookingPrice()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'BookedResource': TypeInfo(TypeOf.Class, create:() => BookedResource()), 'BookedResourceType': TypeInfo(TypeOf.Class, create:() => BookedResourceType()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'Booking': TypeInfo(TypeOf.Class, create:() => Booking()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'RebateCodeTransaction': TypeInfo(TypeOf.Class, create:() => RebateCodeTransaction()), 'Customer': TypeInfo(TypeOf.Class, create:() => Customer()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'ArticleInvoiceAddress': TypeInfo(TypeOf.Class, create:() => ArticleInvoiceAddress()), 'PayableEntity': TypeInfo(TypeOf.AbstractClass), 'IBokameraPaymentManager': TypeInfo(TypeOf.Class, create:() => IBokameraPaymentManager()), 'IBokameraPaymentManager': TypeInfo(TypeOf.Class, create:() => IBokameraPaymentManager()), 'ILogger1': TypeInfo(TypeOf.Class, create:() => ILogger1()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'IInterval': TypeInfo(TypeOf.Interface), 'InvoiceAddressResponse': TypeInfo(TypeOf.Class, create:() => InvoiceAddressResponse()), 'GroupBookingSettings': TypeInfo(TypeOf.Class, create:() => GroupBookingSettings()), 'MultipleResourceSettings': TypeInfo(TypeOf.Class, create:() => MultipleResourceSettings()), 'CustomFieldValueResponse': TypeInfo(TypeOf.Class, create:() => CustomFieldValueResponse()), 'CustomFieldConfigData': TypeInfo(TypeOf.Class, create:() => CustomFieldConfigData()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'BookedCompany': TypeInfo(TypeOf.Class, create:() => BookedCompany()), 'ServiceInfoResponse': TypeInfo(TypeOf.Class, create:() => ServiceInfoResponse()), 'CurrencyInfoResponse': TypeInfo(TypeOf.Class, create:() => CurrencyInfoResponse()), 'BookingPaymentLogQueryResponse': TypeInfo(TypeOf.Class, create:() => BookingPaymentLogQueryResponse()), 'BookingCheckoutQueryResponse': TypeInfo(TypeOf.Class, create:() => BookingCheckoutQueryResponse()), 'ExternalReferenceResponse': TypeInfo(TypeOf.Class, create:() => ExternalReferenceResponse()), 'IBaseModelCreated': TypeInfo(TypeOf.Interface), 'IBaseModelUpdated': TypeInfo(TypeOf.Interface), 'IBokameraPaymentManager': TypeInfo(TypeOf.GenericDef,create:() => IBokameraPaymentManager()), 'ILogger1': TypeInfo(TypeOf.GenericDef,create:() => ILogger1()), 'ICustomFieldTable': TypeInfo(TypeOf.Interface), 'IInvoiceAddress': TypeInfo(TypeOf.Interface), 'CustomApiResult': TypeInfo(TypeOf.GenericDef,create:() => CustomApiResult()), 'HttpStatusCode': TypeInfo(TypeOf.Class, create:() => HttpStatusCode()), 'IUser': TypeInfo(TypeOf.Interface), 'ServerData': TypeInfo(TypeOf.Class, create:() => ServerData()), 'ILogger': TypeInfo(TypeOf.Interface), 'INestedOptions': TypeInfo(TypeOf.Interface), 'IHasMetadata': TypeInfo(TypeOf.Interface), 'AnyOf': TypeInfo(TypeOf.AbstractClass), 'AnyOf2': TypeInfo(TypeOf.GenericDef,create:() => AnyOf2()), 'StripeList': TypeInfo(TypeOf.GenericDef,create:() => StripeList()), 'StripeResponseBase': TypeInfo(TypeOf.AbstractClass), 'HttpResponseHeaders': TypeInfo(TypeOf.Class, create:() => HttpResponseHeaders()), 'StripeResponse': TypeInfo(TypeOf.Class, create:() => StripeResponse()), 'IStripeEntity': TypeInfo(TypeOf.Interface), 'IHasId': TypeInfo(TypeOf.Interface), 'IHasObject': TypeInfo(TypeOf.Interface), 'IAnyOf': TypeInfo(TypeOf.Interface), 'BookingLogQueryResponse': TypeInfo(TypeOf.Class, create:() => BookingLogQueryResponse()), 'BookingLogEventTypeResponse': TypeInfo(TypeOf.Class, create:() => BookingLogEventTypeResponse()), 'BookedQuantity': TypeInfo(TypeOf.Class, create:() => BookedQuantity()), 'BookingQueryResponse': TypeInfo(TypeOf.Class, create:() => BookingQueryResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'QueryResponse': TypeInfo(TypeOf.Class, create:() => QueryResponse()), 'BookingQuery': TypeInfo(TypeOf.Class, create:() => BookingQuery()), 'List': TypeInfo(TypeOf.Class, create:() => []), });