// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'mobile_service_redeem_data.dart';

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

MobileServiceRedeemData _$MobileServiceRedeemDataFromJson(
  Map<String, dynamic> json,
) => MobileServiceRedeemData(
  itemId: json['item_ids'] as String?,
  customerBalance:
      json['customer_balance'] == null
          ? null
          : CustomerBalance.fromJson(
            json['customer_balance'] as Map<String, dynamic>,
          ),
);

Map<String, dynamic> _$MobileServiceRedeemDataToJson(
  MobileServiceRedeemData instance,
) => <String, dynamic>{
  'item_ids': instance.itemId,
  'customer_balance': instance.customerBalance,
};

CustomerBalance _$CustomerBalanceFromJson(Map<String, dynamic> json) =>
    CustomerBalance(amountActive: json['amount_active'] as String?);

Map<String, dynamic> _$CustomerBalanceToJson(CustomerBalance instance) =>
    <String, dynamic>{'amount_active': instance.amountActive};
