// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'confirmInfo.dart';

// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************

ConfirmInfo _$ConfirmInfoFromJson(Map<String, dynamic> json) {
  return ConfirmInfo()
    ..deduction = json['deduction'] as bool
    ..usableCoupon = json['usableCoupon'] as String
    ..addressInfo = json['addressInfo'] == null
        ? null
        : Address.fromJson(json['addressInfo'] as Map<String, dynamic>)
    ..seckill_id = json['seckill_id'] as num
    ..combination_id = json['combination_id'] as num
    ..bargain_id = json['bargain_id'] as num
    ..cartInfo = (json['cartInfo'] as List)
        ?.map((e) =>
            e == null ? null : CartInfo.fromJson(e as Map<String, dynamic>))
        ?.toList()
    ..priceGroup = json['priceGroup'] as Map<String, dynamic>
    ..orderKey = json['orderKey'] as String
    ..offlinePostage = json['offlinePostage'] as String
    ..userInfo = json['userInfo'] == null
        ? null
        : UserInfo.fromJson(json['userInfo'] as Map<String, dynamic>)
    ..integralRatio = json['integralRatio'] as String
    ..offline_pay_status = json['offline_pay_status'] as num
    ..store_self_mention = json['store_self_mention'] as num;
}

Map<String, dynamic> _$ConfirmInfoToJson(ConfirmInfo instance) =>
    <String, dynamic>{
      'deduction': instance.deduction,
      'usableCoupon': instance.usableCoupon,
      'addressInfo': instance.addressInfo,
      'seckill_id': instance.seckill_id,
      'combination_id': instance.combination_id,
      'bargain_id': instance.bargain_id,
      'cartInfo': instance.cartInfo,
      'priceGroup': instance.priceGroup,
      'orderKey': instance.orderKey,
      'offlinePostage': instance.offlinePostage,
      'userInfo': instance.userInfo,
      'integralRatio': instance.integralRatio,
      'offline_pay_status': instance.offline_pay_status,
      'store_self_mention': instance.store_self_mention
    };
