class PayOrderDetailRespModel {
  int? id;
  String? userFullName;
  String? userMobile;
  String? userEmail;
  String? userID;
  double? amount;
  String? currency;
  int? payFortProjectID;
  int? payFortServiceID;
  String? description;
  bool? isPaid;
  String? language;
  int? serviceAppointmentID;
  int? providerSubscriptionID;

  PayOrderDetailRespModel(
      {this.id,
      this.userFullName,
      this.userMobile,
      this.userEmail,
      this.userID,
      this.amount,
      this.currency,
      this.payFortProjectID,
      this.payFortServiceID,
      this.description,
      this.isPaid,
      this.language,
      this.serviceAppointmentID,
      this.providerSubscriptionID});

  @override
  String toString() {
    return 'PayOrderDetailRespModel{id: $id, userFullName: $userFullName, userMobile: $userMobile, userEmail: $userEmail, userID: $userID, amount: $amount, currency: $currency, payFortProjectID: $payFortProjectID, payFortServiceID: $payFortServiceID, description: $description, isPaid: $isPaid, language: $language, serviceAppointmentID: $serviceAppointmentID, providerSubscriptionID: $providerSubscriptionID}';
  }

  PayOrderDetailRespModel.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    userFullName = json['userFullName'];
    userMobile = json['userMobile'];
    userEmail = json['userEmail'];
    userID = json['userID'];
    amount = json['amount'];
    currency = json['currency'];
    payFortProjectID = json['payFort_ProjectID'];
    payFortServiceID = json['payFort_ServiceID'];
    description = json['description'];
    isPaid = json['isPaid'];
    language = json['language'];
    serviceAppointmentID = json['serviceAppointmentID'];
    providerSubscriptionID = json['providerSubscriptionID'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    data['id'] = id;
    data['userFullName'] = userFullName;
    data['userMobile'] = userMobile;
    data['userEmail'] = userEmail;
    data['userID'] = userID;
    data['amount'] = amount;
    data['currency'] = currency;
    data['payFort_ProjectID'] = payFortProjectID;
    data['payFort_ServiceID'] = payFortServiceID;
    data['description'] = description;
    data['isPaid'] = isPaid;
    data['language'] = language;
    data['serviceAppointmentID'] = serviceAppointmentID;
    data['providerSubscriptionID'] = providerSubscriptionID;
    return data;
  }
}
