class WechatPayInfo {
  String _appId; // 应用ID
  String _partnerId; // 商户号
  String _prepayId; // 预支付交易会话ID
  String _package; // 扩展字段
  String _noncestr; // 随机字符串
  String _timestamp; // 时间戳
  String _sign; // 签名
  String? universalLink;

  WechatPayInfo({
    required String appId,
    required String partnerId,
    required String prepayId,
    required String package,
    required String noncestr,
    required String timestamp,
    required String sign,
    this.universalLink,
  })  : _appId = appId,
        _partnerId = partnerId,
        _prepayId = prepayId,
        _package = package,
        _noncestr = noncestr,
        _timestamp = timestamp,
        _sign = sign;

  String get appId => _appId;

  String get partnerId => _partnerId;

  String get prepayId => _prepayId;

  String get package => _package;

  String get noncestr => _noncestr;

  String get timestamp => _timestamp;

  String get sign => _sign;
}
