factory PurchaseId.fromJson(Map<String, dynamic> json) => PurchaseId( purchaseId: json["purchase_id"], purchaseType: json["purchase_type"], );