49 lines
1.7 KiB
Dart
49 lines
1.7 KiB
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'pay_controller.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
_PaymentProcessor _$PaymentProcessorFromJson(Map<String, dynamic> json) =>
|
|
_PaymentProcessor(
|
|
name: json['name'] as String,
|
|
description: json['description'] as String,
|
|
image: json['image'] as String,
|
|
accountFieldName: json['accountFieldName'] as String,
|
|
accountFieldLabel: json['accountFieldLabel'] as String,
|
|
label: json['label'] as String,
|
|
authType: json['authType'] as String,
|
|
);
|
|
|
|
Map<String, dynamic> _$PaymentProcessorToJson(_PaymentProcessor instance) =>
|
|
<String, dynamic>{
|
|
'name': instance.name,
|
|
'description': instance.description,
|
|
'image': instance.image,
|
|
'accountFieldName': instance.accountFieldName,
|
|
'accountFieldLabel': instance.accountFieldLabel,
|
|
'label': instance.label,
|
|
'authType': instance.authType,
|
|
};
|
|
|
|
_BillProduct _$BillProductFromJson(Map<String, dynamic> json) => _BillProduct(
|
|
uid: json['uid'] as String,
|
|
name: json['name'] as String,
|
|
description: json['description'] as String,
|
|
displayName: json['displayName'] as String,
|
|
defaultAmount: (json['defaultAmount'] as num).toDouble(),
|
|
requiresAmount: json['requiresAmount'] as bool,
|
|
);
|
|
|
|
Map<String, dynamic> _$BillProductToJson(_BillProduct instance) =>
|
|
<String, dynamic>{
|
|
'uid': instance.uid,
|
|
'name': instance.name,
|
|
'description': instance.description,
|
|
'displayName': instance.displayName,
|
|
'defaultAmount': instance.defaultAmount,
|
|
'requiresAmount': instance.requiresAmount,
|
|
};
|