import 'package:json_annotation/json_annotation.dart';
import "address.dart";
import "cartInfo.dart";
import "userInfo.dart";
part 'confirmInfo.g.dart';

@JsonSerializable()
class ConfirmInfo {
    ConfirmInfo();

    bool deduction;
    String usableCoupon;
    Address addressInfo;
    num seckill_id;
    num combination_id;
    num bargain_id;
    List<CartInfo> cartInfo;
    Map<String,dynamic> priceGroup;
    String orderKey;
    String offlinePostage;
    UserInfo userInfo;
    String integralRatio;
    num offline_pay_status;
    num store_self_mention;
    
    factory ConfirmInfo.fromJson(Map<String,dynamic> json) => _$ConfirmInfoFromJson(json);
    Map<String, dynamic> toJson() => _$ConfirmInfoToJson(this);
}
